Skip to content

Instantly share code, notes, and snippets.

@sgraham
Created February 25, 2020 04:56
Show Gist options
  • Select an option

  • Save sgraham/96669ae621dd82c0a0cfbbbba1c9b640 to your computer and use it in GitHub Desktop.

Select an option

Save sgraham/96669ae621dd82c0a0cfbbbba1c9b640 to your computer and use it in GitHub Desktop.
There are 36 section headers, starting at offset 0x18917d0:
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .text.boot0 PROGBITS ffffffff80100000 00001000
0000000000000050 0000000000000000 A 0 0 1
[ 2] .text.boot PROGBITS ffffffff80100050 00001050
000000000000016e 0000000000000000 AX 0 0 8
[ 3] .text.bootstrap16 PROGBITS ffffffff80101000 00002000
0000000000000166 0000000000000000 AX 0 0 4096
[ 4] .text PROGBITS ffffffff80101170 00002170
00000000001815a0 0000000000000000 AX 0 0 16
[ 5] .rodata.rodso_ima PROGBITS ffffffff80283000 00184000
0000000000022000 0000000000000000 A 0 0 4096
[ 6] .kcounter.desc PROGBITS ffffffff802a5000 001a6000
0000000000003000 0000000000000000 A 0 0 4096
[ 7] code_patch_table PROGBITS ffffffff802a8000 001a9000
00000000000000f0 0000000000000000 A 0 0 8
[ 8] .note.gnu.build-i NOTE ffffffff802a80f0 001a90f0
0000000000000018 0000000000000000 A 0 0 4
[ 9] .rodata PROGBITS ffffffff802a8110 001a9110
000000000003d638 0000000000000000 AMS 0 0 16
[10] .data.rel.ro PROGBITS ffffffff802e5748 001e6748
00000000000098c8 0000000000000000 WA 0 0 16
[11] .init_array INIT_ARRAY ffffffff802ef010 001f0010
00000000000000f8 0000000000000000 WA 0 0 8
[12] __llvm_profile_he PROGBITS ffffffff802f0000 001f1000
0000000000000000 0000000000000000 WA 0 0 4096
[13] __sancov_guards PROGBITS ffffffff802f0000 001f1000
0000000000000000 0000000000000000 WA 0 0 4
[14] .data PROGBITS ffffffff802f0000 001f1000
0000000000006a60 0000000000000000 WA 0 0 128
[15] .bss NOBITS ffffffff802f7000 001f7a60
00000000000916db 0000000000000000 WA 0 0 4096
[16] .rela.text RELA 0000000000000000 001f7a60
0000000000186f00 0000000000000018 I 33 4 8
[17] .debug_loc PROGBITS 0000000000000000 0037e960
00000000005d1b22 0000000000000000 0 0 1
[18] .debug_abbrev PROGBITS 0000000000000000 00950482
000000000008007f 0000000000000000 0 0 1
[19] .debug_info PROGBITS 0000000000000000 009d0501
000000000099f18a 0000000000000000 0 0 1
[20] .debug_ranges PROGBITS 0000000000000000 0136f68b
00000000000bef90 0000000000000000 0 0 1
[21] .debug_str PROGBITS 0000000000000000 0142e61b
00000000001e99c3 0000000000000001 MS 0 0 1
[22] .comment PROGBITS 0000000000000000 01617fde
00000000000000ff 0000000000000001 MS 0 0 1
[23] .debug_frame PROGBITS 0000000000000000 016180e0
0000000000047e20 0000000000000000 0 0 8
[24] .debug_line PROGBITS 0000000000000000 0165ff00
0000000000176ee5 0000000000000000 0 0 1
[25] .rela.data.rel.ro RELA 0000000000000000 017d6de8
0000000000014670 0000000000000018 I 33 10 8
[26] .rela.data RELA 0000000000000000 017eb458
0000000000000720 0000000000000018 I 33 14 8
[27] .rela.init_array RELA 0000000000000000 017ebb78
00000000000002e8 0000000000000018 I 33 11 8
[28] .debug_aranges PROGBITS 0000000000000000 017ebe60
00000000000002c0 0000000000000000 0 0 1
[29] .rela.rodata RELA 0000000000000000 017ec120
0000000000002778 0000000000000018 I 33 9 8
[30] .relacode_patch_t RELA 0000000000000000 017ee898
00000000000001e0 0000000000000018 I 33 7 8
[31] .rela.text.boot RELA 0000000000000000 017eea78
00000000000002a0 0000000000000018 I 33 2 8
[32] .rela.text.bootst RELA 0000000000000000 017eed18
00000000000000c0 0000000000000018 I 33 3 8
[33] .symtab SYMTAB 0000000000000000 017eedd8
0000000000052c80 0000000000000018 35 14120 8
[34] .shstrtab STRTAB 0000000000000000 01841a58
00000000000001d5 0000000000000000 0 0 1
[35] .strtab STRTAB 0000000000000000 01841c2d
000000000004fb9d 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