Questions tagged [objdump]

displays information about one or more object files. Questions about the usage of objdump in Ubuntu, should use this tag. Consider also adding debugging.

3 questions
4
votes
0 answers

Installing objdump on Ubuntu that recognizes mach-o binaries?

Anyone know how to install a version binutils on Ubuntu that has an objdump that can recognize a mach-o binary? Currently when I run, objdump -P load binary, I get objdump: /path/to/binary: File format not recognized I've tried installing the…
1
vote
1 answer

get objdump to display full hex of a 64 bit mov instruction

objdump won't show me the hex of a long 64 bit instruction. objdump -d myobj.o here is one of the lines: 3: 48 bb 2f 2f 62 69 6e movabs $0x68732f6e69622f2f,%rbx the instruction hex cuts off after the first 7 bytes of the mov instruction, even…
Harry
  • 13
1
vote
0 answers

Hexdump output certain labels

I want to output only the code in labels after start (start, loop1, and loop2). $ objdump -d quasilog.o 00000000
: 0: b9 64 00 00 00 mov $0x64,%ecx 00000005 : 5: 31 ff xor …
qwr
  • 2,969