Created
November 30, 2014 19:24
-
-
Save merryhime/b7fceb4f0b74ed2d34a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.out: file format mach-o-x86-64 | |
Disassembly of section .text: | |
0000000100000e30 <_main>: | |
100000e30: 55 push %rbp | |
100000e31: 48 89 e5 mov %rsp,%rbp | |
100000e34: 41 57 push %r15 | |
100000e36: 41 56 push %r14 | |
100000e38: 53 push %rbx | |
100000e39: 48 83 ec 18 sub $0x18,%rsp | |
100000e3d: 0f 57 c0 xorps %xmm0,%xmm0 | |
100000e40: 0f 29 45 d0 movaps %xmm0,-0x30(%rbp) | |
100000e44: 48 c7 45 e0 00 00 00 movq $0x0,-0x20(%rbp) | |
100000e4b: 00 | |
100000e4c: bf 04 00 00 00 mov $0x4,%edi | |
100000e51: e8 cc 00 00 00 callq 100000f22 <__Znwm$stub> | |
100000e56: 48 89 c3 mov %rax,%rbx | |
100000e59: 4c 8d 7b 04 lea 0x4(%rbx),%r15 | |
100000e5d: 48 85 db test %rbx,%rbx | |
100000e60: 74 06 je 100000e68 <_main+0x38> | |
100000e62: c7 03 01 00 00 00 movl $0x1,(%rbx) | |
100000e68: 4c 8b 75 d0 mov -0x30(%rbp),%r14 | |
100000e6c: 48 8b 55 d8 mov -0x28(%rbp),%rdx | |
100000e70: 4c 29 f2 sub %r14,%rdx | |
100000e73: 48 89 d0 mov %rdx,%rax | |
100000e76: 48 83 e0 fc and $0xfffffffffffffffc,%rax | |
100000e7a: 48 29 c3 sub %rax,%rbx | |
100000e7d: 48 89 df mov %rbx,%rdi | |
100000e80: 4c 89 f6 mov %r14,%rsi | |
100000e83: e8 a6 00 00 00 callq 100000f2e <_memcpy$stub> | |
100000e88: 48 89 5d d0 mov %rbx,-0x30(%rbp) | |
100000e8c: 4c 89 7d d8 mov %r15,-0x28(%rbp) | |
100000e90: 4c 89 7d e0 mov %r15,-0x20(%rbp) | |
100000e94: 4d 85 f6 test %r14,%r14 | |
100000e97: 74 10 je 100000ea9 <_main+0x79> | |
100000e99: 4c 89 f7 mov %r14,%rdi | |
100000e9c: e8 7b 00 00 00 callq 100000f1c <__ZdlPv$stub> | |
100000ea1: 48 8b 5d d0 mov -0x30(%rbp),%rbx | |
100000ea5: 4c 8b 7d d8 mov -0x28(%rbp),%r15 | |
100000ea9: 45 8b 77 fc mov -0x4(%r15),%r14d | |
100000ead: 48 85 db test %rbx,%rbx | |
100000eb0: 74 22 je 100000ed4 <_main+0xa4> | |
100000eb2: 49 39 df cmp %rbx,%r15 | |
100000eb5: 74 15 je 100000ecc <_main+0x9c> | |
100000eb7: 49 8d 47 fc lea -0x4(%r15),%rax | |
100000ebb: 48 29 d8 sub %rbx,%rax | |
100000ebe: 48 f7 d0 not %rax | |
100000ec1: 48 83 e0 fc and $0xfffffffffffffffc,%rax | |
100000ec5: 4c 01 f8 add %r15,%rax | |
100000ec8: 48 89 45 d8 mov %rax,-0x28(%rbp) | |
100000ecc: 48 89 df mov %rbx,%rdi | |
100000ecf: e8 48 00 00 00 callq 100000f1c <__ZdlPv$stub> | |
100000ed4: 44 89 f0 mov %r14d,%eax | |
100000ed7: 48 83 c4 18 add $0x18,%rsp | |
100000edb: 5b pop %rbx | |
100000edc: 41 5e pop %r14 | |
100000ede: 41 5f pop %r15 | |
100000ee0: 5d pop %rbp | |
100000ee1: c3 retq | |
100000ee2: 48 89 c3 mov %rax,%rbx | |
100000ee5: 48 8b 45 d0 mov -0x30(%rbp),%rax | |
100000ee9: 48 85 c0 test %rax,%rax | |
100000eec: 74 26 je 100000f14 <_main+0xe4> | |
100000eee: 48 8b 4d d8 mov -0x28(%rbp),%rcx | |
100000ef2: 48 39 c1 cmp %rax,%rcx | |
100000ef5: 74 15 je 100000f0c <_main+0xdc> | |
100000ef7: 48 8d 51 fc lea -0x4(%rcx),%rdx | |
100000efb: 48 29 c2 sub %rax,%rdx | |
100000efe: 48 f7 d2 not %rdx | |
100000f01: 48 83 e2 fc and $0xfffffffffffffffc,%rdx | |
100000f05: 48 01 ca add %rcx,%rdx | |
100000f08: 48 89 55 d8 mov %rdx,-0x28(%rbp) | |
100000f0c: 48 89 c7 mov %rax,%rdi | |
100000f0f: e8 08 00 00 00 callq 100000f1c <__ZdlPv$stub> | |
100000f14: 48 89 df mov %rbx,%rdi | |
100000f17: e8 0c 00 00 00 callq 100000f28 <__Unwind_Resume$stub> | |
Disassembly of section __TEXT.__stubs: | |
0000000100000f1c <__ZdlPv$stub>: | |
100000f1c: ff 25 f6 00 00 00 jmpq *0xf6(%rip) # 100001018 <__ZdlPv$stub> | |
0000000100000f22 <__Znwm$stub>: | |
100000f22: ff 25 f8 00 00 00 jmpq *0xf8(%rip) # 100001020 <__Znwm$stub> | |
0000000100000f28 <__Unwind_Resume$stub>: | |
100000f28: ff 25 fa 00 00 00 jmpq *0xfa(%rip) # 100001028 <__Unwind_Resume$stub> | |
0000000100000f2e <_memcpy$stub>: | |
100000f2e: ff 25 fc 00 00 00 jmpq *0xfc(%rip) # 100001030 <_memcpy$stub> | |
Disassembly of section __TEXT.__stub_helper: | |
0000000100000f34 <__TEXT.__stub_helper>: | |
100000f34: 4c 8d 1d cd 00 00 00 lea 0xcd(%rip),%r11 # 100001008 <> | |
100000f3b: 41 53 push %r11 | |
100000f3d: ff 25 bd 00 00 00 jmpq *0xbd(%rip) # 100001000 <dyld_stub_binder$stub> | |
100000f43: 90 nop | |
100000f44: 68 00 00 00 00 pushq $0x0 | |
100000f49: e9 e6 ff ff ff jmpq 100000f34 <_memcpy$stub+0x6> | |
100000f4e: 68 00 00 00 00 pushq $0x0 | |
100000f53: e9 dc ff ff ff jmpq 100000f34 <_memcpy$stub+0x6> | |
100000f58: 68 00 00 00 00 pushq $0x0 | |
100000f5d: e9 d2 ff ff ff jmpq 100000f34 <_memcpy$stub+0x6> | |
100000f62: 68 16 00 00 00 pushq $0x16 | |
100000f67: e9 c8 ff ff ff jmpq 100000f34 <_memcpy$stub+0x6> | |
Disassembly of section __TEXT.__gcc_except_tab: | |
0000000100000f6c <GCC_except_table0>: | |
100000f6c: ff 9b 9c 00 03 1a lcallq *0x1a03009c(%rbx) | |
100000f72: 1c 00 sbb $0x0,%al | |
100000f74: 00 00 add %al,(%rax) | |
100000f76: 0d 00 00 00 b2 or $0xb2000000,%eax | |
100000f7b: 00 00 add %al,(%rax) | |
100000f7d: 00 00 add %al,(%rax) | |
100000f7f: 29 00 sub %eax,(%rax) | |
100000f81: 00 00 add %al,(%rax) | |
100000f83: c3 retq | |
... | |
Disassembly of section __TEXT.__unwind_info: | |
0000000100000f8c <__TEXT.__unwind_info>: | |
100000f8c: 01 00 add %eax,(%rax) | |
100000f8e: 00 00 add %al,(%rax) | |
100000f90: 1c 00 sbb $0x0,%al | |
100000f92: 00 00 add %al,(%rax) | |
100000f94: 00 00 add %al,(%rax) | |
100000f96: 00 00 add %al,(%rax) | |
100000f98: 1c 00 sbb $0x0,%al | |
100000f9a: 00 00 add %al,(%rax) | |
100000f9c: 01 00 add %eax,(%rax) | |
100000f9e: 00 00 add %al,(%rax) | |
100000fa0: 20 00 and %al,(%rax) | |
100000fa2: 00 00 add %al,(%rax) | |
100000fa4: 02 00 add (%rax),%al | |
100000fa6: 00 00 add %al,(%rax) | |
100000fa8: 10 10 adc %dl,(%rax) | |
100000faa: 00 00 add %al,(%rax) | |
100000fac: 30 0e xor %cl,(%rsi) | |
100000fae: 00 00 add %al,(%rax) | |
100000fb0: 40 00 00 add %al,(%rax) | |
100000fb3: 00 38 add %bh,(%rax) | |
100000fb5: 00 00 add %al,(%rax) | |
100000fb7: 00 1d 0f 00 00 00 add %bl,0xf(%rip) # 100000fcc <GCC_except_table0+0x60> | |
100000fbd: 00 00 add %al,(%rax) | |
100000fbf: 00 40 00 add %al,0x0(%rax) | |
100000fc2: 00 00 add %al,(%rax) | |
100000fc4: 30 0e xor %cl,(%rsi) | |
100000fc6: 00 00 add %al,(%rax) | |
100000fc8: 6c insb (%dx),%es:(%rdi) | |
100000fc9: 0f 00 00 sldt (%rax) | |
100000fcc: 03 00 add (%rax),%eax | |
100000fce: 00 00 add %al,(%rax) | |
100000fd0: 0c 00 or $0x0,%al | |
100000fd2: 01 00 add %eax,(%rax) | |
100000fd4: 10 00 adc %al,(%rax) | |
100000fd6: 01 00 add %eax,(%rax) | |
100000fd8: 00 00 add %al,(%rax) | |
100000fda: 00 00 add %al,(%rax) | |
100000fdc: 61 (bad) | |
100000fdd: 01 03 add %eax,(%rbx) | |
100000fdf: 51 push %rcx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment