p4-probe identifies the P4 and its C6 over esp-hosted SDIO. c6-ota holds the C6 coprocessor build and the two host updaters (3.1 and the 2.x one that moved the factory C6 firmware to esp-hosted 3.1). Also the pending graphify output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "$graphify-root$_scripts_p4_probe_main_main_c", "label": "main.c", "file_type": "code", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L1"}, {"id": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "label": "print_p4()", "file_type": "code", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "label": "probe_c6()", "file_type": "code", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L30", "_callable": true}, {"id": "$graphify-root$_scripts_p4_probe_main_main_scan", "label": "scan()", "file_type": "code", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L67", "_callable": true}, {"id": "$graphify-root$_scripts_p4_probe_main_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L95", "_callable": true}], "edges": [{"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_chip_info", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_chip_info.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_mac", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_mac.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_event", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_event.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_netif", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_netif.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_wifi", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_wifi.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "nvs_flash", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "nvs_flash.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "esp_hosted", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "esp_hosted.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "$graphify-root$_scripts_p4_probe_main_main_scan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L67", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_c", "target": "$graphify-root$_scripts_p4_probe_main_main_app_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L95", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_app_main", "target": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L105", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_app_main", "target": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L106", "weight": 1.0}, {"source": "$graphify-root$_scripts_p4_probe_main_main_app_main", "target": "$graphify-root$_scripts_p4_probe_main_main_scan", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/p4-probe/main/main.c", "source_location": "L107", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "callee": "esp_chip_info", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L23", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "callee": "esp_read_mac", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L25", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L26", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_print_p4", "callee": "MAC2STR", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L27", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "esp_hosted_connect_to_slave", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L32", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L34", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "snprintf", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L35", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "esp_hosted_get_cp_info", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L41", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "esp_hosted_get_coprocessor_fwversion", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L44", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "esp_hosted_get_coprocessor_app_desc", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L47", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L49", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L54", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L59", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "esp_err_to_name", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L59", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_probe_c6", "callee": "snprintf", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L61", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_netif_create_default_wifi_sta", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L69", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "WIFI_INIT_CONFIG_DEFAULT", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L70", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_ERROR_CHECK", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L71", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_init", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L71", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_ERROR_CHECK", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L72", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_set_mode", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L72", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_ERROR_CHECK", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L73", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_start", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L73", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_get_mac", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L76", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L77", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "MAC2STR", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L77", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_scan_start", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L79", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L80", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_scan_get_ap_num", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L84", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "esp_wifi_scan_get_ap_records", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L87", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L90", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "strlen", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L91", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_scan", "callee": "snprintf", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L92", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "nvs_flash_init", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L97", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "nvs_flash_erase", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L99", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "nvs_flash_init", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L100", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "ESP_ERROR_CHECK", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L102", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "esp_netif_init", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L102", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "ESP_ERROR_CHECK", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L103", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "esp_event_loop_create_default", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L103", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L110", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "vTaskDelay", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L111", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_p4_probe_main_main_app_main", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "scripts/p4-probe/main/main.c", "source_location": "L111", "receiver": null}]} |