Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/b34636fa0d224fad7ffc66f088bec41bc2da93083c11354ab84b7f8cf0c167b2.json
T

1 line
17 KiB
JSON

{"nodes": [{"id": "$graphify-root$_led_driver_main_usb_cfg_cpp", "label": "usb_cfg.cpp", "file_type": "code", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_usb_cfg_write_line", "label": "write_line()", "file_type": "code", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L25", "_callable": true}, {"id": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "label": "handle_api()", "file_type": "code", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L32", "_callable": true}, {"id": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "label": "handle_line()", "file_type": "code", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L69", "_callable": true}, {"id": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "label": "usb_cfg_task()", "file_type": "code", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L86", "_callable": true}, {"id": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "label": "usb_cfg_start()", "file_type": "code", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L120", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/usb_cfg.cpp"}], "edges": [{"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "cstdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "cstring", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "cjson", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "cJSON.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "usb_serial_jtag", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "driver/usb_serial_jtag.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "usb_serial_jtag_vfs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "driver/usb_serial_jtag_vfs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "esp_system", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_system.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "semphr", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "freertos/semphr.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_usb_cfg_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L16", "weight": 1.0, "target_file": "$graphify-root$/led-driver/main/usb_cfg.h"}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_web_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L17", "weight": 1.0, "target_file": "$graphify-root$/led-driver/main/web.h"}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_usb_cfg_write_line", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L25", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L69", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L86", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_cpp", "target": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L120", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L120", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "target": "$graphify-root$_led_driver_main_usb_cfg_write_line", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L63", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "target": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L76", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "target": "$graphify-root$_led_driver_main_usb_cfg_write_line", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "target": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L105", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_write_line", "callee": "strlen", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L27", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_write_line", "callee": "usb_serial_jtag_write_bytes", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L28", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_write_line", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L28", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "web_api_call", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L34", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_Parse", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L36", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_GetObjectItem", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L37", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_Parse", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L38", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_CreateObject", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L40", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_AddNumberToObject", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L41", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_AddStringToObject", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L42", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_IsNumber", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L44", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_AddNumberToObject", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L45", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_PrintUnformatted", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L47", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_Delete", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L48", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_Delete", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L49", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "strlen", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L53", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "malloc", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L56", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "memcpy", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L59", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "memcpy", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L60", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "free", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L64", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_api", "callee": "cJSON_free", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L66", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "strlen", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L71", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "strncmp", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L75", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "strcmp", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L77", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "usb_serial_jtag_wait_tx_done", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L79", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L79", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "vTaskDelay", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L80", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L80", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_handle_line", "callee": "esp_restart", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L81", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "callee": "malloc", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L88", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "callee": "malloc", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L89", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L91", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "callee": "vTaskDelete", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L92", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_task", "callee": "usb_serial_jtag_read_bytes", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L99", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "USB_SERIAL_JTAG_DRIVER_CONFIG_DEFAULT", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L122", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "usb_serial_jtag_driver_install", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L125", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L127", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "esp_err_to_name", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L127", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "usb_serial_jtag_vfs_use_driver", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L131", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "xTaskCreate", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L132", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_usb_cfg_usb_cfg_start", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "led-driver/main/usb_cfg.cpp", "source_location": "L135", "receiver": null, "lang": "cpp"}], "_cached_target_files": ["$graphify-root$/led-driver/main/usb_cfg.h", "$graphify-root$/led-driver/main/web.h"]}