load_elf
Load an ELF or AXF file to resolve symbol names for debugging. Use variable names to read/write variables and function names to set breakpoints.
Instructions
加载 ELF/AXF 文件用于符号名解析。 加载后可以使用变量名读写变量、使用函数名设置断点。
Keil 生成路径示例: C:/Projects/MyProject/Objects/MyProject.axf CLion/CMake 生成路径示例: C:/Projects/MyProject/cmake-build-debug/MyProject.elf
Args: elf_path: ELF 文件完整路径(.elf 或 .axf)。
Returns: 加载结果,包含符号数量、变量数量、是否包含 DWARF 调试信息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elf_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |