Skip to content

IDA Patcher is a plugin for Hex-Ray's IDA Pro disassembler designed to enhance IDA's ability to patch binary files and memory.

License

Notifications You must be signed in to change notification settings

HexRabbit/ida-patcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IDA Patcher

A user-friendly binary patch management plugin to replace Hex-Ray's IDA Pro default Patched Bytes view.

Works on IDA Pro 7.4+ (python3), IDA Pro 7.0 (python2)

Feature

  • Import data (Shift-I), the invert of builtin Export data (Shift-E), supported input methods:

    • Hex string
    • Assembly
    • String literal
    • Binary file
  • IDA Patcher: a more informative Patched bytes View

    • Display patch address / function name / size / patch bytes / comments
    • Use comment as a quick note for each patch
  • Patch export / import (mainly depend on symbols)

    • Quite useful while migrating patches between different version of game binary
    • Auto detect patch validity while importing
    • Auto fixup branch target address with correct symbol address (experimental, now only works on aarch64 patch)

Usage

Press Ctrl-Alt-P or navigate to View/Open subviews/IDA Patcher to enjoy.

Import data window can be opened by pressing Shift-I in IDA View/Hex View.

Patch import/export menu is on the right click menu of IDA Patcher View

Install

IDA Patcher depends on Keystone to compile assembly, just follow instructions on their website.

For Windows users, install by Python module for Windows is highly recommanded.

After installed Keystone, simply copy 'idapatcher.py' to IDA's plugins folder, it will be automatically loaded on the next time you start IDA Pro.

If you encountered some bugs, please feel free to file an issue.

Happy patching!

About

IDA Patcher is a plugin for Hex-Ray's IDA Pro disassembler designed to enhance IDA's ability to patch binary files and memory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%