Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created August 30, 2016 22:27
Show Gist options
  • Save lovesegfault/4f9fd55452779d192cf9a1ca94ffdfcb to your computer and use it in GitHub Desktop.
Save lovesegfault/4f9fd55452779d192cf9a1ca94ffdfcb to your computer and use it in GitHub Desktop.
There are 9 section headers, starting at offset 0x2880:
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .text PROGBITS 0000000000100000 00001000
0000000000000437 0000000000000000 AX 0 0 4096
[ 2] .rodata PROGBITS 0000000000101000 00002000
0000000000000022 0000000000000000 A 0 0 4096
[ 3] .eh_frame PROGBITS 0000000000101028 00002028
0000000000000118 0000000000000000 A 0 0 8
[ 4] .bss NOBITS 0000000000102000 00003000
0000000000003060 0000000000000000 WA 0 0 4096
[ 5] .comment PROGBITS 0000000000000000 00002140
0000000000000011 0000000000000001 MS 0 0 1
[ 6] .shstrtab STRTAB 0000000000000000 0000283a
0000000000000041 0000000000000000 0 0 1
[ 7] .symtab SYMTAB 0000000000000000 00002158
0000000000000468 0000000000000018 8 31 8
[ 8] .strtab STRTAB 0000000000000000 000025c0
000000000000027a 0000000000000000 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
l (large), p (processor specific)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment