1

I have edited .so file in IDA. I don't know how to save it. Any idea for saving them?

2

Go to File and select Script file and choose a .idc name for your file, which makes the changes permanent.

Then when you will run the .idc file, you will notice that bytes have been written to those segments successfully.

After that, IDA will ask for saving the new binary file.

  • Thanks for the quick reply. I can see the script file and script command. I choose script file and its asking me to select run file ! i am stuck with this. Please clear me ! – Sanjith Bravo Dastan Jul 16 '16 at 17:04
1

To apply the changes you made in your .idc database to the original program, use the menu: Edit/Patch Program/Apply Patches to input file.

Warning: If you make several patches, apply them, undo one of the patches, and apply patches again, ida will have lost the information about the "undone" patch and not undo it in the original file. Because of this, you should make a backup of the original file before your first patch, and copy it back before every subsequent patch you make.

Also, i recommend you to check into idapatcher which will make it a bit easier to make and check your patches.

  • Helped me a lot! Vote up! :) – shizhen Oct 31 '18 at 5:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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