32-bit ELF escape hatch when no fit on last executable page

... about 1/1000 (4/PAGE_SIZE) chance
	modified:   src/stub/src/i386-linux.elf-main.c
	modified:   misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
   plus all 32-bit elf-fold.h, elf-fold.map
This commit is contained in:
John Reiser
2024-05-06 09:42:13 -07:00
parent 6fc0a00ac8
commit e5546bc8b0
17 changed files with 1047 additions and 1053 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ Linker script and memory map
0x0000000000008040 . = ((0x8000 + SIZEOF_HEADERS) + 0xc)
.text 0x0000000000008040 0xafc
.text 0x0000000000008040 0xaec
*(.text)
.text 0x0000000000008040 0x348 tmp/arm.v4a-linux.elf-fold.o
0x0000000000008260 my_bkpt
@@ -30,12 +30,12 @@ Linker script and memory map
0x0000000000008314 mmap_privanon
0x000000000000832c __udivsi3
0x000000000000832c div10
.text 0x0000000000008388 0x7b4 tmp/arm.v4a-linux.elf-main.o
.text 0x0000000000008388 0x7a4 tmp/arm.v4a-linux.elf-main.o
0x0000000000008388 get_page_mask
0x0000000000008a08 upx_main
0x00000000000089f8 upx_main
*(.data)
.data 0x0000000000008b3c 0x0 tmp/arm.v4a-linux.elf-fold.o
.data 0x0000000000008b3c 0x0 tmp/arm.v4a-linux.elf-main.o
.data 0x0000000000008b2c 0x0 tmp/arm.v4a-linux.elf-fold.o
.data 0x0000000000008b2c 0x0 tmp/arm.v4a-linux.elf-main.o
.data
LOAD tmp/arm.v4a-linux.elf-fold.o