문제

I am looking for some IDA pro scripts to extract all the instructions and write them into a assemble file, which can be re-assembly

Could anyone give me some help?

Thanks!

도움이 되었습니까?

해결책

File -> Produce File -> Create ASM File ... Shortcut is ALT-F10

다른 팁

You could also do this via IDApython:

idc.GenerateFile(idc.OFILE_ASM, idc.GetInputFile()+".asm", 0, idc.BADADDR, 0)

This answer was found to a previous question found here. This answer also shows how to generate instruction when IDA only recognizes it as a binary file. This will help immensely at efficiently removing the gibberish that IDA produces. It utilizes the MakeCode() function. This will be more efficient because it eliminates the need to manually find all the entry points and hit "c" x numbers of times.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top