From 4ad2242e966e304358c88c0ee6fb4e155ccdf4ec Mon Sep 17 00:00:00 2001 From: John Reiser Date: Wed, 16 Oct 2002 18:52:17 +0000 Subject: [PATCH] half-way patch (don't abort upx) for filters 0x2Y and 0x3Y; needs work committer: jreiser 1034794337 +0000 --- src/stub/l_lx_elf86.asm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/stub/l_lx_elf86.asm b/src/stub/l_lx_elf86.asm index 2f6bc967..97e32374 100644 --- a/src/stub/l_lx_elf86.asm +++ b/src/stub/l_lx_elf86.asm @@ -68,15 +68,16 @@ decompress: ; // C callable decompressor ; **************************************************************************/ -%define INP dword [esp+8*4+4] -%define INS dword [esp+8*4+8] -%define OUTP dword [esp+8*4+12] -%define OUTS dword [esp+8*4+16] +%define INP dword [esp+8*4+8] +%define INS dword [esp+8*4+12] +%define OUTP dword [esp+8*4+16] +%define OUTS dword [esp+8*4+20] ;__LEXEC009__ ;; empty section for commonality with l_lx_exec86.asm ;__LEXEC010__ pusha + push byte '?' ; cto8 (sign extension does not matter) ; cld mov esi, INP @@ -107,6 +108,8 @@ decompress: mov edx, OUTS mov [edx], edi + pop edx ; cto8 + mov [7*4 + esp], eax popa ret