write_memory
Modify process memory by writing hex bytes to a target address. Patch code or data during debugging and reverse engineering.
Instructions
Write hex bytes to memory. ⚠ Modifies process state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Contiguous hex string WITHOUT spaces or 0x prefix. Example: '90909090' = 4x NOP. '4831C0' = xor rax,rax. NOTE: Unlike search_pattern which uses spaces between bytes, write_memory expects a solid hex string. | |
| address | Yes | Memory address as hex string. ALWAYS use '0x' prefix. Examples: '0x401000', '0x7FFE0308', '0x00007FF7C0001234'. WARNING: without '0x' prefix, '401000' is treated as decimal 401000, not hex 0x401000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Structured result data (varies by tool) | |
| error | No | ||
| details | No | Detailed text breakdown | |
| success | Yes | ||
| summary | Yes | One-line human-readable result | |
| suggested_next_tools | No | Tools recommended to call next based on this result |