2

Anybody know, how via IDC scripts applying patching for input file (i mean context menu: "Edit - Patch program - Apply patches to input file"). I viewed entire idc.idc and didn't see desired function

1 Answer 1

1

Look at patch_bytes() and put_bytes() in bytes.hpp, they should do what you need.

You can also look at this python script on GitHub that produces a patched file from the patched bytes in the db.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.