frida_memory_patch_code
Patch executable code at a specific address with hex bytes, using Memory.patchCode for safe code modification. Handles ARM instruction cache flushing.
Instructions
Patch executable code at an address using Memory.patchCode.
Handles instruction cache flushing (ARM). Safer than raw write_memory for code regions.
target: process name or pid (string).
address: hex address to patch (e.g. '0x100004000').
hex_bytes: hex-encoded bytes (e.g. 'c3', '90909090').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| address | Yes | ||
| hex_bytes | Yes |