/proc/self/exe now is optional
... for the benefit of 'unshare', 'chroot', etc. If not present, then upx run-time stub unmaps all pages of original main program. https://github.com/upx/upx/issues/721 modified: stub/src/amd64-linux.elf-entry.S modified: stub/src/amd64-linux.elf-fold.S modified: stub/src/arm.v4a-linux.elf-entry.S modified: stub/src/arm.v4a-linux.elf-fold.S modified: stub/src/arm64-linux.elf-entry.S modified: stub/src/arm64-linux.elf-fold.S modified: stub/src/i386-linux.elf-fold.S modified: stub/src/mipsel.r3000-linux.elf-fold.S modified: stub/src/powerpc-linux.elf-fold.S modified: stub/src/powerpc64le-linux.elf-fold.S modified: ../misc/testsuite/upx_testsuite_1-expected_sha256sums.sh ... plus all associaed *.h, *.map, *.dump in stub/
This commit is contained in:
+4
-5
@@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn Flags
|
||||
8 LZMA_DEC10 0478 0 0 0d44 2**0 CONTENTS
|
||||
9 LZMA_DEC30 0 0 0 011bc 2**0 CONTENTS
|
||||
10 ELFMAINY 0 0 0 011bc 2**0 CONTENTS
|
||||
11 ELFMAINZ 0f0 0 0 011bc 2**2 CONTENTS
|
||||
11 ELFMAINZ 0d0 0 0 011bc 2**2 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
00000000 l d NRV2E 0 NRV2E
|
||||
00000000 l d NRV2D 0 NRV2D
|
||||
@@ -35,7 +35,7 @@ SYMBOL TABLE:
|
||||
00000000 g LZMA_DEC10 0 LzmaDecode
|
||||
00000000 g ELFMAINY 0 end_decompress
|
||||
00000000 *UND* 0 O_BINFO
|
||||
000000f0 g ELFMAINZ 0 cpr0
|
||||
000000d0 g ELFMAINZ 0 cpr0
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINX]:
|
||||
OFFSET TYPE VALUE
|
||||
@@ -250,6 +250,5 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
000000dc R_ARM_PC24 ELFMAINZ
|
||||
000000e8 R_ARM_PC24 ELFMAINZ
|
||||
000000ec R_ARM_ABS32 O_BINFO
|
||||
000000c8 R_ARM_PC24 ELFMAINZ
|
||||
000000cc R_ARM_ABS32 O_BINFO
|
||||
|
||||
Reference in New Issue
Block a user