From 03fffbc72449a7302be5dc9ca248ef20f5d181a1 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 29 Jan 2017 06:57:14 -0800 Subject: [PATCH] Re-base to upx-3.93 modified: src/stub/src/arch/amd64/bxx.S --- src/stub/src/arch/amd64/bxx.S | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stub/src/arch/amd64/bxx.S b/src/stub/src/arch/amd64/bxx.S index b1826489..da2472fb 100644 --- a/src/stub/src/arch/amd64/bxx.S +++ b/src/stub/src/arch/amd64/bxx.S @@ -37,6 +37,7 @@ amdbxx: # (*f_unf)(xo->buf, out_len, h.b_cto8, h.b_ftid); cmpl $0x49,ftid; jne ckend0 # filter: JMP, CALL, 6-byte Jxx #endif push %rbx # save + cld # convention should have guaranteed this already push %rdi; lea (1- 4)(%rdi,%rsi),%rcx # beyond last possible opcode pop %rsi # start of buffer