如何查看二进制code编译后C code吗? [英] How can I view the C code after compilation in binary code?
问题描述
编译器是借此code,并将其转换为机器code
The compiler is what takes this code, and translates it into the machine code
我怎么能看到原来的C code二进制code编译后?
How can I see the original C code after compilation in binary code?
推荐答案
您不能取回从编译后的二进制原来的C源$ C $ C - 有在C许多方面产生相同的最终结果所以的是不是唯一来源。
You can't get back the original C source code from the compiled binary - there are many ways in C of producing the same end result so there isn't a unique source.
的过程称为反编译
如果我误解你的问题,你想知道如何查看编译器从C code再生成依赖于特定的编译器汇编,但他们都可以做到这一点。见<一href=\"http://stackoverflow.com/questions/1354899/how-can-i-see-the-assembly-$c$c-that-is-generated-by-a-gcc-any-flavor-compiler\">How我可以看到一个由海湾合作委员会(任何口味)编译器为C / C ++程序产生的汇编code?
If I have misunderstood your question and you want to know how to view the assembler that the compiler generates from your C code then that depends on the particular compiler but they can all do it. See How can I see the assembly code that is generated by a gcc (any flavor) compiler for a C/C++ program?
这篇关于如何查看二进制code编译后C code吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!