... 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/
71 lines
2.9 KiB
Plaintext
Vendored
Generated
71 lines
2.9 KiB
Plaintext
Vendored
Generated
|
|
Memory Configuration
|
|
|
|
Name Origin Length Attributes
|
|
*default* 0x0000000000000000 0xffffffffffffffff
|
|
|
|
Linker script and memory map
|
|
|
|
TARGET(elf64-powerpc)
|
|
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
|
|
|
|
.text 0x00000000001000bc 0xc08
|
|
*(.text)
|
|
.text 0x00000000001000bc 0x348 tmp/powerpc64-linux.elf-fold.o
|
|
0x00000000001000bc get_page_mask
|
|
0x0000000000100394 mmap
|
|
0x00000000001003ac Pprotect
|
|
0x00000000001003ac mprotect
|
|
0x00000000001003c4 exit
|
|
0x00000000001003cc brk
|
|
0x00000000001003d4 readlink
|
|
0x00000000001003dc read
|
|
0x00000000001003e4 open
|
|
0x00000000001003ec close
|
|
0x00000000001003f4 munmap
|
|
0x00000000001003fc my_bkpt
|
|
.text 0x0000000000100404 0x8c0 tmp/powerpc64-linux.elf-main.o
|
|
*(.data)
|
|
.data 0x0000000000100cc4 0x0 tmp/powerpc64-linux.elf-fold.o
|
|
.data 0x0000000000100cc4 0x0 tmp/powerpc64-linux.elf-main.o
|
|
|
|
.sfpr 0x0000000000100cc4 0xa4
|
|
.sfpr 0x0000000000100cc4 0xa4 linker stubs
|
|
0x0000000000100cc4 _savegpr0_14
|
|
0x0000000000100cec _savegpr0_24
|
|
0x0000000000100cfc _savegpr0_28
|
|
0x0000000000100d14 _restgpr0_14
|
|
0x0000000000100d3c _restgpr0_24
|
|
0x0000000000100d4c _restgpr0_28
|
|
|
|
.glink 0x0000000000100d68 0x0
|
|
.glink 0x0000000000100d68 0x0 linker stubs
|
|
|
|
.eh_frame 0x0000000000100d68 0x0
|
|
.eh_frame 0x0000000000100d68 0x0 linker stubs
|
|
|
|
.rela.dyn 0x0000000000100d68 0x0
|
|
.rela.iplt 0x0000000000100d68 0x0 linker stubs
|
|
|
|
.data
|
|
LOAD tmp/powerpc64-linux.elf-fold.o
|
|
LOAD tmp/powerpc64-linux.elf-main.o
|
|
OUTPUT(tmp/powerpc64-linux.elf-fold.bin elf64-powerpc)
|
|
|
|
.branch_lt 0x0000000000100d68 0x0
|
|
.branch_lt 0x0000000000100d68 0x0 linker stubs
|
|
|
|
.toc 0x0000000000100d68 0x0
|
|
.toc 0x0000000000100d68 0x0 tmp/powerpc64-linux.elf-main.o
|
|
|
|
.opd 0x0000000000100d68 0x58
|
|
.opd 0x0000000000100d68 0x58 tmp/powerpc64-linux.elf-main.o
|
|
0x0000000000100da8 upx_main
|
|
|
|
.iplt 0x0000000000100dc0 0x0
|
|
.iplt 0x0000000000100dc0 0x0 linker stubs
|
|
|
|
.bss 0x0000000000100dc0 0x0
|
|
.bss 0x0000000000100dc0 0x0 tmp/powerpc64-linux.elf-fold.o
|
|
.bss 0x0000000000100dc0 0x0 tmp/powerpc64-linux.elf-main.o
|