Skip to content

Instantly share code, notes, and snippets.

@asesh
Created June 24, 2019 05:00
Show Gist options
  • Save asesh/7cb8dfb84b8ad78bc478af617e4d1ac1 to your computer and use it in GitHub Desktop.
Save asesh/7cb8dfb84b8ad78bc478af617e4d1ac1 to your computer and use it in GitHub Desktop.
0x100000bbf <+0>: pushq %rbp
0x100000bc0 <+1>: movq %rsp, %rbp
0x100000bc3 <+4>: pushq %rbx
0x100000bc4 <+5>: subq $0x38, %rsp
0x100000bc8 <+9>: movb $0x1, %bl
0x100000bca <+11>: testb %bl, 0x4d0(%rip)
0x100000bd0 <+17>: je 0x100000bdb
0x100000bd2 <+19>: movq 0x4d7(%rip), %rsi
0x100000bd9 <+26>: jmp 0x100000be2
0x100000bdb <+28>: leaq 0x4c2(%rip), %rsi
0x100000be2 <+35>: leaq -0x20(%rbp), %rdi
0x100000be6 <+39>: callq 0x100000ac0
0x100000beb <+44>: testb %bl, 0x4c7(%rip)
0x100000bf1 <+50>: je 0x100000bfc
0x100000bf3 <+52>: movq 0x4ce(%rip), %rsi
0x100000bfa <+59>: jmp 0x100000c03
0x100000bfc <+61>: leaq 0x4b9(%rip), %rsi
0x100000c03 <+68>: leaq -0x38(%rbp), %rdi
0x100000c07 <+72>: callq 0x100000ac0
0x100000c0c <+77>: testb $0x1, -0x38(%rbp)
0x100000c10 <+81>: je 0x100000c1b
0x100000c12 <+83>: movq -0x28(%rbp), %rdi
0x100000c16 <+87>: callq 0x100000d7e
0x100000c1b <+92>: testb $0x1, -0x20(%rbp)
0x100000c1f <+96>: je 0x100000c2a
0x100000c21 <+98>: movq -0x10(%rbp), %rdi
0x100000c25 <+102>: callq 0x100000d7e
0x100000c2a <+107>: xorl %eax, %eax
0x100000c2c <+109>: addq $0x38, %rsp
0x100000c30 <+113>: popq %rbx
0x100000c31 <+114>: popq %rbp
0x100000c32 <+115>: retq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment