hot_patch_live_memory
Injects atomic memory trampolines into running processes to patch code without modifying disk binaries; optional expected-original-byte checks help prevent unsafe writes.
Instructions
Injects atomic hot-patch memory trampolines into running processes without touching disk binaries.
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": {
"pid": "<pid>",
"memory_address": "<memory_address>",
"patch_bytes_hex": "<patch_bytes_hex>"
},
"name": "hot_patch_live_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID | |
| memory_address | Yes | Hex address to hook | |
| patch_bytes_hex | Yes | Hex bytes payload | |
| expected_original_bytes | No | Optional safety check bytes |