What is the right architecture to get objdump to disassemble raw x64 code? You would think -m x86-64
should work from reading the help, but it doesn't. I tried with both the cygwin64 version:
$ objdump --version
GNU objdump (GNU Binutils) 2.23.52.20130604
as well as the version in my Fedora 18 x64 install (2.23.51.0.1-3.fc18 20120806
) but I only get can't use supplied machine x86-64
. Also tried with amd64
and x64
but that didn't work either.
The command is basically objdump -b binary -D -m ??? file