Bug in unfilter on x86* when region ends in 32-bit displacement.

https://github.com/upx/upx/issues/43
	modified:   stub/src/arch/amd64/bxx.S
	modified:   stub/src/arch/i386/macros.S
	plus all the stubs that use them
This commit is contained in:
John Reiser
2016-12-31 09:51:40 -08:00
committed by Markus F.X.J. Oberhumer
parent fdce705e55
commit ba9118aa58
44 changed files with 8782 additions and 8672 deletions
+8 -6
View File
@@ -146,10 +146,10 @@ Idx Name Size VMA LMA File off Algn Flags
141 LXMRU057 00000006 00000000 00000000 00001a10 2**0 CONTENTS, READONLY
142 LXMRU058 00000001 00000000 00000000 00001a16 2**0 CONTENTS, READONLY
143 LXUNF035 00000006 00000000 00000000 00001a17 2**0 CONTENTS, READONLY
144 ctok32.00 00000009 00000000 00000000 00001a1d 2**0 CONTENTS, RELOC, READONLY
145 ctok32.10 0000000e 00000000 00000000 00001a26 2**0 CONTENTS, RELOC, READONLY
146 ctok32.20 00000021 00000000 00000000 00001a34 2**0 CONTENTS, RELOC, READONLY
147 ctok32.30 00000007 00000000 00000000 00001a55 2**0 CONTENTS, RELOC, READONLY
144 ctok32.00 00000007 00000000 00000000 00001a1d 2**0 CONTENTS, RELOC, READONLY
145 ctok32.10 0000000e 00000000 00000000 00001a24 2**0 CONTENTS, RELOC, READONLY
146 ctok32.20 00000020 00000000 00000000 00001a32 2**0 CONTENTS, RELOC, READONLY
147 ctok32.30 0000000a 00000000 00000000 00001a52 2**0 CONTENTS, RELOC, READONLY
148 ctok32.40 00000005 00000000 00000000 00001a5c 2**0 CONTENTS, RELOC, READONLY
149 CALLTR00 00000010 00000000 00000000 00001a61 2**0 CONTENTS, RELOC, READONLY
150 CTCLEVE1 00000005 00000000 00000000 00001a71 2**0 CONTENTS, RELOC, READONLY
@@ -618,11 +618,13 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [ctok32.20]:
OFFSET TYPE VALUE
00000005 R_386_PC8 ctok32.40
00000009 R_386_PC8 ctok32.40
0000000a R_386_PC8 ctok32.40
00000010 R_386_PC8 ctok32.40
RELOCATION RECORDS FOR [ctok32.30]:
OFFSET TYPE VALUE
00000006 R_386_PC8 ctok32.10
00000004 R_386_PC8 ctok32.40
00000009 R_386_PC8 ctok32.10
RELOCATION RECORDS FOR [ctok32.40]:
OFFSET TYPE VALUE