Skip to content

Instantly share code, notes, and snippets.

@awilliams000
Created October 18, 2016 00:29
Show Gist options
  • Save awilliams000/ecad59746e9d847c7223f2f998657ebd to your computer and use it in GitHub Desktop.
Save awilliams000/ecad59746e9d847c7223f2f998657ebd to your computer and use it in GitHub Desktop.
There are 38 section headers, starting at offset 0x219a0:
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .interp PROGBITS 0000000000400238 00000238
000000000000001c 0000000000000000 A 0 0 1
[ 2] .note.ABI-tag NOTE 0000000000400254 00000254
0000000000000020 0000000000000000 A 0 0 4
[ 3] .note.gnu.build-i NOTE 0000000000400274 00000274
0000000000000024 0000000000000000 A 0 0 4
[ 4] .gnu.hash GNU_HASH 0000000000400298 00000298
0000000000000050 0000000000000000 A 5 0 8
[ 5] .dynsym DYNSYM 00000000004002e8 000002e8
0000000000000228 0000000000000018 A 6 1 8
[ 6] .dynstr STRTAB 0000000000400510 00000510
0000000000000142 0000000000000000 A 0 0 1
[ 7] .gnu.version VERSYM 0000000000400652 00000652
000000000000002e 0000000000000002 A 5 0 2
[ 8] .gnu.version_r VERNEED 0000000000400680 00000680
0000000000000020 0000000000000000 A 6 1 8
[ 9] .rela.dyn RELA 00000000004006a0 000006a0
0000000000000018 0000000000000018 A 5 0 8
[10] .rela.plt RELA 00000000004006b8 000006b8
00000000000000c0 0000000000000018 A 5 12 8
[11] .init PROGBITS 0000000000400778 00000778
000000000000001a 0000000000000000 AX 0 0 4
[12] .plt PROGBITS 00000000004007a0 000007a0
0000000000000090 0000000000000010 AX 0 0 16
[13] .text PROGBITS 0000000000400830 00000830
00000000000001b2 0000000000000000 AX 0 0 16
[14] .fini PROGBITS 00000000004009e4 000009e4
0000000000000009 0000000000000000 AX 0 0 4
[15] .rodata PROGBITS 00000000004009f0 000009f0
0000000000000005 0000000000000000 A 0 0 4
[16] .eh_frame_hdr PROGBITS 00000000004009f8 000009f8
0000000000000034 0000000000000000 A 0 0 4
[17] .eh_frame PROGBITS 0000000000400a30 00000a30
00000000000000ec 0000000000000000 A 0 0 8
[18] .init_array INIT_ARRAY 0000000000600df0 00000df0
0000000000000008 0000000000000000 WA 0 0 8
[19] .fini_array FINI_ARRAY 0000000000600df8 00000df8
0000000000000008 0000000000000000 WA 0 0 8
[20] .jcr PROGBITS 0000000000600e00 00000e00
0000000000000008 0000000000000000 WA 0 0 8
[21] .dynamic DYNAMIC 0000000000600e08 00000e08
00000000000001f0 0000000000000010 WA 6 0 8
[22] .got PROGBITS 0000000000600ff8 00000ff8
0000000000000008 0000000000000008 WA 0 0 8
[23] .got.plt PROGBITS 0000000000601000 00001000
0000000000000058 0000000000000008 WA 0 0 8
[24] .data PROGBITS 0000000000601058 00001058
0000000000000010 0000000000000000 WA 0 0 8
[25] .bss NOBITS 0000000000601068 00001068
0000000000000008 0000000000000000 WA 0 0 1
[26] .comment PROGBITS 0000000000000000 00001068
000000000000004d 0000000000000001 MS 0 0 1
[27] .debug_aranges PROGBITS 0000000000000000 000010b5
0000000000000030 0000000000000000 0 0 1
[28] .debug_info PROGBITS 0000000000000000 000010e5
0000000000000491 0000000000000000 0 0 1
[29] .debug_abbrev PROGBITS 0000000000000000 00001576
000000000000018d 0000000000000000 0 0 1
[30] .debug_line PROGBITS 0000000000000000 00001703
00000000000005aa 0000000000000000 0 0 1
[31] .debug_str PROGBITS 0000000000000000 00001cad
000000000001a154 0000000000000001 MS 0 0 1
[32] .debug_loc PROGBITS 0000000000000000 0001be01
00000000000000aa 0000000000000000 0 0 1
[33] .debug_ranges PROGBITS 0000000000000000 0001beab
0000000000000020 0000000000000000 0 0 1
[34] .debug_macro PROGBITS 0000000000000000 0001becb
0000000000005964 0000000000000000 0 0 1
[35] .shstrtab STRTAB 0000000000000000 0002182f
000000000000016e 0000000000000000 0 0 1
[36] .symtab SYMTAB 0000000000000000 00022320
0000000000000750 0000000000000018 37 56 8
[37] .strtab STRTAB 0000000000000000 00022a70
000000000000027d 0000000000000000 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), l (large)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment