A Python Assembler Script Tool for IDA Pro based on "patching".
This lib is based on famous IDA plugin "patching". But "patching" is not exposing api to python script. Some boring patching works should be automatic. So We need a fantastic lib to help us patching in IDA.
"patching" is an eminent plugin. So we can reuse its code to finish this project.
- IDA assembler interface is hard to use when we want to do some automatic patches in python script.
This project version will sync with "patching" version.
- v0.1.2
(patching link)[https://github.com/gaasedelen/patching/releases]
- download the repository
- select the plateform code to your ida script working directory.
- add the idasm_* directory path to your python system path.
- import it.
- Do what you want to do.
import sys
sys.path.append("/the/path/to/idasmxxxx")
import idasm
idasm.patch_address_by_assembly(0xBAAAAAAD, "call 0xdeadbeef")
- Markus Gaasedelen @gaasedelen
- lyciumlee @lyciumlee