summaryrefslogtreecommitdiff
path: root/x86_64/write4/useful_gadgets
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64/write4/useful_gadgets')
-rw-r--r--x86_64/write4/useful_gadgets19
1 files changed, 19 insertions, 0 deletions
diff --git a/x86_64/write4/useful_gadgets b/x86_64/write4/useful_gadgets
new file mode 100644
index 0000000..09c0849
--- /dev/null
+++ b/x86_64/write4/useful_gadgets
@@ -0,0 +1,19 @@
+0x000000000040068d : pop rsp ; pop r13 ; pop r14 ; pop r15 ; ret
+
+0x0000000000400690 : pop r14 ; pop r15 ; ret
+0x0000000000400628 : mov qword ptr [r14], r15 ; ret
+
+0x000000000040069) : pop rdi; ret
+
+
+
+
+
+0x0000000000400510 : print_file@plt
+0x0000000000600df0 : addr of init array
+
+we should write to .init_array .fini_array
+
+
+
+