pyocd_elf_address_to_symbol
Convert a memory address into a symbol name with offset for debugging function calls and stack traces.
Instructions
Resolve a memory address to its symbol name (function or variable). Essential for interpreting PC, LR, and stack return addresses during debugging. Returns function name + offset (e.g. 'main+0x1A').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "pyocd_elf_address_to_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Memory address to resolve (e.g. from PC, LR, or stack trace) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |