Advertisement
Guest User

Untitled

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