x86 Disassembler

David Schultz das at FreeBSD.ORG
Tue Aug 12 20:04:12 PDT 2003

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.

More information about the freebsd-questions mailing list