Skip to main content
Commonmark migration
Source Link

currently I am trying to use IDA pro to generate assembly code from PE file and recompile it.

Firstly

###Firstly basicallybasically I know this way:

File -> Produce File -> Create ASM File 

and it seems the asm file it generated cannot be directly recompile.

Second

###Second useuse some IDC or Python script in the IDA to extract useful asm instructions, put them together in order and recompile, this kind of solution can be seen from some academic paper, but non of them have given some detailed instructions about how to do this task...

Could anyone give me some instructions about this issue..? Thank you!

currently I am trying to use IDA pro to generate assembly code from PE file and recompile it.

###Firstly basically I know this way:

File -> Produce File -> Create ASM File 

and it seems the asm file it generated cannot be directly recompile.

###Second use some IDC or Python script in the IDA to extract useful asm instructions, put them together in order and recompile, this kind of solution can be seen from some academic paper, but non of them have given some detailed instructions about how to do this task...

Could anyone give me some instructions about this issue..? Thank you!

currently I am trying to use IDA pro to generate assembly code from PE file and recompile it.

Firstly

basically I know this way:

File -> Produce File -> Create ASM File 

and it seems the asm file it generated cannot be directly recompile.

Second

use some IDC or Python script in the IDA to extract useful asm instructions, put them together in order and recompile, this kind of solution can be seen from some academic paper, but non of them have given some detailed instructions about how to do this task...

Could anyone give me some instructions about this issue..? Thank you!

Tweeted twitter.com/#!/StackReverseEng/status/416113039617056768
Source Link
lllllllllllll
  • 2.5k
  • 2
  • 35
  • 51

Recompile the asm file IDA pro created

currently I am trying to use IDA pro to generate assembly code from PE file and recompile it.

###Firstly basically I know this way:

File -> Produce File -> Create ASM File 

and it seems the asm file it generated cannot be directly recompile.

###Second use some IDC or Python script in the IDA to extract useful asm instructions, put them together in order and recompile, this kind of solution can be seen from some academic paper, but non of them have given some detailed instructions about how to do this task...

Could anyone give me some instructions about this issue..? Thank you!