Skip to content

Instantly share code, notes, and snippets.

@jvns jvns/gist:64aa2c85e083e0031609 Secret
Last active Sep 22, 2018

Embed
What would you like to do?
objdump -s hello
hello: file format elf64-x86-64
Contents of section .interp:
400238 2f6c6962 36342f6c 642d6c69 6e75782d /lib64/ld-linux-
400248 7838362d 36342e73 6f2e3200 x86-64.so.2.
Contents of section .note.ABI-tag:
400254 04000000 10000000 01000000 474e5500 ............GNU.
400264 00000000 02000000 06000000 18000000 ................
Contents of section .note.gnu.build-id:
400274 04000000 14000000 03000000 474e5500 ............GNU.
400284 cfa8c86e dcc5380f c577db6a 372a6f4c ...n..8..w.j7*oL
400294 a668f9c8 .h..
Contents of section .gnu.hash:
400298 01000000 01000000 01000000 00000000 ................
4002a8 00000000 00000000 00000000 ............
Contents of section .dynsym:
4002b8 00000000 00000000 00000000 00000000 ................
4002c8 00000000 00000000 1a000000 12000000 ................
4002d8 00000000 00000000 00000000 00000000 ................
4002e8 1f000000 12000000 00000000 00000000 ................
4002f8 00000000 00000000 01000000 20000000 ............ ...
400308 00000000 00000000 00000000 00000000 ................
Contents of section .dynstr:
400318 005f5f67 6d6f6e5f 73746172 745f5f00 .__gmon_start__.
400328 6c696263 2e736f2e 36007075 7473005f libc.so.6.puts._
400338 5f6c6962 635f7374 6172745f 6d61696e _libc_start_main
400348 00474c49 42435f32 2e322e35 00 .GLIBC_2.2.5.
Contents of section .gnu.version:
400356 00000200 02000000 ........
Contents of section .gnu.version_r:
400360 01000100 10000000 10000000 00000000 ................
400370 751a6909 00000200 31000000 00000000 u.i.....1.......
Contents of section .rela.dyn:
400380 e00f6000 00000000 06000000 03000000 ..`.............
400390 00000000 00000000 ........
Contents of section .rela.plt:
400398 00106000 00000000 07000000 01000000 ..`.............
4003a8 00000000 00000000 08106000 00000000 ..........`.....
4003b8 07000000 02000000 00000000 00000000 ................
Contents of section .init:
4003c8 4883ec08 e86b0000 00e8fa00 0000e8d5 H....k..........
4003d8 01000048 83c408c3 ...H....
Contents of section .plt:
4003e0 ff350a0c 2000ff25 0c0c2000 0f1f4000 .5.. ..%.. ...@.
4003f0 ff250a0c 20006800 000000e9 e0ffffff .%.. .h.........
400400 ff25020c 20006801 000000e9 d0ffffff .%.. .h.........
Contents of section .text:
400410 31ed4989 d15e4889 e24883e4 f0505449 1.I..^H..H...PTI
400420 c7c0a005 400048c7 c1100540 0048c7c7 ....@.H....@.H..
400430 f4044000 e8c7ffff fff49090 4883ec08 ..@.........H...
400440 488b0599 0b200048 85c07402 ffd04883 H.... .H..t...H.
400450 c408c390 90909090 90909090 90909090 ................
400460 554889e5 534883ec 08803db0 0b200000 UH..SH....=.. ..
400470 754bbb40 0e600048 8b05aa0b 20004881 uK.@.`.H.... .H.
400480 eb380e60 0048c1fb 034883eb 014839d8 .8.`.H...H...H9.
400490 7324660f 1f440000 4883c001 48890585 s$f..D..H...H...
4004a0 0b2000ff 14c5380e 6000488b 05770b20 . ....8.`.H..w.
4004b0 004839d8 72e2c605 630b2000 014883c4 .H9.r...c. ..H..
4004c0 085b5dc3 6666662e 0f1f8400 00000000 .[].fff.........
4004d0 48833d70 09200000 554889e5 7412b800 H.=p. ..UH..t...
4004e0 00000048 85c07408 5dbf480e 6000ffe0 ...H..t.].H.`...
4004f0 5dc39090 554889e5 bffc0540 00e8eefe ]...UH.....@....
400500 ffff5dc3 90909090 90909090 90909090 ..].............
400510 48896c24 d84c8964 24e0488d 2d030920 H.l$.L.d$.H.-..
400520 004c8d25 fc082000 4c896c24 e84c8974 .L.%.. .L.l$.L.t
400530 24f04c89 7c24f848 895c24d0 4883ec38 $.L.|$.H.\$.H..8
400540 4c29e541 89fd4989 f648c1fd 034989d7 L).A..I..H...I..
400550 e873feff ff4885ed 741c31db 0f1f4000 .s...H..t.1...@.
400560 4c89fa4c 89f64489 ef41ff14 dc4883c3 L..L..D..A...H..
400570 014839eb 75ea488b 5c240848 8b6c2410 .H9.u.H.\$.H.l$.
400580 4c8b6424 184c8b6c 24204c8b 7424284c L.d$.L.l$ L.t$(L
400590 8b7c2430 4883c438 c30f1f80 00000000 .|$0H..8........
4005a0 f3c39090 90909090 90909090 90909090 ................
4005b0 554889e5 534883ec 08488b05 68082000 UH..SH...H..h. .
4005c0 4883f8ff 7419bb28 0e60000f 1f440000 H...t..(.`...D..
4005d0 4883eb08 ffd0488b 034883f8 ff75f148 H.....H..H...u.H
4005e0 83c4085b 5dc39090 ...[]...
Contents of section .fini:
4005e8 4883ec08 e86ffeff ff4883c4 08c3 H....o...H....
Contents of section .rodata:
4005f8 01000200 50656e67 75696e21 00 ....Penguin!.
Contents of section .eh_frame_hdr:
400608 011b033b 2c000000 04000000 d8fdffff ...;,...........
400618 48000000 ecfeffff 70000000 08ffffff H.......p.......
400628 90000000 98ffffff b8000000 ............
Contents of section .eh_frame:
400638 14000000 00000000 017a5200 01781001 .........zR..x..
400648 1b0c0708 90010000 24000000 1c000000 ........$.......
400658 88fdffff 30000000 000e1046 0e184a0f ....0......F..J.
400668 0b770880 003f1a3b 2a332422 00000000 .w...?.;*3$"....
400678 1c000000 44000000 74feffff 10000000 ....D...t.......
400688 00410e10 8602430d 064b0c07 08000000 .A....C..K......
400698 24000000 64000000 70feffff 89000000 $...d...p.......
4006a8 00518c05 86065f0e 4083078f 028e038d .Q...._.@.......
4006b8 0402580e 08000000 14000000 8c000000 ..X.............
4006c8 d8feffff 02000000 00000000 00000000 ................
4006d8 00000000 ....
Contents of section .ctors:
600e28 ffffffff ffffffff 00000000 00000000 ................
Contents of section .dtors:
600e38 ffffffff ffffffff 00000000 00000000 ................
Contents of section .jcr:
600e48 00000000 00000000 ........
Contents of section .dynamic:
600e50 01000000 00000000 10000000 00000000 ................
600e60 0c000000 00000000 c8034000 00000000 ..........@.....
600e70 0d000000 00000000 e8054000 00000000 ..........@.....
600e80 f5feff6f 00000000 98024000 00000000 ...o......@.....
600e90 05000000 00000000 18034000 00000000 ..........@.....
600ea0 06000000 00000000 b8024000 00000000 ..........@.....
600eb0 0a000000 00000000 3d000000 00000000 ........=.......
600ec0 0b000000 00000000 18000000 00000000 ................
600ed0 15000000 00000000 00000000 00000000 ................
600ee0 03000000 00000000 e80f6000 00000000 ..........`.....
600ef0 02000000 00000000 30000000 00000000 ........0.......
600f00 14000000 00000000 07000000 00000000 ................
600f10 17000000 00000000 98034000 00000000 ..........@.....
600f20 07000000 00000000 80034000 00000000 ..........@.....
600f30 08000000 00000000 18000000 00000000 ................
600f40 09000000 00000000 18000000 00000000 ................
600f50 feffff6f 00000000 60034000 00000000 ...o....`.@.....
600f60 ffffff6f 00000000 01000000 00000000 ...o............
600f70 f0ffff6f 00000000 56034000 00000000 ...o....V.@.....
600f80 00000000 00000000 00000000 00000000 ................
600f90 00000000 00000000 00000000 00000000 ................
600fa0 00000000 00000000 00000000 00000000 ................
600fb0 00000000 00000000 00000000 00000000 ................
600fc0 00000000 00000000 00000000 00000000 ................
600fd0 00000000 00000000 00000000 00000000 ................
Contents of section .got:
600fe0 00000000 00000000 ........
Contents of section .got.plt:
600fe8 500e6000 00000000 00000000 00000000 P.`.............
600ff8 00000000 00000000 f6034000 00000000 ..........@.....
601008 06044000 00000000 ..@.....
Contents of section .data:
601010 00000000 00000000 00000000 00000000 ................
Contents of section .comment:
0000 4743433a 20285562 756e7475 2f4c696e GCC: (Ubuntu/Lin
0010 61726f20 342e362e 332d3175 62756e74 aro 4.6.3-1ubunt
0020 75352920 342e362e 3300 u5) 4.6.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.