ELF binary analysis
elf_analyzeParse ELF binaries in pure JavaScript to inspect headers, sections, dependencies, interpreter, and security flags (NX, PIE, RELRO, canary, FORTIFY); detect libc/packer hints without execution.
Instructions
Parse an ELF binary in pure JS: header (class, endianness, OSABI, type, machine, entry), section and program headers with resolved names, the interpreter, DT_NEEDED dependencies, and checksec-style flags (NX, PIE, RELRO, stack canary, FORTIFY, stripped). Detects uClibc/glibc/musl hints and UPX/packer indicators. Read-only; the binary is never executed.
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": {
"filePath": "<filePath>"
},
"name": "elf_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the artifact, relative to the authorized workspace root. | |
| maxStrings | No |