obj2asm

Walter Bright newshound1 at digitalmars.com
Mon Mar 8 16:14:22 PST 2010


Trass3r wrote:
>> obj2asm tells the tale. (obj2asm is an incredibly useful tool, I
>> don't know why nobody uses it.)
>> 
> 
> Maybe because it's not free (and not much advertised). obconv also
> supports disassembling various object file formats + conversion
> between them and it's open source:
> http://www.agner.org/optimize/#objconv
> 
> obj2asm might provide something fancy that objconv doesn't but its
> page doesn't show anything that would justify paying 10$.

At first glance, obj2asm will pretty-print the codeview debug info in 
the object file, and will mix source lines with corresponding assembler 
lines.

Obj2asm also comes with a bunch of other utilities, any one of which is 
worth the $15 if you need them:

◦chmod Change/list file attributes
◦coff2omf Convert COFF object and lib files to OMF
◦diff Compare text files
◦diffdir Compare directory trees
◦dump Dump files
◦dumpexe Dump executable files
◦dumpobj Dump object files
◦flpyimg Read/Write floppy disk image
◦grep Search files for strings
◦libunres Scan libraries for unresolved externals
◦makedep Makefile dependency generator
◦obj2asm Object file disassembler
◦patchobj Patch object files
◦smake Advanced make program
◦whereis Search for files

http://www.digitalmars.com/ctg/obj2asm.html


More information about the Digitalmars-d-announce mailing list