search_instructions_in_file
Search for instructions in a binary file's section by mnemonic or instruction group, with optional architecture auto-detection.
Instructions
Search for instructions matching a pattern in a binary file's section.
Args: file_path: Absolute path to the binary file. section_name: Section name. Default: ".text". arch: CPU architecture. Auto-detected if omitted. mnemonic: Mnemonic to search for (partial match). group: Instruction group to filter: call, jump, ret, interrupt.
Returns: List of matching instructions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| section_name | No | .text | |
| arch | No | ||
| mnemonic | No | ||
| group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |