summaryrefslogtreecommitdiff
path: root/x86_64/write4/useful_gadgets
blob: 09c08499f0722410dffb7c403d7d00cc573f7ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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