Decompiling EXE to ASM

泪湿孤枕 提交于 2019-11-30 05:44:50

问题


I want to make a basic antivirus for my free time. Basically I learned about the basic structure of the EXE(windows) file. How do I extract the ASM code from the file and the PE header?


回答1:


You can install Cygwin and use objdump to decompile an exe into asm. Be sure you select the binutils when installing cygwin. After installing cygwin, you can run the following from a bash shell:

objdump -Slx yourpgm.exe



回答2:


You can use some free distrubuted disassembler.for example: ollydbg diassembler.

note: there is only some MS-DOS stub executeable code in the PE header.



来源:https://stackoverflow.com/questions/1606202/decompiling-exe-to-asm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!