| 1 |
--- !ELF |
| 2 |
FileHeader: |
| 3 |
Class: ELFCLASS64 |
| 4 |
Data: ELFDATA2LSB |
| 5 |
Type: ET_EXEC |
| 6 |
Machine: EM_X86_64 |
| 7 |
Entry: 0x400144 |
| 8 |
ProgramHeaders: |
| 9 |
- Type: PT_LOAD |
| 10 |
Flags: [ PF_X, PF_R ] |
| 11 |
FirstSec: .note.gnu.build-id |
| 12 |
LastSec: .eh_frame |
| 13 |
VAddr: 0x400000 |
| 14 |
Align: 0x200000 |
| 15 |
Offset: 0x0 |
| 16 |
- Type: PT_NOTE |
| 17 |
Flags: [ PF_R ] |
| 18 |
FirstSec: .note.gnu.build-id |
| 19 |
LastSec: .note.gnu.build-id |
| 20 |
VAddr: 0x4000E8 |
| 21 |
Align: 0x4 |
| 22 |
Offset: 0xE8 |
| 23 |
- Type: PT_GNU_STACK |
| 24 |
Flags: [ PF_W, PF_R ] |
| 25 |
Align: 0x10 |
| 26 |
Offset: 0x0 |
| 27 |
Sections: |
| 28 |
- Name: .note.gnu.build-id |
| 29 |
Type: SHT_NOTE |
| 30 |
Flags: [ SHF_ALLOC ] |
| 31 |
Address: 0x4000E8 |
| 32 |
AddressAlign: 0x4 |
| 33 |
Notes: |
| 34 |
- Name: GNU |
| 35 |
Desc: 01DF54A6045E657D3F8FFB9CE111878914F8BD6D |
| 36 |
Type: NT_PRPSINFO |
| 37 |
- Name: .text |
| 38 |
Type: SHT_PROGBITS |
| 39 |
Flags: [ SHF_ALLOC, SHF_EXECINSTR ] |
| 40 |
Address: 0x40010C |
| 41 |
AddressAlign: 0x1 |
| 42 |
Content: 554889E548897DE8C645FF62488B45E8C6002F5DC3554889E54883EC2048897DE8488975E0C645FF66488B55E8488B45E04889D7FFD0C9C3554889E54883EC10C645FF5FBE0C014000BF00000000E8C2FFFFFFC9C3 |
| 43 |
- Name: .eh_frame |
| 44 |
Type: SHT_PROGBITS |
| 45 |
Flags: [ SHF_ALLOC ] |
| 46 |
Address: 0x400168 |
| 47 |
AddressAlign: 0x8 |
| 48 |
Content: 1400000000000000017A5200017810011B0C0708900100001C0000001C00000084FFFFFF1500000000410E108602430D06500C07080000001C0000003C00000079FFFFFF2300000000410E108602430D065E0C07080000001C0000005C0000007CFFFFFF1D00000000410E108602430D06580C0708000000 |
| 49 |
- Name: .comment |
| 50 |
Type: SHT_PROGBITS |
| 51 |
Flags: [ SHF_MERGE, SHF_STRINGS ] |
| 52 |
AddressAlign: 0x1 |
| 53 |
EntSize: 0x1 |
| 54 |
Content: 4743433A20285562756E747520342E382E342D327562756E7475317E31342E30342920342E382E3400 |
| 55 |
- Name: .debug_info |
| 56 |
Type: SHT_PROGBITS |
| 57 |
AddressAlign: 0x1 |
| 58 |
Content: EC00000004000000000008011300000001070000003F0000000C01400000000000550000000000000000000000026261720001010C014000000000001500000000000000019C65000000030E00000001016500000002915804460001036B00000002916F0005086B0000000601065800000007666F6F00010721014000000000002300000000000000019CB8000000030E00000001076500000002915803000000000107C300000002915004460001096B00000002916F0008C30000000965000000000508B80000000A51000000010D44014000000000001D00000000000000019C044600010F6B00000002916F0000 |
| 59 |
- Name: .debug_abbrev |
| 60 |
Type: SHT_PROGBITS |
| 61 |
AddressAlign: 0x1 |
| 62 |
Content: 011101250E130B030E1B0E1101120710170000022E0103083A0B3B0B271911011207401897421901130000030500030E3A0B3B0B49130218000004340003083A0B3B0B491302180000050F000B0B491300000624000B0B3E0B030E0000072E0103083A0B3B0B271911011207401896421901130000081501271901130000090500491300000A2E013F19030E3A0B3B0B2719110112074018964219000000 |
| 63 |
- Name: .debug_line |
| 64 |
Type: SHT_PROGBITS |
| 65 |
AddressAlign: 0x1 |
| 66 |
Content: 3F00000002001D0000000101FB0E0D000101010100000001000001006D61696E2E6300000000000009020C0140000000000013834B7531F34BC931834BE50202000101 |
| 67 |
Symbols: |
| 68 |
- Name: .note.gnu.build-id |
| 69 |
Type: STT_SECTION |
| 70 |
Section: .note.gnu.build-id |
| 71 |
Value: 0x4000E8 |
| 72 |
- Name: .text |
| 73 |
Type: STT_SECTION |
| 74 |
Section: .text |
| 75 |
Value: 0x40010C |
| 76 |
- Name: .eh_frame |
| 77 |
Type: STT_SECTION |
| 78 |
Section: .eh_frame |
| 79 |
Value: 0x400168 |
| 80 |
- Name: .comment |
| 81 |
Type: STT_SECTION |
| 82 |
Section: .comment |
| 83 |
- Name: .debug_aranges |
| 84 |
Type: STT_SECTION |
| 85 |
Section: .debug_aranges |
| 86 |
- Name: .debug_info |
| 87 |
Type: STT_SECTION |
| 88 |
Section: .debug_info |
| 89 |
- Name: .debug_abbrev |
| 90 |
Type: STT_SECTION |
| 91 |
Section: .debug_abbrev |
| 92 |
- Name: .debug_line |
| 93 |
Type: STT_SECTION |
| 94 |
Section: .debug_line |
| 95 |
- Name: .debug_str |
| 96 |
Type: STT_SECTION |
| 97 |
Section: .debug_str |
| 98 |
- Name: main.c |
| 99 |
Type: STT_FILE |
| 100 |
Index: SHN_ABS |
| 101 |
- Name: bar |
| 102 |
Type: STT_FUNC |
| 103 |
Section: .text |
| 104 |
Value: 0x40010C |
| 105 |
Size: 0x15 |
| 106 |
- Name: foo |
| 107 |
Type: STT_FUNC |
| 108 |
Section: .text |
| 109 |
Value: 0x400121 |
| 110 |
Size: 0x23 |
| 111 |
- Type: STT_FILE |
| 112 |
Index: SHN_ABS |
| 113 |
- Name: _start |
| 114 |
Type: STT_FUNC |
| 115 |
Section: .text |
| 116 |
Binding: STB_GLOBAL |
| 117 |
Value: 0x400144 |
| 118 |
Size: 0x1D |
| 119 |
- Name: __bss_start |
| 120 |
Section: .eh_frame |
| 121 |
Binding: STB_GLOBAL |
| 122 |
Value: 0x601000 |
| 123 |
- Name: _edata |
| 124 |
Section: .eh_frame |
| 125 |
Binding: STB_GLOBAL |
| 126 |
Value: 0x601000 |
| 127 |
- Name: _end |
| 128 |
Section: .eh_frame |
| 129 |
Binding: STB_GLOBAL |
| 130 |
Value: 0x601000 |
| 131 |
DWARF: |
| 132 |
debug_str: |
| 133 |
- boomer |
| 134 |
- main.c |
| 135 |
- boom |
| 136 |
- 'GNU C 4.8.4 -mtune=generic -march=x86-64 -g' |
| 137 |
- '/home/labath/test' |
| 138 |
- _start |
| 139 |
- char |
| 140 |
debug_aranges: |
| 141 |
- Length: 0x2C |
| 142 |
Version: 2 |
| 143 |
CuOffset: 0x0 |
| 144 |
AddressSize: 0x8 |
| 145 |
Descriptors: |
| 146 |
- Address: 0x40010C |
| 147 |
Length: 0x55 |
| 148 |
... |