www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/27/12:03:34

Date: Thu, 27 Feb 1997 18:47:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
cc: djgpp AT delorie DOT com
Subject: Re: nasm disassembler
In-Reply-To: <33155C35.2761@blackmagic.tait.co.nz>
Message-ID: <Pine.SUN.3.91.970227184621.2124F-100000@is>
MIME-Version: 1.0

On Thu, 27 Feb 1997, Bill Currie wrote:

> > I just downloaded nasm, and even though I haven't
> > had a chance to test it out yet, I am fairly impressed.
> > I have a question about the disassembler.  It claims
> > to only be able to disassemble a straight binary file,
> > no COFF, of ELF formats.  How can I translate GCC
> > output (COFF) to simple binary?
> 
> IMO, I think it would be better to modify the disassemble to handle coff
> and elf (I could help you with the coff format, and DJ has (or at least
> had) an exelent coff reference on his web site).

Why reinvent the wheel?  Isn't `objdump' enough for disassembly?
Another possibility is to load the COFF executable (if it's a linked
program, not a single object file) into gdb or RHIDE and use its
`disassemble' command.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019