Browsing the archives for the objdump tag.

Graphical objdump ?

Uncategorized

Hi Lazyweb. I’m curious if a tool exists already to do something I have in mind..

Take an example of objdump -x on a file..

0 .note.gnu.build-id 00000024 0000000000000000 0000000000000000 00000040 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .text 0002a374 0000000000000000 0000000000000000 00000064 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
2 .exit.text 000000cb 0000000000000000 0000000000000000 000416b8 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
3 .init.text 00000e35 0000000000000000 0000000000000000 00041ad0 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
4 .ref.text 000000b9 0000000000000000 0000000000000000 00044828 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
5 .rodata 00001bc2 0000000000000000 0000000000000000 000449f0 2**4
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
6 .rodata.str1.1 00001e97 0000000000000000 0000000000000000 00048688 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 __bug_table 00000270 0000000000000000 0000000000000000 0004a51f 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
8 .smp_locks 00000a90 0000000000000000 0000000000000000 0004ac70 2**3
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA

I’m curious what strings are in that .rodata.str1.1 section vs the .rodata section. I’d really like a gtk UI that allows me to click that entry, and have it expand to show me what’s in there. The app could be extra smart and have knowledge about what to do for specific sections, (like passing .text to objdump -d). For sections it doesn’t grok, it could just print a hexdump.

Anything like this already exist?

4 Comments


  • huaglahglah huaglahglah