Option --unmap-all-pages completely avoids /proc/self/exe

https://github.com/upx/upx/issues/749
This commit is contained in:
John Reiser
2024-06-18 10:18:32 -07:00
committed by Markus F.X.J. Oberhumer
parent 3b36dce5c2
commit de8de9c0f0
67 changed files with 10710 additions and 10443 deletions
+26 -26
View File
@@ -8,34 +8,34 @@ Linker script and memory map
0x0000000000008040 . = ((0x8000 + SIZEOF_HEADERS) + 0xc)
.text 0x0000000000008040 0xaec
.text 0x0000000000008040 0xb60
*(.text)
.text 0x0000000000008040 0x348 tmp/arm.v4a-linux.elf-fold.o
0x0000000000008260 my_bkpt
0x0000000000008268 exit
0x000000000000826c read
0x0000000000008274 write
0x000000000000827c open
0x0000000000008284 close
0x000000000000828c unlink
0x0000000000008294 getpid
0x000000000000829c brk
0x00000000000082a4 readlink
0x00000000000082ac munmap
0x00000000000082b4 Pprotect
0x00000000000082b4 mprotect
0x00000000000082cc mmap
0x0000000000008300 __clear_cache
0x000000000000830c get_sys_munmap
0x0000000000008314 mmap_privanon
0x000000000000832c __udivsi3
0x000000000000832c div10
.text 0x0000000000008388 0x7a4 tmp/arm.v4a-linux.elf-main.o
0x0000000000008388 get_page_mask
0x00000000000089f8 upx_main
.text 0x0000000000008040 0x3c0 tmp/arm.v4a-linux.elf-fold.o
0x0000000000008048 get_page_mask
0x00000000000082d8 my_bkpt
0x00000000000082e0 exit
0x00000000000082e4 read
0x00000000000082ec write
0x00000000000082f4 open
0x00000000000082fc close
0x0000000000008304 unlink
0x000000000000830c getpid
0x0000000000008314 brk
0x000000000000831c readlink
0x0000000000008324 munmap
0x000000000000832c Pprotect
0x000000000000832c mprotect
0x0000000000008344 mmap
0x0000000000008378 __clear_cache
0x0000000000008384 get_sys_munmap
0x000000000000838c mmap_privanon
0x00000000000083a4 __udivsi3
0x00000000000083a4 div10
.text 0x0000000000008400 0x7a0 tmp/arm.v4a-linux.elf-main.o
0x0000000000008a6c upx_main
*(.data)
.data 0x0000000000008b2c 0x0 tmp/arm.v4a-linux.elf-fold.o
.data 0x0000000000008b2c 0x0 tmp/arm.v4a-linux.elf-main.o
.data 0x0000000000008ba0 0x0 tmp/arm.v4a-linux.elf-fold.o
.data 0x0000000000008ba0 0x0 tmp/arm.v4a-linux.elf-main.o
.data
LOAD tmp/arm.v4a-linux.elf-fold.o