summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-10-10 00:54:56 -0400
committerJune McEnroe <programble@gmail.com>2016-10-10 00:54:56 -0400
commitcbb9b067d24fdd3d54201d12bd27750f3d367343 (patch)
tree5b6a4f4860c4663e1ad6b73a37bfd1064c842572
parentFix jrp dop pushes (diff)
downloadsrc-cbb9b067d24fdd3d54201d12bd27750f3d367343.tar.gz
src-cbb9b067d24fdd3d54201d12bd27750f3d367343.zip
Split jrp nops on dword boundaries
Diffstat (limited to '')
-rwxr-xr-x.bin/jrp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/.bin/jrp.c b/.bin/jrp.c
index 92c935df..0904e705 100755
--- a/.bin/jrp.c
+++ b/.bin/jrp.c
@@ -63,10 +63,10 @@ static const dop DOP_XOR  = 0xc7314858; // pop rax; xor rdi, rax
 
 static const qop QOP_PROL = 0x5ffc8948e5894855; // push rbp; mov rbp, rsp; mov rsp, rdi; pop rdi
 static const qop QOP_EPIL = 0x5dec8948e0894857; // push rdi; mov rax, rsp; mov rsp, rbp; pop rbp
-static const qop QOP_RET  = 0x90666690666666c3; // ret
-static const qop QOP_CRT  = 0xb848906666e58748; // xchg rsp, rbp; mov rax, strict qword 0
+static const qop QOP_RET  = 0x90666666906666c3; // ret
+static const qop QOP_CRT  = 0xb848906690e58748; // xchg rsp, rbp; mov rax, strict qword 0
 static const qop QOP_CALL = 0x90665fe58748d0ff; // call rax; xchg rsp, rbp; pop rdi
-static const qop QOP_PUSH = 0xbf48909066666657; // push rdi; mov rdi, strict qword 0
+static const qop QOP_PUSH = 0xbf48906690666657; // push rdi; mov rdi, strict qword 0
 static const qop QOP_SUB  = 0x9066665f243c2948; // sub [rsp], rdi; pop rdi
 static const qop QOP_MUL  = 0x906666f8af0f4858; // pop rax; imul rdi, rax
 static const qop QOP_DIV  = 0x9066fff748994858; // pop rax; cqo; idiv rdi