5

This is kind of an unorthodox question.

I'm kinda new to using IDA Pro.
Is there a way to edit the assembly code and then have IDA save the result as an executable?
Is there some kind of plugin maybe that does that? because it seems that IDA doesn't want to save as an EXE.
Or do I need to manually edit it in some other way?

shoosh
  • 76,898
  • 55
  • 205
  • 325

2 Answers2

4

Version 6.1+ (maybe 6.2+) of IDA Pro will allow you to apply your patches directly to the input file. Equally, it allows you to revert the changes back.

Elias Bachaalany
  • 1,180
  • 2
  • 13
  • 27
  • 1
    The menu is a bit difficult to find; it's under Edit > Patch Program. That menu is also where you need to save the result. – tomysshadow Sep 18 '16 at 07:58
  • 1
    @tomysshadow Thanks. I was wondering why my patches hadn't been applied to the binary. I had to use `Edit -> Patch Program -> Apply patches to input file...` – byxor Jun 07 '18 at 15:31
0

I've seen somewhere else that you'd have to produce a .diff file from there then open with a text editor and use another program to patch the original file.

Peter O.
  • 32,158
  • 14
  • 82
  • 96
Jardin
  • 1