反编译EXE到ASM [英] Decompiling EXE to ASM

查看:564
本文介绍了反编译EXE到ASM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想打一个基本的杀毒软件对我的空闲时间。
基本上我了解了EXE文件(Windows)的基本结构。
我如何提取该文件的ASM code和PE头?

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?

推荐答案

您可以安装 Cygwin的并使用的 objdump的反编译一个exe到ASM。要确保安装了cygwin当您选择的binutils。安装了cygwin之后,您可以运行一个bash shell中的以下内容:

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

这篇关于反编译EXE到ASM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆