Skip to content

Instantly share code, notes, and snippets.

@Tony3-sec
Created July 17, 2018 15:03
Show Gist options
  • Save Tony3-sec/264677a67064f94c3946502ffbbcc6f8 to your computer and use it in GitHub Desktop.
Save Tony3-sec/264677a67064f94c3946502ffbbcc6f8 to your computer and use it in GitHub Desktop.
When running objdump command and got error like this:
'''
$ objdump -D out
objdump: out: File format not recognized
'''
Use -b option with value "binary"
'''
$ objdump -b binary -D out
out: file format binary
objdump: can't disassemble for architecture UNKNOWN!
'''
If you get an error "objdump: can't disassemble for architecture UNKNOWN!" use -m option to specify the architecture
'''
$ objdump -b binary -m i386 -D out
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment