Related articles |
---|
Looking for disassembler, decompiler, discompiler or whatever. zuyihe@163.net (2001-09-03) |
Re: Looking for disassembler, decompiler, discompiler or whatever. challa@acc.am.ericsson.se (Madhusudan Challa) (2001-09-05) |
Re: Looking for disassembler, decompiler, discompiler or whatever. andyjnsn@ma.ultranet.com (2001-09-05) |
Re: Looking for disassembler, decompiler, discompiler or whatever. vbdis@aol.com (2001-09-05) |
Re: Looking for disassembler, decompiler, discompiler or whatever. zuyihe@163.net (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. mpointie@eden-studios.fr (Mickaƫl Pointier) (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. Xavier.Leroy@inria.fr (2001-09-11) |
[7 later articles] |
From: | zuyihe@163.net (zyy) |
Newsgroups: | comp.compilers |
Date: | 3 Sep 2001 23:05:37 -0400 |
Organization: | http://groups.google.com/ |
Keywords: | disassemble, question |
Posted-Date: | 03 Sep 2001 23:05:37 EDT |
Platform: Linux/PowerPC
Problem: Suppose you run the following sequences.
1. > gcc -S hello.c -o hello0.s
2. > gcc hello.c
> objdump --disassemble-all a.out > hello1.s
hello0.s and hello1.s, though present the same program (hello.c),
look quite different. For example, the most significant part is
variable names in hello0.s are replaced by addresses in hello1.s.
My question is: is there any tool that, given exe, will give an
assembly which looks like the one generated by "gcc -S *.c"? Or, in
the example, given a.out, will generate hello0.s?
Return to the
comp.compilers page.
Search the
comp.compilers archives again.