disassemble_entrypoint
Disassemble code at a binary's entrypoint automatically. Locates the entrypoint address and produces disassembly with configurable byte size and instruction count.
Instructions
Disassemble code at the binary file's entrypoint.
Automatically locates the entrypoint address and disassembles from there.
Args: file_path: Absolute path to the binary file. size: Number of bytes to read from the entrypoint. Default: 512. arch: CPU architecture. Auto-detected if omitted. max_instructions: Maximum instructions to disassemble. Default: 100.
Returns: Disassembly output at the entrypoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| size | No | ||
| arch | No | ||
| max_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |