$ objdump -sd one one: file format elf64-x86-64 Contents of section .interp: 0318 2f6c6962 36342f6c 642d6c69 6e75782d /lib64/ld-linux- 0328 7838362d 36342e73 6f2e3200 x86-64.so.2. Contents of section .note.gnu.property: 0338 04000000 20000000 05000000 474e5500 .... .......GNU. 0348 020000c0 04000000 03000000 00000000 ................ 0358 028000c0 04000000 01000000 00000000 ................ Contents of section .note.gnu.build-id: 0368 04000000 14000000 03000000 474e5500 ............GNU. 0378 3c5c3fb3 303e6a7f 9df0ad28 714bf907 <\?.0>j....(qK.. 0388 11b891f0 .... Contents of section .note.ABI-tag: 038c 04000000 10000000 01000000 474e5500 ............GNU. 039c 00000000 03000000 02000000 00000000 ................ Contents of section .gnu.hash: 03b0 02000000 06000000 01000000 06000000 ................ 03c0 00008100 00000000 06000000 00000000 ................ 03d0 d165ce6d .e.m Contents of section .dynsym: 03d8 00000000 00000000 00000000 00000000 ................ 03e8 00000000 00000000 10000000 12000000 ................ 03f8 00000000 00000000 00000000 00000000 ................ 0408 4a000000 20000000 00000000 00000000 J... ........... 0418 00000000 00000000 22000000 12000000 ........"....... 0428 00000000 00000000 00000000 00000000 ................ 0438 66000000 20000000 00000000 00000000 f... ........... 0448 00000000 00000000 75000000 20000000 ........u... ... 0458 00000000 00000000 00000000 00000000 ................ 0468 01000000 22000000 00000000 00000000 ...."........... 0478 00000000 00000000 ........ Contents of section .dynstr: 0480 005f5f63 78615f66 696e616c 697a6500 .__cxa_finalize. 0490 5f5f6c69 62635f73 74617274 5f6d6169 __libc_start_mai 04a0 6e007072 696e7466 006c6962 632e736f n.printf.libc.so 04b0 2e360047 4c494243 5f322e32 2e350047 .6.GLIBC_2.2.5.G 04c0 4c494243 5f322e33 34005f49 544d5f64 LIBC_2.34._ITM_d 04d0 65726567 69737465 72544d43 6c6f6e65 eregisterTMClone 04e0 5461626c 65005f5f 676d6f6e 5f737461 Table.__gmon_sta 04f0 72745f5f 005f4954 4d5f7265 67697374 rt__._ITM_regist 0500 6572544d 436c6f6e 65546162 6c6500 erTMCloneTable. Contents of section .gnu.version: 0510 00000200 01000300 01000100 0300 .............. Contents of section .gnu.version_r: 0520 01000200 29000000 10000000 00000000 ....)........... 0530 751a6909 00000300 33000000 10000000 u.i.....3....... 0540 b4919606 00000200 3f000000 00000000 ........?....... Contents of section .rela.dyn: 0550 b83d0000 00000000 08000000 00000000 .=.............. 0560 40110000 00000000 c03d0000 00000000 @........=...... 0570 08000000 00000000 00110000 00000000 ................ 0580 08400000 00000000 08000000 00000000 .@.............. 0590 08400000 00000000 d83f0000 00000000 .@.......?...... 05a0 06000000 01000000 00000000 00000000 ................ 05b0 e03f0000 00000000 06000000 02000000 .?.............. 05c0 00000000 00000000 e83f0000 00000000 .........?...... 05d0 06000000 04000000 00000000 00000000 ................ 05e0 f03f0000 00000000 06000000 05000000 .?.............. 05f0 00000000 00000000 f83f0000 00000000 .........?...... 0600 06000000 06000000 00000000 00000000 ................ Contents of section .rela.plt: 0610 d03f0000 00000000 07000000 03000000 .?.............. 0620 00000000 00000000 ........ Contents of section .init: 1000 f30f1efa 4883ec08 488b05d9 2f000048 ....H...H.../..H 1010 85c07402 ffd04883 c408c3 ..t...H.... Contents of section .plt: 1020 ff359a2f 0000f2ff 259b2f00 000f1f00 .5./....%./..... 1030 f30f1efa 68000000 00f2e9e1 ffffff90 ....h........... Contents of section .plt.got: 1040 f30f1efa f2ff25ad 2f00000f 1f440000 ......%./....D.. Contents of section .plt.sec: 1050 f30f1efa f2ff2575 2f00000f 1f440000 ......%u/....D.. Contents of section .text: 1060 f30f1efa 31ed4989 d15e4889 e24883e4 ....1.I..^H..H.. 1070 f0505445 31c031c9 488d3dca 000000ff .PTE1.1.H.=..... 1080 15532f00 00f4662e 0f1f8400 00000000 .S/...f......... 1090 488d3d79 2f000048 8d05722f 00004839 H.=y/..H..r/..H9 10a0 f8741548 8b05362f 00004885 c07409ff .t.H..6/..H..t.. 10b0 e00f1f80 00000000 c30f1f80 00000000 ................ 10c0 488d3d49 2f000048 8d35422f 00004829 H.=I/..H.5B/..H) 10d0 fe4889f0 48c1ee3f 48c1f803 4801c648 .H..H..?H...H..H 10e0 d1fe7414 488b0505 2f000048 85c07408 ..t.H.../..H..t. 10f0 ffe0660f 1f440000 c30f1f80 00000000 ..f..D.......... 1100 f30f1efa 803d052f 00000075 2b554883 .....=./...u+UH. 1110 3de22e00 00004889 e5740c48 8b3de62e =.....H..t.H.=.. 1120 0000e819 ffffffe8 64ffffff c605dd2e ........d....... 1130 0000015d c30f1f00 c30f1f80 00000000 ...]............ 1140 f30f1efa e977ffff fff30f1e fa554889 .....w.......UH. 1150 e5488d05 ac0e0000 4889c7b8 00000000 .H......H....... 1160 e8ebfeff ffb80000 00005dc3 ..........]. Contents of section .fini: 116c f30f1efa 4883ec08 4883c408 c3 ....H...H.... Contents of section .rodata: 2000 01000200 48656c6c 6f2c2077 6f726c64 ....Hello, world 2010 2e00 .. Contents of section .eh_frame_hdr: 2014 011b033b 30000000 05000000 0cf0ffff ...;0........... 2024 64000000 2cf0ffff 8c000000 3cf0ffff d...,.......<... 2034 a4000000 4cf0ffff 4c000000 35f1ffff ....L...L...5... 2044 bc000000 .... Contents of section .eh_frame: 2048 14000000 00000000 017a5200 01781001 .........zR..x.. 2058 1b0c0708 90010000 14000000 1c000000 ................ 2068 f8efffff 26000000 00440710 00000000 ....&....D...... 2078 24000000 34000000 a0efffff 20000000 $...4....... ... 2088 000e1046 0e184a0f 0b770880 003f1a3a ...F..J..w...?.: 2098 2a332422 00000000 14000000 5c000000 *3$"........\... 20a8 98efffff 10000000 00000000 00000000 ................ 20b8 14000000 74000000 90efffff 10000000 ....t........... 20c8 00000000 00000000 1c000000 8c000000 ................ 20d8 71f0ffff 23000000 00450e10 8602430d q...#....E....C. 20e8 065a0c07 08000000 00000000 .Z.......... Contents of section .init_array: 3db8 40110000 00000000 @....... Contents of section .fini_array: 3dc0 00110000 00000000 ........ Contents of section .dynamic: 3dc8 01000000 00000000 29000000 00000000 ........)....... 3dd8 0c000000 00000000 00100000 00000000 ................ 3de8 0d000000 00000000 6c110000 00000000 ........l....... 3df8 19000000 00000000 b83d0000 00000000 .........=...... 3e08 1b000000 00000000 08000000 00000000 ................ 3e18 1a000000 00000000 c03d0000 00000000 .........=...... 3e28 1c000000 00000000 08000000 00000000 ................ 3e38 f5feff6f 00000000 b0030000 00000000 ...o............ 3e48 05000000 00000000 80040000 00000000 ................ 3e58 06000000 00000000 d8030000 00000000 ................ 3e68 0a000000 00000000 8f000000 00000000 ................ 3e78 0b000000 00000000 18000000 00000000 ................ 3e88 15000000 00000000 00000000 00000000 ................ 3e98 03000000 00000000 b83f0000 00000000 .........?...... 3ea8 02000000 00000000 18000000 00000000 ................ 3eb8 14000000 00000000 07000000 00000000 ................ 3ec8 17000000 00000000 10060000 00000000 ................ 3ed8 07000000 00000000 50050000 00000000 ........P....... 3ee8 08000000 00000000 c0000000 00000000 ................ 3ef8 09000000 00000000 18000000 00000000 ................ 3f08 1e000000 00000000 08000000 00000000 ................ 3f18 fbffff6f 00000000 01000008 00000000 ...o............ 3f28 feffff6f 00000000 20050000 00000000 ...o.... ....... 3f38 ffffff6f 00000000 01000000 00000000 ...o............ 3f48 f0ffff6f 00000000 10050000 00000000 ...o............ 3f58 f9ffff6f 00000000 03000000 00000000 ...o............ 3f68 00000000 00000000 00000000 00000000 ................ 3f78 00000000 00000000 00000000 00000000 ................ 3f88 00000000 00000000 00000000 00000000 ................ 3f98 00000000 00000000 00000000 00000000 ................ 3fa8 00000000 00000000 00000000 00000000 ................ Contents of section .got: 3fb8 c83d0000 00000000 00000000 00000000 .=.............. 3fc8 00000000 00000000 30100000 00000000 ........0....... 3fd8 00000000 00000000 00000000 00000000 ................ 3fe8 00000000 00000000 00000000 00000000 ................ 3ff8 00000000 00000000 ........ Contents of section .data: 4000 00000000 00000000 08400000 00000000 .........@...... Contents of section .comment: 0000 4743433a 20285562 756e7475 2031312e GCC: (Ubuntu 11. 0010 342e302d 31756275 6e747531 7e32322e 4.0-1ubuntu1~22. 0020 30342920 31312e34 2e3000 04) 11.4.0. Disassembly of section .init: 0000000000001000 <_init>: 1000: f3 0f 1e fa endbr64 1004: 48 83 ec 08 sub $0x8,%rsp 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base> 100f: 48 85 c0 test %rax,%rax 1012: 74 02 je 1016 <_init+0x16> 1014: ff d0 call *%rax 1016: 48 83 c4 08 add $0x8,%rsp 101a: c3 ret Disassembly of section .plt: 0000000000001020 <.plt>: 1020: ff 35 9a 2f 00 00 push 0x2f9a(%rip) # 3fc0 <_GLOBAL_OFFSET_TABLE_+0x8> 1026: f2 ff 25 9b 2f 00 00 bnd jmp *0x2f9b(%rip) # 3fc8 <_GLOBAL_OFFSET_TABLE_+0x10> 102d: 0f 1f 00 nopl (%rax) 1030: f3 0f 1e fa endbr64 1034: 68 00 00 00 00 push $0x0 1039: f2 e9 e1 ff ff ff bnd jmp 1020 <_init+0x20> 103f: 90 nop Disassembly of section .plt.got: 0000000000001040 <__cxa_finalize@plt>: 1040: f3 0f 1e fa endbr64 1044: f2 ff 25 ad 2f 00 00 bnd jmp *0x2fad(%rip) # 3ff8 <__cxa_finalize@GLIBC_2.2.5> 104b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .plt.sec: 0000000000001050 : 1050: f3 0f 1e fa endbr64 1054: f2 ff 25 75 2f 00 00 bnd jmp *0x2f75(%rip) # 3fd0 105b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .text: 0000000000001060 <_start>: 1060: f3 0f 1e fa endbr64 1064: 31 ed xor %ebp,%ebp 1066: 49 89 d1 mov %rdx,%r9 1069: 5e pop %rsi 106a: 48 89 e2 mov %rsp,%rdx 106d: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 1071: 50 push %rax 1072: 54 push %rsp 1073: 45 31 c0 xor %r8d,%r8d 1076: 31 c9 xor %ecx,%ecx 1078: 48 8d 3d ca 00 00 00 lea 0xca(%rip),%rdi # 1149
107f: ff 15 53 2f 00 00 call *0x2f53(%rip) # 3fd8 <__libc_start_main@GLIBC_2.34> 1085: f4 hlt 1086: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 108d: 00 00 00 0000000000001090 : 1090: 48 8d 3d 79 2f 00 00 lea 0x2f79(%rip),%rdi # 4010 <__TMC_END__> 1097: 48 8d 05 72 2f 00 00 lea 0x2f72(%rip),%rax # 4010 <__TMC_END__> 109e: 48 39 f8 cmp %rdi,%rax 10a1: 74 15 je 10b8 10a3: 48 8b 05 36 2f 00 00 mov 0x2f36(%rip),%rax # 3fe0 <_ITM_deregisterTMCloneTable@Base> 10aa: 48 85 c0 test %rax,%rax 10ad: 74 09 je 10b8 10af: ff e0 jmp *%rax 10b1: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10b8: c3 ret 10b9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 00000000000010c0 : 10c0: 48 8d 3d 49 2f 00 00 lea 0x2f49(%rip),%rdi # 4010 <__TMC_END__> 10c7: 48 8d 35 42 2f 00 00 lea 0x2f42(%rip),%rsi # 4010 <__TMC_END__> 10ce: 48 29 fe sub %rdi,%rsi 10d1: 48 89 f0 mov %rsi,%rax 10d4: 48 c1 ee 3f shr $0x3f,%rsi 10d8: 48 c1 f8 03 sar $0x3,%rax 10dc: 48 01 c6 add %rax,%rsi 10df: 48 d1 fe sar %rsi 10e2: 74 14 je 10f8 10e4: 48 8b 05 05 2f 00 00 mov 0x2f05(%rip),%rax # 3ff0 <_ITM_registerTMCloneTable@Base> 10eb: 48 85 c0 test %rax,%rax 10ee: 74 08 je 10f8 10f0: ff e0 jmp *%rax 10f2: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 10f8: c3 ret 10f9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 0000000000001100 <__do_global_dtors_aux>: 1100: f3 0f 1e fa endbr64 1104: 80 3d 05 2f 00 00 00 cmpb $0x0,0x2f05(%rip) # 4010 <__TMC_END__> 110b: 75 2b jne 1138 <__do_global_dtors_aux+0x38> 110d: 55 push %rbp 110e: 48 83 3d e2 2e 00 00 cmpq $0x0,0x2ee2(%rip) # 3ff8 <__cxa_finalize@GLIBC_2.2.5> 1115: 00 1116: 48 89 e5 mov %rsp,%rbp 1119: 74 0c je 1127 <__do_global_dtors_aux+0x27> 111b: 48 8b 3d e6 2e 00 00 mov 0x2ee6(%rip),%rdi # 4008 <__dso_handle> 1122: e8 19 ff ff ff call 1040 <__cxa_finalize@plt> 1127: e8 64 ff ff ff call 1090 112c: c6 05 dd 2e 00 00 01 movb $0x1,0x2edd(%rip) # 4010 <__TMC_END__> 1133: 5d pop %rbp 1134: c3 ret 1135: 0f 1f 00 nopl (%rax) 1138: c3 ret 1139: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 0000000000001140 : 1140: f3 0f 1e fa endbr64 1144: e9 77 ff ff ff jmp 10c0 0000000000001149
: 1149: f3 0f 1e fa endbr64 114d: 55 push %rbp 114e: 48 89 e5 mov %rsp,%rbp 1151: 48 8d 05 ac 0e 00 00 lea 0xeac(%rip),%rax # 2004 <_IO_stdin_used+0x4> 1158: 48 89 c7 mov %rax,%rdi 115b: b8 00 00 00 00 mov $0x0,%eax 1160: e8 eb fe ff ff call 1050 1165: b8 00 00 00 00 mov $0x0,%eax 116a: 5d pop %rbp 116b: c3 ret Disassembly of section .fini: 000000000000116c <_fini>: 116c: f3 0f 1e fa endbr64 1170: 48 83 ec 08 sub $0x8,%rsp 1174: 48 83 c4 08 add $0x8,%rsp 1178: c3 ret $ cat one.cpp #include int main() { printf("Hello, world."); } $ objdump -sd two two: file format elf64-x86-64 Contents of section .interp: 0318 2f6c6962 36342f6c 642d6c69 6e75782d /lib64/ld-linux- 0328 7838362d 36342e73 6f2e3200 x86-64.so.2. Contents of section .note.gnu.property: 0338 04000000 20000000 05000000 474e5500 .... .......GNU. 0348 020000c0 04000000 03000000 00000000 ................ 0358 028000c0 04000000 01000000 00000000 ................ Contents of section .note.gnu.build-id: 0368 04000000 14000000 03000000 474e5500 ............GNU. 0378 3d491d33 1ec88d9a d481fa36 b88a4fd4 =I.3.......6..O. 0388 d1c9242f ..$/ Contents of section .note.ABI-tag: 038c 04000000 10000000 01000000 474e5500 ............GNU. 039c 00000000 03000000 02000000 00000000 ................ Contents of section .gnu.hash: 03b0 02000000 0b000000 01000000 06000000 ................ 03c0 00009100 01000000 0b000000 00000000 ................ 03d0 d065ce6d 15980c43 .e.m...C Contents of section .dynsym: 03d8 00000000 00000000 00000000 00000000 ................ 03e8 00000000 00000000 46000000 12000000 ........F....... 03f8 00000000 00000000 00000000 00000000 ................ 0408 13010000 12000000 00000000 00000000 ................ 0418 00000000 00000000 25010000 12000000 ........%....... 0428 00000000 00000000 00000000 00000000 ................ 0438 aa000000 12000000 00000000 00000000 ................ 0448 00000000 00000000 99000000 12000000 ................ 0458 00000000 00000000 00000000 00000000 ................ 0468 e2000000 12000000 00000000 00000000 ................ 0478 00000000 00000000 10000000 20000000 ............ ... 0488 00000000 00000000 00000000 00000000 ................ 0498 01000000 20000000 00000000 00000000 .... ........... 04a8 00000000 00000000 2c000000 20000000 ........,... ... 04b8 00000000 00000000 00000000 00000000 ................ 04c8 81000000 12000000 00000000 00000000 ................ 04d8 00000000 00000000 04010000 22000000 ............"... 04e8 00000000 00000000 00000000 00000000 ................ 04f8 fa000000 11001a00 40400000 00000000 ........@@...... 0508 10010000 00000000 ........ Contents of section .dynstr: 0510 005f5f67 6d6f6e5f 73746172 745f5f00 .__gmon_start__. 0520 5f49544d 5f646572 65676973 74657254 _ITM_deregisterT 0530 4d436c6f 6e655461 626c6500 5f49544d MCloneTable._ITM 0540 5f726567 69737465 72544d43 6c6f6e65 _registerTMClone 0550 5461626c 65005f5a 53743465 6e646c49 Table._ZSt4endlI 0560 63537431 31636861 725f7472 61697473 cSt11char_traits 0570 49634545 52537431 33626173 69635f6f IcEERSt13basic_o 0580 73747265 616d4954 5f54305f 4553365f streamIT_T0_ES6_ 0590 005f5a4e 53743869 6f735f62 61736534 ._ZNSt8ios_base4 05a0 496e6974 44314576 005f5a4e 536f6c73 InitD1Ev._ZNSols 05b0 45504652 536f535f 45005f5a 53746c73 EPFRSoS_E._ZStls 05c0 49537431 31636861 725f7472 61697473 ISt11char_traits 05d0 49634545 52537431 33626173 69635f6f IcEERSt13basic_o 05e0 73747265 616d4963 545f4553 355f504b streamIcT_ES5_PK 05f0 63005f5a 4e537438 696f735f 62617365 c._ZNSt8ios_base 0600 34496e69 74433145 76005f5a 53743463 4InitC1Ev._ZSt4c 0610 6f757400 5f5f6378 615f6669 6e616c69 out.__cxa_finali 0620 7a65005f 5f6c6962 635f7374 6172745f ze.__libc_start_ 0630 6d61696e 005f5f63 78615f61 74657869 main.__cxa_atexi 0640 74006c69 62737464 632b2b2e 736f2e36 t.libstdc++.so.6 0650 006c6962 632e736f 2e360047 4c494243 .libc.so.6.GLIBC 0660 58585f33 2e340047 4c494243 5f322e33 XX_3.4.GLIBC_2.3 0670 3400474c 4942435f 322e322e 3500 4.GLIBC_2.2.5. Contents of section .gnu.version: 067e 00000300 04000200 03000300 03000100 ................ 068e 01000100 03000200 0300 .......... Contents of section .gnu.version_r: 0698 01000100 32010000 10000000 20000000 ....2....... ... 06a8 74299208 00000300 4b010000 00000000 t)......K....... 06b8 01000200 41010000 10000000 00000000 ....A........... 06c8 b4919606 00000400 57010000 10000000 ........W....... 06d8 751a6909 00000200 62010000 00000000 u.i.....b....... Contents of section .rela.dyn: 06e8 783d0000 00000000 08000000 00000000 x=.............. 06f8 a0110000 00000000 803d0000 00000000 .........=...... 0708 08000000 00000000 39120000 00000000 ........9....... 0718 883d0000 00000000 08000000 00000000 .=.............. 0728 60110000 00000000 08400000 00000000 `........@...... 0738 08000000 00000000 08400000 00000000 .........@...... 0748 c83f0000 00000000 06000000 0b000000 .?.............. 0758 00000000 00000000 d03f0000 00000000 .........?...... 0768 06000000 01000000 00000000 00000000 ................ 0778 d83f0000 00000000 06000000 02000000 .?.............. 0788 00000000 00000000 e03f0000 00000000 .........?...... 0798 06000000 07000000 00000000 00000000 ................ 07a8 e83f0000 00000000 06000000 08000000 .?.............. 07b8 00000000 00000000 f03f0000 00000000 .........?...... 07c8 06000000 09000000 00000000 00000000 ................ 07d8 f83f0000 00000000 06000000 0a000000 .?.............. 07e8 00000000 00000000 40400000 00000000 ........@@...... 07f8 05000000 0c000000 00000000 00000000 ................ Contents of section .rela.plt: 0808 a83f0000 00000000 07000000 03000000 .?.............. 0818 00000000 00000000 b03f0000 00000000 .........?...... 0828 07000000 04000000 00000000 00000000 ................ 0838 b83f0000 00000000 07000000 05000000 .?.............. 0848 00000000 00000000 c03f0000 00000000 .........?...... 0858 07000000 06000000 00000000 00000000 ................ Contents of section .init: 1000 f30f1efa 4883ec08 488b05d9 2f000048 ....H...H.../..H 1010 85c07402 ffd04883 c408c3 ..t...H.... Contents of section .plt: 1020 ff35722f 0000f2ff 25732f00 000f1f00 .5r/....%s/..... 1030 f30f1efa 68000000 00f2e9e1 ffffff90 ....h........... 1040 f30f1efa 68010000 00f2e9d1 ffffff90 ....h........... 1050 f30f1efa 68020000 00f2e9c1 ffffff90 ....h........... 1060 f30f1efa 68030000 00f2e9b1 ffffff90 ....h........... Contents of section .plt.got: 1070 f30f1efa f2ff254d 2f00000f 1f440000 ......%M/....D.. Contents of section .plt.sec: 1080 f30f1efa f2ff251d 2f00000f 1f440000 ......%./....D.. 1090 f30f1efa f2ff2515 2f00000f 1f440000 ......%./....D.. 10a0 f30f1efa f2ff250d 2f00000f 1f440000 ......%./....D.. 10b0 f30f1efa f2ff2505 2f00000f 1f440000 ......%./....D.. Contents of section .text: 10c0 f30f1efa 31ed4989 d15e4889 e24883e4 ....1.I..^H..H.. 10d0 f0505445 31c031c9 488d3dca 000000ff .PTE1.1.H.=..... 10e0 15f32e00 00f4662e 0f1f8400 00000000 ......f......... 10f0 488d3d19 2f000048 8d05122f 00004839 H.=./..H.../..H9 1100 f8741548 8b05d62e 00004885 c07409ff .t.H......H..t.. 1110 e00f1f80 00000000 c30f1f80 00000000 ................ 1120 488d3de9 2e000048 8d35e22e 00004829 H.=....H.5....H) 1130 fe4889f0 48c1ee3f 48c1f803 4801c648 .H..H..?H...H..H 1140 d1fe7414 488b05a5 2e000048 85c07408 ..t.H......H..t. 1150 ffe0660f 1f440000 c30f1f80 00000000 ..f..D.......... 1160 f30f1efa 803de52f 00000075 2b554883 .....=./...u+UH. 1170 3d522e00 00004889 e5740c48 8b3d862e =R....H..t.H.=.. 1180 0000e8e9 feffffe8 64ffffff c605bd2f ........d....../ 1190 0000015d c30f1f00 c30f1f80 00000000 ...]............ 11a0 f30f1efa e977ffff fff30f1e fa554889 .....w.......UH. 11b0 e5488d05 4c0e0000 4889c648 8d057e2e .H..L...H..H..~. 11c0 00004889 c7e8c6fe ffff488b 15ff2d00 ..H.......H...-. 11d0 004889d6 4889c7e8 c4feffff b8000000 .H..H........... 11e0 005dc3f3 0f1efa55 4889e548 83ec1089 .].....UH..H.... 11f0 7dfc8975 f8837dfc 01753b81 7df8ffff }..u..}..u;.}... 1200 00007532 488d0546 2f000048 89c7e89d ..u2H..F/..H.... 1210 feffff48 8d05ee2d 00004889 c2488d05 ...H...-..H..H.. 1220 2d2f0000 4889c648 8b05ca2d 00004889 -/..H..H...-..H. 1230 c7e84afe ffff90c9 c3f30f1e fa554889 ..J..........UH. 1240 e5beffff 0000bf01 000000e8 93ffffff ................ 1250 5dc3 ]. Contents of section .fini: 1254 f30f1efa 4883ec08 4883c408 c3 ....H...H.... Contents of section .rodata: 2000 01000200 48692068 69202100 ....Hi hi !. Contents of section .eh_frame_hdr: 200c 011b033b 40000000 07000000 14f0ffff ...;@........... 201c 74000000 64f0ffff 9c000000 74f0ffff t...d.......t... 202c b4000000 b4f0ffff 5c000000 9df1ffff ........\....... 203c cc000000 d7f1ffff ec000000 2df2ffff ............-... 204c 0c010000 .... Contents of section .eh_frame: 2050 14000000 00000000 017a5200 01781001 .........zR..x.. 2060 1b0c0708 90010000 14000000 1c000000 ................ 2070 50f0ffff 26000000 00440710 00000000 P...&....D...... 2080 24000000 34000000 98efffff 50000000 $...4.......P... 2090 000e1046 0e184a0f 0b770880 003f1a3a ...F..J..w...?.: 20a0 2a332422 00000000 14000000 5c000000 *3$"........\... 20b0 c0efffff 10000000 00000000 00000000 ................ 20c0 14000000 74000000 b8efffff 40000000 ....t.......@... 20d0 00000000 00000000 1c000000 8c000000 ................ 20e0 c9f0ffff 3a000000 00450e10 8602430d ....:....E....C. 20f0 06710c07 08000000 1c000000 ac000000 .q.............. 2100 e3f0ffff 56000000 00450e10 8602430d ....V....E....C. 2110 06024d0c 07080000 1c000000 cc000000 ..M............. 2120 19f1ffff 19000000 00450e10 8602430d .........E....C. 2130 06500c07 08000000 00000000 .P.......... Contents of section .init_array: 3d78 a0110000 00000000 39120000 00000000 ........9....... Contents of section .fini_array: 3d88 60110000 00000000 `....... Contents of section .dynamic: 3d90 01000000 00000000 32010000 00000000 ........2....... 3da0 01000000 00000000 41010000 00000000 ........A....... 3db0 0c000000 00000000 00100000 00000000 ................ 3dc0 0d000000 00000000 54120000 00000000 ........T....... 3dd0 19000000 00000000 783d0000 00000000 ........x=...... 3de0 1b000000 00000000 10000000 00000000 ................ 3df0 1a000000 00000000 883d0000 00000000 .........=...... 3e00 1c000000 00000000 08000000 00000000 ................ 3e10 f5feff6f 00000000 b0030000 00000000 ...o............ 3e20 05000000 00000000 10050000 00000000 ................ 3e30 06000000 00000000 d8030000 00000000 ................ 3e40 0a000000 00000000 6e010000 00000000 ........n....... 3e50 0b000000 00000000 18000000 00000000 ................ 3e60 15000000 00000000 00000000 00000000 ................ 3e70 03000000 00000000 903f0000 00000000 .........?...... 3e80 02000000 00000000 60000000 00000000 ........`....... 3e90 14000000 00000000 07000000 00000000 ................ 3ea0 17000000 00000000 08080000 00000000 ................ 3eb0 07000000 00000000 e8060000 00000000 ................ 3ec0 08000000 00000000 20010000 00000000 ........ ....... 3ed0 09000000 00000000 18000000 00000000 ................ 3ee0 1e000000 00000000 08000000 00000000 ................ 3ef0 fbffff6f 00000000 01000008 00000000 ...o............ 3f00 feffff6f 00000000 98060000 00000000 ...o............ 3f10 ffffff6f 00000000 02000000 00000000 ...o............ 3f20 f0ffff6f 00000000 7e060000 00000000 ...o....~....... 3f30 f9ffff6f 00000000 04000000 00000000 ...o............ 3f40 00000000 00000000 00000000 00000000 ................ 3f50 00000000 00000000 00000000 00000000 ................ 3f60 00000000 00000000 00000000 00000000 ................ 3f70 00000000 00000000 00000000 00000000 ................ 3f80 00000000 00000000 00000000 00000000 ................ Contents of section .got: 3f90 903d0000 00000000 00000000 00000000 .=.............. 3fa0 00000000 00000000 30100000 00000000 ........0....... 3fb0 40100000 00000000 50100000 00000000 @.......P....... 3fc0 60100000 00000000 00000000 00000000 `............... 3fd0 00000000 00000000 00000000 00000000 ................ 3fe0 00000000 00000000 00000000 00000000 ................ 3ff0 00000000 00000000 00000000 00000000 ................ Contents of section .data: 4000 00000000 00000000 08400000 00000000 .........@...... Contents of section .comment: 0000 4743433a 20285562 756e7475 2031312e GCC: (Ubuntu 11. 0010 342e302d 31756275 6e747531 7e32322e 4.0-1ubuntu1~22. 0020 30342920 31312e34 2e3000 04) 11.4.0. Disassembly of section .init: 0000000000001000 <_init>: 1000: f3 0f 1e fa endbr64 1004: 48 83 ec 08 sub $0x8,%rsp 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base> 100f: 48 85 c0 test %rax,%rax 1012: 74 02 je 1016 <_init+0x16> 1014: ff d0 call *%rax 1016: 48 83 c4 08 add $0x8,%rsp 101a: c3 ret Disassembly of section .plt: 0000000000001020 <.plt>: 1020: ff 35 72 2f 00 00 push 0x2f72(%rip) # 3f98 <_GLOBAL_OFFSET_TABLE_+0x8> 1026: f2 ff 25 73 2f 00 00 bnd jmp *0x2f73(%rip) # 3fa0 <_GLOBAL_OFFSET_TABLE_+0x10> 102d: 0f 1f 00 nopl (%rax) 1030: f3 0f 1e fa endbr64 1034: 68 00 00 00 00 push $0x0 1039: f2 e9 e1 ff ff ff bnd jmp 1020 <_init+0x20> 103f: 90 nop 1040: f3 0f 1e fa endbr64 1044: 68 01 00 00 00 push $0x1 1049: f2 e9 d1 ff ff ff bnd jmp 1020 <_init+0x20> 104f: 90 nop 1050: f3 0f 1e fa endbr64 1054: 68 02 00 00 00 push $0x2 1059: f2 e9 c1 ff ff ff bnd jmp 1020 <_init+0x20> 105f: 90 nop 1060: f3 0f 1e fa endbr64 1064: 68 03 00 00 00 push $0x3 1069: f2 e9 b1 ff ff ff bnd jmp 1020 <_init+0x20> 106f: 90 nop Disassembly of section .plt.got: 0000000000001070 <__cxa_finalize@plt>: 1070: f3 0f 1e fa endbr64 1074: f2 ff 25 4d 2f 00 00 bnd jmp *0x2f4d(%rip) # 3fc8 <__cxa_finalize@GLIBC_2.2.5> 107b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .plt.sec: 0000000000001080 <__cxa_atexit@plt>: 1080: f3 0f 1e fa endbr64 1084: f2 ff 25 1d 2f 00 00 bnd jmp *0x2f1d(%rip) # 3fa8 <__cxa_atexit@GLIBC_2.2.5> 108b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001090 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@plt>: 1090: f3 0f 1e fa endbr64 1094: f2 ff 25 15 2f 00 00 bnd jmp *0x2f15(%rip) # 3fb0 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@GLIBCXX_3.4> 109b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000010a0 <_ZNSolsEPFRSoS_E@plt>: 10a0: f3 0f 1e fa endbr64 10a4: f2 ff 25 0d 2f 00 00 bnd jmp *0x2f0d(%rip) # 3fb8 <_ZNSolsEPFRSoS_E@GLIBCXX_3.4> 10ab: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000010b0 <_ZNSt8ios_base4InitC1Ev@plt>: 10b0: f3 0f 1e fa endbr64 10b4: f2 ff 25 05 2f 00 00 bnd jmp *0x2f05(%rip) # 3fc0 <_ZNSt8ios_base4InitC1Ev@GLIBCXX_3.4> 10bb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .text: 00000000000010c0 <_start>: 10c0: f3 0f 1e fa endbr64 10c4: 31 ed xor %ebp,%ebp 10c6: 49 89 d1 mov %rdx,%r9 10c9: 5e pop %rsi 10ca: 48 89 e2 mov %rsp,%rdx 10cd: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 10d1: 50 push %rax 10d2: 54 push %rsp 10d3: 45 31 c0 xor %r8d,%r8d 10d6: 31 c9 xor %ecx,%ecx 10d8: 48 8d 3d ca 00 00 00 lea 0xca(%rip),%rdi # 11a9
10df: ff 15 f3 2e 00 00 call *0x2ef3(%rip) # 3fd8 <__libc_start_main@GLIBC_2.34> 10e5: f4 hlt 10e6: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 10ed: 00 00 00 00000000000010f0 : 10f0: 48 8d 3d 19 2f 00 00 lea 0x2f19(%rip),%rdi # 4010 <__TMC_END__> 10f7: 48 8d 05 12 2f 00 00 lea 0x2f12(%rip),%rax # 4010 <__TMC_END__> 10fe: 48 39 f8 cmp %rdi,%rax 1101: 74 15 je 1118 1103: 48 8b 05 d6 2e 00 00 mov 0x2ed6(%rip),%rax # 3fe0 <_ITM_deregisterTMCloneTable@Base> 110a: 48 85 c0 test %rax,%rax 110d: 74 09 je 1118 110f: ff e0 jmp *%rax 1111: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1118: c3 ret 1119: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 0000000000001120 : 1120: 48 8d 3d e9 2e 00 00 lea 0x2ee9(%rip),%rdi # 4010 <__TMC_END__> 1127: 48 8d 35 e2 2e 00 00 lea 0x2ee2(%rip),%rsi # 4010 <__TMC_END__> 112e: 48 29 fe sub %rdi,%rsi 1131: 48 89 f0 mov %rsi,%rax 1134: 48 c1 ee 3f shr $0x3f,%rsi 1138: 48 c1 f8 03 sar $0x3,%rax 113c: 48 01 c6 add %rax,%rsi 113f: 48 d1 fe sar %rsi 1142: 74 14 je 1158 1144: 48 8b 05 a5 2e 00 00 mov 0x2ea5(%rip),%rax # 3ff0 <_ITM_registerTMCloneTable@Base> 114b: 48 85 c0 test %rax,%rax 114e: 74 08 je 1158 1150: ff e0 jmp *%rax 1152: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1158: c3 ret 1159: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 0000000000001160 <__do_global_dtors_aux>: 1160: f3 0f 1e fa endbr64 1164: 80 3d e5 2f 00 00 00 cmpb $0x0,0x2fe5(%rip) # 4150 116b: 75 2b jne 1198 <__do_global_dtors_aux+0x38> 116d: 55 push %rbp 116e: 48 83 3d 52 2e 00 00 cmpq $0x0,0x2e52(%rip) # 3fc8 <__cxa_finalize@GLIBC_2.2.5> 1175: 00 1176: 48 89 e5 mov %rsp,%rbp 1179: 74 0c je 1187 <__do_global_dtors_aux+0x27> 117b: 48 8b 3d 86 2e 00 00 mov 0x2e86(%rip),%rdi # 4008 <__dso_handle> 1182: e8 e9 fe ff ff call 1070 <__cxa_finalize@plt> 1187: e8 64 ff ff ff call 10f0 118c: c6 05 bd 2f 00 00 01 movb $0x1,0x2fbd(%rip) # 4150 1193: 5d pop %rbp 1194: c3 ret 1195: 0f 1f 00 nopl (%rax) 1198: c3 ret 1199: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 00000000000011a0 : 11a0: f3 0f 1e fa endbr64 11a4: e9 77 ff ff ff jmp 1120 00000000000011a9
: 11a9: f3 0f 1e fa endbr64 11ad: 55 push %rbp 11ae: 48 89 e5 mov %rsp,%rbp 11b1: 48 8d 05 4c 0e 00 00 lea 0xe4c(%rip),%rax # 2004 <_IO_stdin_used+0x4> 11b8: 48 89 c6 mov %rax,%rsi 11bb: 48 8d 05 7e 2e 00 00 lea 0x2e7e(%rip),%rax # 4040 <_ZSt4cout@GLIBCXX_3.4> 11c2: 48 89 c7 mov %rax,%rdi 11c5: e8 c6 fe ff ff call 1090 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@plt> 11ca: 48 8b 15 ff 2d 00 00 mov 0x2dff(%rip),%rdx # 3fd0 <_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GLIBCXX_3.4> 11d1: 48 89 d6 mov %rdx,%rsi 11d4: 48 89 c7 mov %rax,%rdi 11d7: e8 c4 fe ff ff call 10a0 <_ZNSolsEPFRSoS_E@plt> 11dc: b8 00 00 00 00 mov $0x0,%eax 11e1: 5d pop %rbp 11e2: c3 ret 00000000000011e3 <_Z41__static_initialization_and_destruction_0ii>: 11e3: f3 0f 1e fa endbr64 11e7: 55 push %rbp 11e8: 48 89 e5 mov %rsp,%rbp 11eb: 48 83 ec 10 sub $0x10,%rsp 11ef: 89 7d fc mov %edi,-0x4(%rbp) 11f2: 89 75 f8 mov %esi,-0x8(%rbp) 11f5: 83 7d fc 01 cmpl $0x1,-0x4(%rbp) 11f9: 75 3b jne 1236 <_Z41__static_initialization_and_destruction_0ii+0x53> 11fb: 81 7d f8 ff ff 00 00 cmpl $0xffff,-0x8(%rbp) 1202: 75 32 jne 1236 <_Z41__static_initialization_and_destruction_0ii+0x53> 1204: 48 8d 05 46 2f 00 00 lea 0x2f46(%rip),%rax # 4151 <_ZStL8__ioinit> 120b: 48 89 c7 mov %rax,%rdi 120e: e8 9d fe ff ff call 10b0 <_ZNSt8ios_base4InitC1Ev@plt> 1213: 48 8d 05 ee 2d 00 00 lea 0x2dee(%rip),%rax # 4008 <__dso_handle> 121a: 48 89 c2 mov %rax,%rdx 121d: 48 8d 05 2d 2f 00 00 lea 0x2f2d(%rip),%rax # 4151 <_ZStL8__ioinit> 1224: 48 89 c6 mov %rax,%rsi 1227: 48 8b 05 ca 2d 00 00 mov 0x2dca(%rip),%rax # 3ff8 <_ZNSt8ios_base4InitD1Ev@GLIBCXX_3.4> 122e: 48 89 c7 mov %rax,%rdi 1231: e8 4a fe ff ff call 1080 <__cxa_atexit@plt> 1236: 90 nop 1237: c9 leave 1238: c3 ret 0000000000001239 <_GLOBAL__sub_I_main>: 1239: f3 0f 1e fa endbr64 123d: 55 push %rbp 123e: 48 89 e5 mov %rsp,%rbp 1241: be ff ff 00 00 mov $0xffff,%esi 1246: bf 01 00 00 00 mov $0x1,%edi 124b: e8 93 ff ff ff call 11e3 <_Z41__static_initialization_and_destruction_0ii> 1250: 5d pop %rbp 1251: c3 ret Disassembly of section .fini: 0000000000001254 <_fini>: 1254: f3 0f 1e fa endbr64 1258: 48 83 ec 08 sub $0x8,%rsp 125c: 48 83 c4 08 add $0x8,%rsp 1260: c3 ret $ cat two.cpp