BBS水木清华站∶精华区

 
          objdump... 这支程式躺在你电脑里好久了.... 
 
 
 -------------------------------------------------------------------------- < 
 
 
Subject: 
           Re: GCC Decompiler? 
       Date: 
           Wed, 20 Nov 1996 21:05:35 -0800 
      From: 
           Gianni Mariani <gianni@engr.sgi.com> 
Organization: 
           Silicon Graphics, Inc. 
 Newsgroups: 
           comp.os.linux.development.apps 
  References: 
           1 
 
 
Mark Adams wrote: 
 
 Is there anything that runs on Linux that will decompile GCC code? 
 I did some web searches but found nothing specific... 
 
 madams@fgi.net 
 
It's in the binutils package - check out "objdump" 
 
an:~> objdump --disassemble xx 
 
xx:     file format a.out-i386-linux 
 
Disassembly of section .text: 
00001020 <___crt_dummy__> call   00001298 <___load_shared_libraries> 
00001025 <___crt_dummy__+5> movl   $0x2d,%eax 
0000102a <___crt_dummy__+a> movl   $0x0,%ebx 
0000102f <___crt_dummy__+f> int    $0x80 
00001031 <___crt_dummy__+11> movl   %eax,0x60090b5c 
00001036 <___crt_dummy__+16> movl   0x8(%esp,1),%eax 
0000103a <___crt_dummy__+1a> movl   %eax,0x60090b34 
.... 

BBS水木清华站∶精华区