Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 20:04:05 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Ryan Sommers <ryans@gamersimpact.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: x86 Disassembler
Message-ID:  <20030813030405.GB57582@HAL9000.homeunix.com>
In-Reply-To: <20030812211812.29690.qmail@neuroflux.com>
References:  <20030812211812.29690.qmail@neuroflux.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 12, 2003, Ryan Sommers wrote:
> Are there any tools to disassemble an x86 binary file? objdump does a nice 
> job on most files. However, I'm messing with some machine-code binary files 
> that don't have ELF headers or anything other then the machine-code (ie 
> MBR's). I'd like to disassemble them on FreeBSD, possibly to a format that 
> G(as) could reassemble. Then I don't have to use something like debug.exe. 

One kludge that may work is to use objcopy --add-section to insert
the machine code into an ELF file.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030813030405.GB57582>