ida_patch_bytes
Patch bytes in IDA Pro's database at a specified address to NOP out checks or alter disassembly. Writes only to the database, preserving the original file.
Instructions
Write bytes to the IDA database at an address using idc.patch_byte(). Does NOT modify the original file — only the IDA database. Useful for NOP-ing bossix checks found by ida_scan_bossix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to patch | |
| hex_bytes | Yes | Bytes to write: space-separated '90 90 90' or solid '909090' |