
Hi Everyone,
I want to use IDA Pro change the binary code. I add a new segment by IDA Pro. I know this new segment only exists in the IDA Pro Database. But I hope this new segment can be added into the original binary code, and finally change the binary code. So I use the ProduceDiff and patch function. In the IDA menu, File-->Produce file--> Create Diff file, but the result ProduceDiff failed, which means the diff file doesn't show that I have added a new segment. I also use the patch function. Edit-->Patch program--> Apply patches to input file. This operation is also fail. The result shows "address: has no file mapping (original: 50 patched:8B) ...skipping...".
For IDA Pro, whether we can only change the original segment and make these changes into the binary code not only IDA Pro Database? But when we add a new segment, this new segment cannot be written into binary code and it only exists in the IDA pro Database? Hope I can get some tips from everyone.
Thank you very much!
Best Regards,
Sun