patch_binary_executable
Modify executable bytes on disk using RVA-to-raw conversion and PE/ELF section mapping, with automatic backups and PE checksum recalculation for reverse-engineering patches.
Instructions
Active reverse engineering intervention. Surgical disk binary patcher with RVA-to-Raw conversion, PE/ELF section mapping, arbitrary hex byte modification, automatic backup creation, and PE checksum recalculation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patches | Yes | List of byte patches | |
| binary_path | Yes | Absolute path to target binary (PE, ELF, RAW) | |
| output_path | No | Optional destination output path | |
| create_backup | No | Create .bak backup when modifying in-place | |
| recalculate_pe_checksum | No | Recalculate PE optional header checksum |