How to decompile an exe or a dll to assembly

后端 未结 4 1898

I am really interested in assembly language and I want to learn about how exe files work how dlls run etc... and I have an idea of writing an application to decompile an exe

相关标签:
4条回答
  • 2020-12-30 07:55

    If you're interested in what a compiled program looks like at the a assembler level a much more meaningful approach would be compile and look at the generated assembly. For example with gcc/g++ this just requires gcc -c -S filename.c and will leave a clear text assembly file to look at.

    0 讨论(0)
  • 2020-12-30 07:56

    There are a lot of dissemblers already written for you (see above), but I don't think reading disassembled code is going to help you become a better assembly writer. The main reason for this is that compilers do A LOT of optimization before they generate assemblies. Often this makes for very tricky code to read but highly efficient code to analyze.

    0 讨论(0)
  • 2020-12-30 08:11

    Take a look at this Decompilation Wiki, I suspect it will answer most of your questions.

    0 讨论(0)
  • 2020-12-30 08:18

    I think you're looking for a disassembler not a decompiler. IDA pro seems to be popular and you can download an older version for free at http://www.hex-rays.com/idapro/idadownfreeware.htm

    0 讨论(0)
提交回复
热议问题