disassemble_hex
Disassemble hex-encoded byte strings into assembly instructions with address, bytes, mnemonic, and operands. Supports multiple CPU architectures.
Instructions
Disassemble a hex-encoded byte string into assembly code.
Args: hex_code: Hex-encoded machine code bytes, e.g. "554889e5" or "55 48 89 e5" (spaces are auto-stripped). arch: CPU architecture. Use list_supported_architectures to see available values. Default: x86_64. base_address: Base address as a hex string (e.g. "0x401000"). Default: "0". max_instructions: Maximum number of instructions to disassemble. 0 means unlimited.
Returns: Formatted disassembly output with address, bytes, mnemonic and operands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_code | Yes | ||
| arch | No | x86_64 | |
| base_address | No | 0 | |
| max_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |