write_memory
Write raw bytes, specified as a hex string, to a target process's memory at a given address, enabling direct memory patching during debugging for security research and exploit development.
Instructions
Write raw bytes (given as a hex string, e.g. '9090c3' or '90 90 c3') to the inferior's memory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"hex": "<hex>"
},
"name": "write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | ||
| address | Yes | ||
| session_id | No |