Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int g()
- {
- 8ae: 55 push %rbp
- 8af: 48 89 e5 mov %rsp,%rbp
- 8b2: 41 54 push %r12
- 8b4: 53 push %rbx
- static int y = f(12);
- 8b5: 0f b6 05 a4 07 20 00 movzbl 0x2007a4(%rip),%eax # 201060 <_ZGVZ1gvE1y>
- 8bc: 84 c0 test %al,%al
- 8be: 0f 94 c0 sete %al
- 8c1: 84 c0 test %al,%al
- 8c3: 74 37 je 8fc <_Z1gv+0x4e>
- 8c5: 48 8d 3d 94 07 20 00 lea 0x200794(%rip),%rdi # 201060 <_ZGVZ1gvE1y>
- 8cc: e8 2f fe ff ff callq 700 <__cxa_guard_acquire@plt>
- 8d1: 85 c0 test %eax,%eax
- 8d3: 0f 95 c0 setne %al
- 8d6: 84 c0 test %al,%al
- 8d8: 74 22 je 8fc <_Z1gv+0x4e>
- 8da: 41 bc 00 00 00 00 mov $0x0,%r12d
- 8e0: bf 0c 00 00 00 mov $0xc,%edi
- 8e5: e8 96 ff ff ff callq 880 <_Z1fi>
- 8ea: 89 05 68 07 20 00 mov %eax,0x200768(%rip) # 201058 <_ZZ1gvE1y>
- 8f0: 48 8d 3d 69 07 20 00 lea 0x200769(%rip),%rdi # 201060 <_ZGVZ1gvE1y>
- 8f7: e8 14 fe ff ff callq 710 <__cxa_guard_release@plt>
- return y+2;
- 8fc: 8b 05 56 07 20 00 mov 0x200756(%rip),%eax # 201058 <_ZZ1gvE1y>
- 902: 83 c0 02 add $0x2,%eax
- 905: eb 1f jmp 926 <_Z1gv+0x78>
- 907: 48 89 c3 mov %rax,%rbx
- static int y = f(12);
- 90a: 45 84 e4 test %r12b,%r12b
- 90d: 75 0c jne 91b <_Z1gv+0x6d>
- 90f: 48 8d 3d 4a 07 20 00 lea 0x20074a(%rip),%rdi # 201060 <_ZGVZ1gvE1y>
- 916: e8 05 fe ff ff callq 720 <__cxa_guard_abort@plt>
- 91b: 48 89 d8 mov %rbx,%rax
- 91e: 48 89 c7 mov %rax,%rdi
- 921: e8 0a fe ff ff callq 730 <_Unwind_Resume@plt>
- }
- 926: 5b pop %rbx
- 927: 41 5c pop %r12
- 929: 5d pop %rbp
- 92a: c3 retq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement