examine
Examine memory contents at any address using hex, decimal, ASCII, or disassembly format, with adjustable unit size.
Instructions
Examine memory at an address (GDB 'x').
address: GDB expression for the target address: "&var", "0x601020", "$rsp" count: number of units to display fmt: x=hex, d=decimal, i=instruction, s=string, c=char, o=octal, t=binary unit: b=byte(1B), h=halfword(2B), w=word(4B), g=giant(8B)
Example: examine("$rsp", count=8, fmt="x", unit="g") → x/8xg $rsp (8 giant-word hex dump of the stack)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | x | |
| unit | No | w | |
| count | No | ||
| address | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |