676 lines · yaml
1## Test loading an ELF file with DWARF. First we make the ELF file from yaml,2## then we convert the ELF file to GSYM, then we do lookups on the newly3## created GSYM, and finally we dump the entire GSYM.4 5# RUN: yaml2obj %s -o %t6# RUN: llvm-gsymutil --convert %t -o %t.gsym 2>&1 | FileCheck %s --check-prefix=CONVERT7# RUN: llvm-gsymutil --address=0x400391 --address=0x4004cd %t.gsym 2>&1 | FileCheck %s --check-prefix=ADDR8# RUN: printf "0x400391 %/t.gsym\n0x4004cd %/t.gsym" | llvm-gsymutil --addresses-from-stdin 2>&1 | FileCheck %s --check-prefix=ADDRI --dump-input=always9# RUN: llvm-gsymutil --address=0x400391 --address=0x4004cd --verbose %t.gsym 2>&1 | FileCheck %s --check-prefix=ADDRV --dump-input=always10# RUN: llvm-gsymutil --address=0x400391 --address=0x4004cd --verbose %t.gsym 2>&1 | FileCheck %s --check-prefix=ADDRV --dump-input=always11# RUN: llvm-gsymutil %t.gsym 2>&1 | FileCheck %s --check-prefix=DUMP12 13# ADDR: Looking up addresses in "{{.*\.yaml\.tmp\.gsym}}":14# ADDR: 0x0000000000400391: _init15# ADDR: 0x00000000004004cd: main @ /tmp/main.cpp:116 17# ADDRI: 0x0000000000400391: _init18# ADDRI-EMPTY:19# ADDRI: 0x00000000004004cd: main @ /tmp/main.cpp:120# ADDRI-EMPTY:21 22# ADDRV: Looking up addresses in "{{.*\.yaml\.tmp\.gsym}}":23# ADDRV: FunctionInfo for 0x0000000000400391:24# ADDRV: [0x0000000000400390 - 0x0000000000400390) "_init"25# ADDRV: LookupResult for 0x0000000000400391:26# ADDRV: 0x0000000000400391: _init27# ADDRV: FunctionInfo for 0x00000000004004cd:28# ADDRV: [0x00000000004004cd - 0x00000000004004df) "main"29# ADDRV: LineTable:30# ADDRV: 0x00000000004004cd /tmp/main.cpp:131# ADDRV: 0x00000000004004d8 /tmp/main.cpp:232# ADDRV: 0x00000000004004dd /tmp/main.cpp:333# ADDRV: LookupResult for 0x00000000004004cd:34# ADDRV: 0x00000000004004cd: main @ /tmp/main.cpp:135 36# CONVERT: Input file: {{.*\.yaml\.tmp}}37# CONVERT: Output file (x86_64): {{.*\.yaml\.tmp\.gsym}}38# CONVERT: Loaded 1 functions from DWARF.39# CONVERT: Loaded 10 functions from symbol table.40# CONVERT: Pruned 1 functions, ended with 10 total41 42# DUMP: Header:43# DUMP-NEXT: Magic = 0x4753594d44# DUMP-NEXT: Version = 0x000145# DUMP-NEXT: AddrOffSize = 0x0246# DUMP-NEXT: UUIDSize = 0x1447# DUMP-NEXT: BaseAddress = 0x000000000040000048# DUMP-NEXT: NumAddresses = 0x0000000a49# DUMP-NEXT: StrtabOffset = 0x0000008050# DUMP-NEXT: StrtabSize = 0x0000009151# DUMP-NEXT: UUID = 0e62be89cad89206110ed1375b618656f32ac90652 53# DUMP: Address Table:54# DUMP-NEXT: INDEX OFFSET16 (ADDRESS)55# DUMP-NEXT: ====== ===============================56# DUMP-NEXT: [ 0] 0x0390 (0x0000000000400390)57# DUMP-NEXT: [ 1] 0x03e0 (0x00000000004003e0)58# DUMP-NEXT: [ 2] 0x0410 (0x0000000000400410)59# DUMP-NEXT: [ 3] 0x0440 (0x0000000000400440)60# DUMP-NEXT: [ 4] 0x0480 (0x0000000000400480)61# DUMP-NEXT: [ 5] 0x04a0 (0x00000000004004a0)62# DUMP-NEXT: [ 6] 0x04cd (0x00000000004004cd)63# DUMP-NEXT: [ 7] 0x04e0 (0x00000000004004e0)64# DUMP-NEXT: [ 8] 0x0550 (0x0000000000400550)65# DUMP-NEXT: [ 9] 0x0554 (0x0000000000400554)66 67# DUMP: Address Info Offsets:68# DUMP-NEXT: INDEX Offset69# DUMP-NEXT: ====== ==========70# DUMP-NEXT: [ 0] 0x0000011471# DUMP-NEXT: [ 1] 0x0000012472# DUMP-NEXT: [ 2] 0x0000013473# DUMP-NEXT: [ 3] 0x0000014474# DUMP-NEXT: [ 4] 0x0000015475# DUMP-NEXT: [ 5] 0x0000016476# DUMP-NEXT: [ 6] 0x0000017477# DUMP-NEXT: [ 7] 0x0000019478# DUMP-NEXT: [ 8] 0x000001a479# DUMP-NEXT: [ 9] 0x000001b480 81# DUMP: Files:82# DUMP-NEXT: INDEX DIRECTORY BASENAME PATH83# DUMP-NEXT: ====== ========== ========== ==============================84# DUMP-NEXT: [ 0] 0x00000000 0x0000000085# DUMP-NEXT: [ 1] 0x00000006 0x0000000b /tmp/main.cpp86 87# DUMP: String table:88# DUMP-NEXT: 0x00000000: ""89# DUMP-NEXT: 0x00000001: "main"90# DUMP-NEXT: 0x00000006: "/tmp"91# DUMP-NEXT: 0x0000000b: "main.cpp"92# DUMP-NEXT: 0x00000014: "deregister_tm_clones"93# DUMP-NEXT: 0x00000029: "register_tm_clones"94# DUMP-NEXT: 0x0000003c: "__do_global_dtors_aux"95# DUMP-NEXT: 0x00000052: "frame_dummy"96# DUMP-NEXT: 0x0000005e: "__libc_csu_fini"97# DUMP-NEXT: 0x0000006e: "_fini"98# DUMP-NEXT: 0x00000074: "__libc_csu_init"99# DUMP-NEXT: 0x00000084: "_start"100# DUMP-NEXT: 0x0000008b: "_init"101# DUMP: FunctionInfo @ 0x00000114: [0x0000000000400390 - 0x0000000000400390) "_init"102# DUMP: FunctionInfo @ 0x00000124: [0x00000000004003e0 - 0x00000000004003e0) "_start"103# DUMP: FunctionInfo @ 0x00000134: [0x0000000000400410 - 0x0000000000400410) "deregister_tm_clones"104# DUMP: FunctionInfo @ 0x00000144: [0x0000000000400440 - 0x0000000000400440) "register_tm_clones"105# DUMP: FunctionInfo @ 0x00000154: [0x0000000000400480 - 0x0000000000400480) "__do_global_dtors_aux"106# DUMP: FunctionInfo @ 0x00000164: [0x00000000004004a0 - 0x00000000004004a0) "frame_dummy"107# DUMP: FunctionInfo @ 0x00000174: [0x00000000004004cd - 0x00000000004004df) "main"108# DUMP-NEXT: LineTable:109# DUMP-NEXT: 0x00000000004004cd /tmp/main.cpp:1110# DUMP-NEXT: 0x00000000004004d8 /tmp/main.cpp:2111# DUMP-NEXT: 0x00000000004004dd /tmp/main.cpp:3112# DUMP: FunctionInfo @ 0x00000194: [0x00000000004004e0 - 0x0000000000400545) "__libc_csu_init"113# DUMP: FunctionInfo @ 0x000001a4: [0x0000000000400550 - 0x0000000000400552) "__libc_csu_fini"114# DUMP: FunctionInfo @ 0x000001b4: [0x0000000000400554 - 0x000000000040055d) "_fini"115--- !ELF116FileHeader:117 Class: ELFCLASS64118 Data: ELFDATA2LSB119 Type: ET_EXEC120 Machine: EM_X86_64121 Entry: 0x00000000004003E0122Sections:123 - Name: .interp124 Type: SHT_PROGBITS125 Flags: [ SHF_ALLOC ]126 Address: 0x0000000000400238127 AddressAlign: 0x0000000000000001128 Content: 2F6C696236342F6C642D6C696E75782D7838362D36342E736F2E3200129 - Name: .note.ABI-tag130 Type: SHT_NOTE131 Flags: [ SHF_ALLOC ]132 Address: 0x0000000000400254133 AddressAlign: 0x0000000000000004134 Notes:135 - Name: GNU136 Desc: '00000000020000000600000020000000'137 Type: 0x00000001138 - Name: .note.gnu.build-id139 Type: SHT_NOTE140 Flags: [ SHF_ALLOC ]141 Address: 0x0000000000400274142 AddressAlign: 0x0000000000000004143 Notes:144 - Name: GNU145 Desc: 0E62BE89CAD89206110ED1375B618656F32AC906146 Type: 0x00000003147 - Name: .gnu.hash148 Type: SHT_GNU_HASH149 Flags: [ SHF_ALLOC ]150 Address: 0x0000000000400298151 Link: .dynsym152 AddressAlign: 0x0000000000000008153 Header:154 SymNdx: 0x00000001155 Shift2: 0x00000000156 BloomFilter: [ 0x0000000000000000 ]157 HashBuckets: [ 0x00000000 ]158 HashValues: [ ]159 - Name: .gnu.version160 Type: SHT_GNU_versym161 Flags: [ SHF_ALLOC ]162 Address: 0x0000000000400338163 Link: .dynsym164 AddressAlign: 0x0000000000000002165 EntSize: 0x0000000000000002166 Entries: [ 0, 2, 0 ]167 - Name: .gnu.version_r168 Type: SHT_GNU_verneed169 Flags: [ SHF_ALLOC ]170 Address: 0x0000000000400340171 Link: .dynstr172 AddressAlign: 0x0000000000000008173 Info: 0x0000000000000001174 Dependencies:175 - Version: 1176 File: libc.so.6177 Entries:178 - Name: GLIBC_2.2.5179 Hash: 157882997180 Flags: 0181 Other: 2182 - Name: .rela.dyn183 Type: SHT_RELA184 Flags: [ SHF_ALLOC ]185 Address: 0x0000000000400360186 Link: .dynsym187 AddressAlign: 0x0000000000000008188 EntSize: 0x0000000000000018189 Relocations:190 - Offset: 0x0000000000600FF8191 Symbol: __gmon_start__192 Type: R_X86_64_GLOB_DAT193 - Name: .rela.plt194 Type: SHT_RELA195 Flags: [ SHF_ALLOC, SHF_INFO_LINK ]196 Address: 0x0000000000400378197 Link: .dynsym198 AddressAlign: 0x0000000000000008199 EntSize: 0x0000000000000018200 Info: .got.plt201 Relocations:202 - Offset: 0x0000000000601018203 Symbol: __libc_start_main204 Type: R_X86_64_JUMP_SLOT205 - Name: .init206 Type: SHT_PROGBITS207 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]208 Address: 0x0000000000400390209 AddressAlign: 0x0000000000000004210 Content: 4883EC08488B055D0C20004885C07405E82B0000004883C408C3211 - Name: .plt212 Type: SHT_PROGBITS213 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]214 Address: 0x00000000004003B0215 AddressAlign: 0x0000000000000010216 EntSize: 0x0000000000000010217 Content: FF35520C2000FF25540C20000F1F4000FF25520C20006800000000E9E0FFFFFF218 - Name: .plt.got219 Type: SHT_PROGBITS220 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]221 Address: 0x00000000004003D0222 AddressAlign: 0x0000000000000008223 Content: FF25220C20006690224 - Name: .text225 Type: SHT_PROGBITS226 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]227 Address: 0x00000000004003E0228 AddressAlign: 0x0000000000000010229 Content: 31ED4989D15E4889E24883E4F0505449C7C05005400048C7C1E004400048C7C7CD044000E8B7FFFFFFF4660F1F440000B82F10600055482D281060004883F80E4889E577025DC3B8000000004885C074F45DBF28106000FFE00F1F8000000000B82810600055482D2810600048C1F8034889E54889C248C1EA3F4801D048D1F875025DC3BA000000004885D274F45D4889C6BF28106000FFE20F1F8000000000803D9D0B2000007511554889E5E87EFFFFFF5DC6058A0B200001F3C30F1F400048833D7809200000741EB8000000004885C0741455BF200E60004889E5FFD05DE97BFFFFFF0F1F00E973FFFFFF554889E5897DFC488975F0B8000000005DC39041574189FF41564989F641554989D541544C8D251809200055488D2D18092000534C29E531DB48C1FD034883EC08E87DFEFFFF4885ED741E0F1F8400000000004C89EA4C89F64489FF41FF14DC4883C3014839EB75EA4883C4085B5D415C415D415E415FC390662E0F1F840000000000F3C3230 - Name: .fini231 Type: SHT_PROGBITS232 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]233 Address: 0x0000000000400554234 AddressAlign: 0x0000000000000004235 Content: 4883EC084883C408C3236 - Name: .rodata237 Type: SHT_PROGBITS238 Flags: [ SHF_ALLOC ]239 Address: 0x0000000000400560240 AddressAlign: 0x0000000000000008241 Content: '01000200000000000000000000000000'242 - Name: .eh_frame_hdr243 Type: SHT_PROGBITS244 Flags: [ SHF_ALLOC ]245 Address: 0x0000000000400570246 AddressAlign: 0x0000000000000004247 Content: 011B033B340000000500000040FEFFFF8000000070FEFFFF500000005DFFFFFFA800000070FFFFFFC8000000E0FFFFFF10010000248 - Name: .eh_frame249 Type: SHT_PROGBITS250 Flags: [ SHF_ALLOC ]251 Address: 0x00000000004005A8252 AddressAlign: 0x0000000000000008253 Content: 1400000000000000017A5200017810011B0C070890010710140000001C00000018FEFFFF2A00000000000000000000001400000000000000017A5200017810011B0C070890010000240000001C000000B8FDFFFF20000000000E10460E184A0F0B770880003F1A3B2A332422000000001C00000044000000ADFEFFFF1200000000410E108602430D064D0C07080000004400000064000000A0FEFFFF6500000000420E108F02450E188E03450E208D04450E288C05480E308606480E3883074D0E406C0E38410E30410E28420E20420E18420E10420E080014000000AC000000C8FEFFFF02000000000000000000000000000000254 - Name: .init_array255 Type: SHT_INIT_ARRAY256 Flags: [ SHF_WRITE, SHF_ALLOC ]257 Address: 0x0000000000600E10258 AddressAlign: 0x0000000000000008259 EntSize: 0x0000000000000008260 Content: A004400000000000261 - Name: .fini_array262 Type: SHT_FINI_ARRAY263 Flags: [ SHF_WRITE, SHF_ALLOC ]264 Address: 0x0000000000600E18265 AddressAlign: 0x0000000000000008266 EntSize: 0x0000000000000008267 Content: '8004400000000000'268 - Name: .jcr269 Type: SHT_PROGBITS270 Flags: [ SHF_WRITE, SHF_ALLOC ]271 Address: 0x0000000000600E20272 AddressAlign: 0x0000000000000008273 Content: '0000000000000000'274 - Name: .dynamic275 Type: SHT_DYNAMIC276 Flags: [ SHF_WRITE, SHF_ALLOC ]277 Address: 0x0000000000600E28278 Link: .dynstr279 AddressAlign: 0x0000000000000008280 EntSize: 0x0000000000000010281 Entries:282 - Tag: DT_NEEDED283 Value: 0x0000000000000001284 - Tag: DT_INIT285 Value: 0x0000000000400390286 - Tag: DT_FINI287 Value: 0x0000000000400554288 - Tag: DT_INIT_ARRAY289 Value: 0x0000000000600E10290 - Tag: DT_INIT_ARRAYSZ291 Value: 0x0000000000000008292 - Tag: DT_FINI_ARRAY293 Value: 0x0000000000600E18294 - Tag: DT_FINI_ARRAYSZ295 Value: 0x0000000000000008296 - Tag: DT_GNU_HASH297 Value: 0x0000000000400298298 - Tag: DT_STRTAB299 Value: 0x0000000000400300300 - Tag: DT_SYMTAB301 Value: 0x00000000004002B8302 - Tag: DT_STRSZ303 Value: 0x0000000000000038304 - Tag: DT_SYMENT305 Value: 0x0000000000000018306 - Tag: DT_DEBUG307 Value: 0x0000000000000000308 - Tag: DT_PLTGOT309 Value: 0x0000000000601000310 - Tag: DT_PLTRELSZ311 Value: 0x0000000000000018312 - Tag: DT_PLTREL313 Value: 0x0000000000000007314 - Tag: DT_JMPREL315 Value: 0x0000000000400378316 - Tag: DT_RELA317 Value: 0x0000000000400360318 - Tag: DT_RELASZ319 Value: 0x0000000000000018320 - Tag: DT_RELAENT321 Value: 0x0000000000000018322 - Tag: DT_VERNEED323 Value: 0x0000000000400340324 - Tag: DT_VERNEEDNUM325 Value: 0x0000000000000001326 - Tag: DT_VERSYM327 Value: 0x0000000000400338328 - Tag: DT_NULL329 Value: 0x0000000000000000330 - Tag: DT_NULL331 Value: 0x0000000000000000332 - Tag: DT_NULL333 Value: 0x0000000000000000334 - Tag: DT_NULL335 Value: 0x0000000000000000336 - Tag: DT_NULL337 Value: 0x0000000000000000338 - Tag: DT_NULL339 Value: 0x0000000000000000340 - Name: .got341 Type: SHT_PROGBITS342 Flags: [ SHF_WRITE, SHF_ALLOC ]343 Address: 0x0000000000600FF8344 AddressAlign: 0x0000000000000008345 EntSize: 0x0000000000000008346 Content: '0000000000000000'347 - Name: .got.plt348 Type: SHT_PROGBITS349 Flags: [ SHF_WRITE, SHF_ALLOC ]350 Address: 0x0000000000601000351 AddressAlign: 0x0000000000000008352 EntSize: 0x0000000000000008353 Content: 280E60000000000000000000000000000000000000000000C603400000000000354 - Name: .data355 Type: SHT_PROGBITS356 Flags: [ SHF_WRITE, SHF_ALLOC ]357 Address: 0x0000000000601020358 AddressAlign: 0x0000000000000001359 Content: '00000000'360 - Name: .bss361 Type: SHT_NOBITS362 Flags: [ SHF_WRITE, SHF_ALLOC ]363 Address: 0x0000000000601024364 AddressAlign: 0x0000000000000001365 Size: 0x0000000000000004366 - Name: .comment367 Type: SHT_PROGBITS368 Flags: [ SHF_MERGE, SHF_STRINGS ]369 AddressAlign: 0x0000000000000001370 EntSize: 0x0000000000000001371 Content: 4743433A2028474E552920342E382E3520323031353036323320285265642048617420342E382E352D33362900372 - Name: .debug_aranges373 Type: SHT_PROGBITS374 AddressAlign: 0x0000000000000001375 Content: 2C000000020000000000080000000000CD04400000000000120000000000000000000000000000000000000000000000376 - Name: .debug_info377 Type: SHT_PROGBITS378 AddressAlign: 0x0000000000000001379 Content: 8700000004000000000008011D000000040F00000005000000CD04400000000000120000000000000000000000020A00000001016B000000CD044000000000001200000000000000019C6B000000031800000001016B00000002916C030000000001017200000002916000040405696E740005087800000005087E00000006830000000701066B00000000380 - Name: .debug_abbrev381 Type: SHT_PROGBITS382 AddressAlign: 0x0000000000000001383 Content: 011101250E130B030E1B0E1101120710170000022E013F19030E3A0B3B0B491311011207401897421901130000030500030E3A0B3B0B4913021800000424000B0B3E0B03080000050F000B0B49130000062600491300000724000B0B3E0B030E000000384 - Name: .debug_line385 Type: SHT_PROGBITS386 AddressAlign: 0x0000000000000001387 Content: 3800000002001F0000000101FB0E0D000101010100000001000001006D61696E2E6370700000000000000902CD0440000000000001AD590202000101388 - Name: .debug_str389 Type: SHT_PROGBITS390 Flags: [ SHF_MERGE, SHF_STRINGS ]391 AddressAlign: 0x0000000000000001392 EntSize: 0x0000000000000001393 Content: 61726776002F746D70006D61696E006D61696E2E637070006172676300474E5520432B2B20342E382E3520323031353036323320285265642048617420342E382E352D333629202D6D74756E653D67656E65726963202D6D617263683D7838362D3634202D67202D4F30006368617200394ProgramHeaders:395 - Type: PT_LOAD396 Flags: [ PF_X, PF_R ]397 VAddr: 0x0000000000400000398 Align: 1024399 FirstSec: .interp400 LastSec: .dynstr401Symbols:402 - Name: .interp403 Type: STT_SECTION404 Section: .interp405 Value: 0x0000000000400238406 - Name: .note.ABI-tag407 Type: STT_SECTION408 Section: .note.ABI-tag409 Value: 0x0000000000400254410 - Name: .note.gnu.build-id411 Type: STT_SECTION412 Section: .note.gnu.build-id413 Value: 0x0000000000400274414 - Name: .gnu.hash415 Type: STT_SECTION416 Section: .gnu.hash417 Value: 0x0000000000400298418 - Name: .dynsym419 Type: STT_SECTION420 Section: .dynsym421 Value: 0x00000000004002B8422 - Name: .dynstr423 Type: STT_SECTION424 Section: .dynstr425 Value: 0x0000000000400300426 - Name: .gnu.version427 Type: STT_SECTION428 Section: .gnu.version429 Value: 0x0000000000400338430 - Name: .gnu.version_r431 Type: STT_SECTION432 Section: .gnu.version_r433 Value: 0x0000000000400340434 - Name: .rela.dyn435 Type: STT_SECTION436 Section: .rela.dyn437 Value: 0x0000000000400360438 - Name: .rela.plt439 Type: STT_SECTION440 Section: .rela.plt441 Value: 0x0000000000400378442 - Name: .init443 Type: STT_SECTION444 Section: .init445 Value: 0x0000000000400390446 - Name: .plt447 Type: STT_SECTION448 Section: .plt449 Value: 0x00000000004003B0450 - Name: .plt.got451 Type: STT_SECTION452 Section: .plt.got453 Value: 0x00000000004003D0454 - Name: .text455 Type: STT_SECTION456 Section: .text457 Value: 0x00000000004003E0458 - Name: .fini459 Type: STT_SECTION460 Section: .fini461 Value: 0x0000000000400554462 - Name: .rodata463 Type: STT_SECTION464 Section: .rodata465 Value: 0x0000000000400560466 - Name: .eh_frame_hdr467 Type: STT_SECTION468 Section: .eh_frame_hdr469 Value: 0x0000000000400570470 - Name: .eh_frame471 Type: STT_SECTION472 Section: .eh_frame473 Value: 0x00000000004005A8474 - Name: .init_array475 Type: STT_SECTION476 Section: .init_array477 Value: 0x0000000000600E10478 - Name: .fini_array479 Type: STT_SECTION480 Section: .fini_array481 Value: 0x0000000000600E18482 - Name: .jcr483 Type: STT_SECTION484 Section: .jcr485 Value: 0x0000000000600E20486 - Name: .dynamic487 Type: STT_SECTION488 Section: .dynamic489 Value: 0x0000000000600E28490 - Name: .got491 Type: STT_SECTION492 Section: .got493 Value: 0x0000000000600FF8494 - Name: .got.plt495 Type: STT_SECTION496 Section: .got.plt497 Value: 0x0000000000601000498 - Name: .data499 Type: STT_SECTION500 Section: .data501 Value: 0x0000000000601020502 - Name: .bss503 Type: STT_SECTION504 Section: .bss505 Value: 0x0000000000601024506 - Name: .comment507 Type: STT_SECTION508 Section: .comment509 - Name: .debug_aranges510 Type: STT_SECTION511 Section: .debug_aranges512 - Name: .debug_info513 Type: STT_SECTION514 Section: .debug_info515 - Name: .debug_abbrev516 Type: STT_SECTION517 Section: .debug_abbrev518 - Name: .debug_line519 Type: STT_SECTION520 Section: .debug_line521 - Name: .debug_str522 Type: STT_SECTION523 Section: .debug_str524 - Name: crtstuff.c525 Type: STT_FILE526 Index: SHN_ABS527 - Name: __JCR_LIST__528 Type: STT_OBJECT529 Section: .jcr530 Value: 0x0000000000600E20531 - Name: deregister_tm_clones532 Type: STT_FUNC533 Section: .text534 Value: 0x0000000000400410535 - Name: register_tm_clones536 Type: STT_FUNC537 Section: .text538 Value: 0x0000000000400440539 - Name: __do_global_dtors_aux540 Type: STT_FUNC541 Section: .text542 Value: 0x0000000000400480543 - Name: completed.6355544 Type: STT_OBJECT545 Section: .bss546 Value: 0x0000000000601024547 Size: 0x0000000000000001548 - Name: __do_global_dtors_aux_fini_array_entry549 Type: STT_OBJECT550 Section: .fini_array551 Value: 0x0000000000600E18552 - Name: frame_dummy553 Type: STT_FUNC554 Section: .text555 Value: 0x00000000004004A0556 - Name: __frame_dummy_init_array_entry557 Type: STT_OBJECT558 Section: .init_array559 Value: 0x0000000000600E10560 - Name: main.cpp561 Type: STT_FILE562 Index: SHN_ABS563 - Name: 'crtstuff.c (1)'564 Type: STT_FILE565 Index: SHN_ABS566 - Name: __FRAME_END__567 Type: STT_OBJECT568 Section: .eh_frame569 Value: 0x0000000000400698570 - Name: __JCR_END__571 Type: STT_OBJECT572 Section: .jcr573 Value: 0x0000000000600E20574 - Type: STT_FILE575 Index: SHN_ABS576 - Name: __init_array_end577 Section: .init_array578 Value: 0x0000000000600E18579 - Name: _DYNAMIC580 Type: STT_OBJECT581 Section: .dynamic582 Value: 0x0000000000600E28583 - Name: __init_array_start584 Section: .init_array585 Value: 0x0000000000600E10586 - Name: __GNU_EH_FRAME_HDR587 Section: .eh_frame_hdr588 Value: 0x0000000000400570589 - Name: _GLOBAL_OFFSET_TABLE_590 Type: STT_OBJECT591 Section: .got.plt592 Value: 0x0000000000601000593 - Name: __libc_csu_fini594 Type: STT_FUNC595 Section: .text596 Binding: STB_GLOBAL597 Value: 0x0000000000400550598 Size: 0x0000000000000002599 - Name: data_start600 Section: .data601 Binding: STB_WEAK602 Value: 0x0000000000601020603 - Name: _edata604 Section: .data605 Binding: STB_GLOBAL606 Value: 0x0000000000601024607 - Name: _fini608 Type: STT_FUNC609 Section: .fini610 Binding: STB_GLOBAL611 Value: 0x0000000000400554612 - Name: '__libc_start_main@@GLIBC_2.2.5'613 Type: STT_FUNC614 Binding: STB_GLOBAL615 - Name: __data_start616 Section: .data617 Binding: STB_GLOBAL618 Value: 0x0000000000601020619 - Name: __gmon_start__620 Binding: STB_WEAK621 - Name: __dso_handle622 Type: STT_OBJECT623 Section: .rodata624 Binding: STB_GLOBAL625 Value: 0x0000000000400568626 Other: [ STV_HIDDEN ]627 - Name: _IO_stdin_used628 Type: STT_OBJECT629 Section: .rodata630 Binding: STB_GLOBAL631 Value: 0x0000000000400560632 Size: 0x0000000000000004633 - Name: __libc_csu_init634 Type: STT_FUNC635 Section: .text636 Binding: STB_GLOBAL637 Value: 0x00000000004004E0638 Size: 0x0000000000000065639 - Name: _end640 Section: .bss641 Binding: STB_GLOBAL642 Value: 0x0000000000601028643 - Name: _start644 Type: STT_FUNC645 Section: .text646 Binding: STB_GLOBAL647 Value: 0x00000000004003E0648 - Name: __bss_start649 Section: .bss650 Binding: STB_GLOBAL651 Value: 0x0000000000601024652 - Name: main653 Type: STT_FUNC654 Section: .text655 Binding: STB_GLOBAL656 Value: 0x00000000004004CD657 Size: 0x0000000000000012658 - Name: __TMC_END__659 Type: STT_OBJECT660 Section: .data661 Binding: STB_GLOBAL662 Value: 0x0000000000601028663 Other: [ STV_HIDDEN ]664 - Name: _init665 Type: STT_FUNC666 Section: .init667 Binding: STB_GLOBAL668 Value: 0x0000000000400390669DynamicSymbols:670 - Name: __libc_start_main671 Type: STT_FUNC672 Binding: STB_GLOBAL673 - Name: __gmon_start__674 Binding: STB_WEAK675...676