readelf
Display detailed information about ELF binary files, including headers, sections, symbols, and dynamic linking, to analyze executable and linkable format structures.
Instructions
Run readelf to display ELF binary information.
The readelf utility displays information about ELF (Executable and Linkable Format) files, including headers, sections, symbols, dynamic linking information, and more. Specific to Linux/Unix ELF binaries.
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": {
"args": "<args>"
},
"name": "readelf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Additional arguments to pass to readelf. Common options include: - -h: Display ELF file header - -S: Display section headers - -s: Display symbol table - -d: Display dynamic section - -l: Display program headers - -r: Display relocations | |
| file | No | Optional path to the ELF file to analyze. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |