keypatch icon indicating copy to clipboard operation
keypatch copied to clipboard

What's the proper way to export the patched idb by keypatch into a binary?

Open hotwinter opened this issue 6 years ago • 0 comments

The situation I'm running into is follows:

  1. I patch an instruction with keypatch, using IDA's Edit->Patch Program->Apply Patches to Input File
  2. I undo that patch

In this case if I go to Apply Patches to Input File again, IDA would think there's no bytes to be patched (because the database is the same as the initial database) as it shows Applied 0/0 patch(es), but in the real world, the binary has already been patched since step 1, and this is not undone. Thus I'm curious what's the correct way to export the patched idb with undos from keypatch?

hotwinter avatar Dec 03 '19 02:12 hotwinter