From 5f501ccf6601ce40f0e15e71233c383f54be7845 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 2 Jun 2015 16:18:24 -0400 Subject: an alternative, not using the libc import library (libc.lib.a) --- dataimp/autoimp/a.out.dis | 131 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 dataimp/autoimp/a.out.dis (limited to 'dataimp/autoimp/a.out.dis') diff --git a/dataimp/autoimp/a.out.dis b/dataimp/autoimp/a.out.dis new file mode 100644 index 0000000..6a0d7d9 --- /dev/null +++ b/dataimp/autoimp/a.out.dis @@ -0,0 +1,131 @@ + +a.out: Dateiformat pei-x86-64 + + +Disassembly of section .text: + +0000000001921000 <.init>: + 1921000: 48 31 c0 xor %rax,%rax + 1921003: 50 push %rax + 1921004: 51 push %rcx + 1921005: 52 push %rdx + 1921006: 90 nop + 1921007: 90 nop + +0000000001921008 <.init>: + 1921008: 5a pop %rdx + 1921009: 59 pop %rcx + 192100a: 41 5a pop %r10 + 192100c: 4c 09 d0 or %r10,%rax + 192100f: c3 retq + +0000000001921010 <_start>: + 1921010: 44 8b 05 e9 1f 00 00 mov 0x1fe9(%rip),%r8d # 1923000 <.weak.__crtopt_posix._start> + 1921017: 44 0b 05 e2 1f 00 00 or 0x1fe2(%rip),%r8d # 1923000 <.weak.__crtopt_posix._start> + 192101e: 48 8d 0d 4b 00 00 00 lea 0x4b(%rip),%rcx # 1921070
+ 1921025: 48 8b 15 40 70 00 00 mov 0x7040(%rip),%rdx # 192806c <__IAT_start__> + 192102c: 48 8b 05 49 70 00 00 mov 0x7049(%rip),%rax # 192807c <__imp___libc_entry_routine> + 1921033: 48 ff e0 rex.W jmpq *%rax + 1921036: 90 nop + 1921037: 90 nop + 1921038: 90 nop + 1921039: 90 nop + 192103a: 90 nop + 192103b: 90 nop + 192103c: 90 nop + 192103d: 90 nop + 192103e: 90 nop + 192103f: 90 nop + +0000000001921040 <_pei386_runtime_relocator>: + 1921040: c3 retq + +0000000001921041 <_init>: + 1921041: e9 ba ff ff ff jmpq 1921000 <.init> + +0000000001921046 <_fini>: + 1921046: e9 65 00 00 00 jmpq 19210b0 <.fini> + 192104b: 90 nop + 192104c: 90 nop + 192104d: 90 nop + 192104e: 90 nop + 192104f: 90 nop + +0000000001921050 <__psx_init>: + 1921050: ff 25 16 70 00 00 jmpq *0x7016(%rip) # 192806c <__IAT_start__> + 1921056: 90 nop + 1921057: 90 nop + 1921058: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) + 192105f: 00 + +0000000001921060 : + 1921060: ff 25 1e 70 00 00 jmpq *0x701e(%rip) # 1928084 <__imp_fflush> + 1921066: 90 nop + 1921067: 90 nop + +0000000001921068 <.text>: + 1921068: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) + 192106f: 00 + +0000000001921070
: + 1921070: 53 push %rbx + 1921071: 48 83 ec 20 sub $0x20,%rsp + 1921075: 89 cb mov %ecx,%ebx + 1921077: 48 8b 0d 0e 70 00 00 mov 0x700e(%rip),%rcx # 192808c <__imp_stdout> + +000000000192107a <__fu0_stdout>: + 192107a: 0e (bad) + 192107b: 70 00 jo 192107d <__fu0_stdout+0x3> + 192107d: 00 e8 add %ch,%al + 192107f: dd ff (bad) + 1921081: ff (bad) + 1921082: ff 89 d8 48 83 c4 decl -0x3b7cb728(%rcx) + 1921088: 20 5b c3 and %bl,-0x3d(%rbx) + 192108b: 90 nop + 192108c: 90 nop + 192108d: 90 nop + 192108e: 90 nop + 192108f: 90 nop + +0000000001921090 <__CTOR_LIST__>: + 1921090: ff (bad) + 1921091: ff (bad) + 1921092: ff (bad) + 1921093: ff (bad) + 1921094: ff (bad) + 1921095: ff (bad) + 1921096: ff (bad) + 1921097: ff 00 incl (%rax) + 1921099: 00 00 add %al,(%rax) + 192109b: 00 00 add %al,(%rax) + 192109d: 00 00 add %al,(%rax) + ... + +00000000019210a0 <__DTOR_LIST__>: + 19210a0: ff (bad) + 19210a1: ff (bad) + 19210a2: ff (bad) + 19210a3: ff (bad) + 19210a4: ff (bad) + 19210a5: ff (bad) + 19210a6: ff (bad) + 19210a7: ff 00 incl (%rax) + 19210a9: 00 00 add %al,(%rax) + 19210ab: 00 00 add %al,(%rax) + 19210ad: 00 00 add %al,(%rax) + ... + +00000000019210b0 <.fini>: + 19210b0: 48 31 c0 xor %rax,%rax + 19210b3: 50 push %rax + 19210b4: 51 push %rcx + 19210b5: 52 push %rdx + 19210b6: 90 nop + 19210b7: 90 nop + +00000000019210b8 <.fini>: + 19210b8: 5a pop %rdx + 19210b9: 59 pop %rcx + 19210ba: 41 5a pop %r10 + 19210bc: 4c 09 d0 or %r10,%rax + 19210bf: c3 retq -- cgit v1.2.3