From cbb9b067d24fdd3d54201d12bd27750f3d367343 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 10 Oct 2016 00:54:56 -0400 Subject: Split jrp nops on dword boundaries --- .bin/jrp.c | 6 +++--- 1 file 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 -- cgit 1.4.1