Last active
December 14, 2015 10:10
-
-
Save mokomull/5070094 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
0000000000000000 <dynamic_foo(Base*)>: | |
0: 55 push %rbp | |
1: 48 89 e5 mov %rsp,%rbp | |
4: 48 83 ec 20 sub $0x20,%rsp | |
8: 48 89 7d e8 mov %rdi,-0x18(%rbp) | |
c: 48 8b 45 e8 mov -0x18(%rbp),%rax | |
10: 48 85 c0 test %rax,%rax | |
13: 75 07 jne 1c <dynamic_foo(Base*)+0x1c> | |
15: b8 00 00 00 00 mov $0x0,%eax | |
1a: eb 17 jmp 33 <dynamic_foo(Base*)+0x33> | |
1c: b9 00 00 00 00 mov $0x0,%ecx | |
21: ba 00 00 00 00 mov $0x0,%edx | |
26: be 00 00 00 00 mov $0x0,%esi | |
2b: 48 89 c7 mov %rax,%rdi | |
2e: e8 00 00 00 00 callq 33 <dynamic_foo(Base*)+0x33> | |
33: 48 89 45 f8 mov %rax,-0x8(%rbp) | |
37: 48 83 7d f8 00 cmpq $0x0,-0x8(%rbp) | |
3c: 0f 95 c0 setne %al | |
3f: 84 c0 test %al,%al | |
41: 74 05 je 48 <dynamic_foo(Base*)+0x48> | |
43: 48 83 45 f8 08 addq $0x8,-0x8(%rbp) | |
48: c9 leaveq | |
49: c3 retq | |
000000000000004a <stringy_foo(Base*)>: | |
4a: 55 push %rbp | |
4b: 48 89 e5 mov %rsp,%rbp | |
4e: 53 push %rbx | |
4f: 48 83 ec 28 sub $0x28,%rsp | |
53: 48 89 7d d8 mov %rdi,-0x28(%rbp) | |
57: 48 8b 45 d8 mov -0x28(%rbp),%rax | |
5b: 48 8b 00 mov (%rax),%rax | |
5e: 48 8b 08 mov (%rax),%rcx | |
61: 48 8d 45 e0 lea -0x20(%rbp),%rax | |
65: 48 8b 55 d8 mov -0x28(%rbp),%rdx | |
69: 48 89 d6 mov %rdx,%rsi | |
6c: 48 89 c7 mov %rax,%rdi | |
6f: ff d1 callq *%rcx | |
71: 48 8d 45 e0 lea -0x20(%rbp),%rax | |
75: be 00 00 00 00 mov $0x0,%esi | |
7a: 48 89 c7 mov %rax,%rdi | |
7d: e8 00 00 00 00 callq 82 <stringy_foo(Base*)+0x38> | |
82: 89 c3 mov %eax,%ebx | |
84: 48 8d 45 e0 lea -0x20(%rbp),%rax | |
88: 48 89 c7 mov %rax,%rdi | |
8b: e8 00 00 00 00 callq 90 <stringy_foo(Base*)+0x46> | |
90: 84 db test %bl,%bl | |
92: 74 29 je bd <stringy_foo(Base*)+0x73> | |
94: 48 8b 45 d8 mov -0x28(%rbp),%rax | |
98: 48 89 45 e8 mov %rax,-0x18(%rbp) | |
9c: 48 83 45 e8 08 addq $0x8,-0x18(%rbp) | |
a1: eb 1b jmp be <stringy_foo(Base*)+0x74> | |
a3: 48 89 c3 mov %rax,%rbx | |
a6: 48 8d 45 e0 lea -0x20(%rbp),%rax | |
aa: 48 89 c7 mov %rax,%rdi | |
ad: e8 00 00 00 00 callq b2 <stringy_foo(Base*)+0x68> | |
b2: 48 89 d8 mov %rbx,%rax | |
b5: 48 89 c7 mov %rax,%rdi | |
b8: e8 00 00 00 00 callq bd <stringy_foo(Base*)+0x73> | |
bd: 90 nop | |
be: 48 83 c4 28 add $0x28,%rsp | |
c2: 5b pop %rbx | |
c3: 5d pop %rbp | |
c4: c3 retq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment