stubs *.elf-main.c: tighten input to first decompress of ELF headers

modified:   stub/src/amd64-linux.elf-main.c
	modified:   stub/src/i386-linux.elf-main.c
	also .h, .map
This commit is contained in:
John Reiser
2017-10-14 06:21:44 -07:00
parent a3e51e6dee
commit ad3f63b5c4
12 changed files with 505 additions and 498 deletions
+13 -13
View File
@@ -8,7 +8,7 @@ Linker script and memory map
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
.text 0x00000000001000bc 0x92c
.text 0x00000000001000bc 0x930
*(.text)
.text 0x00000000001000bc 0x238 tmp/arm64-linux.elf-fold.o
0x0000000000100228 my_bkpt
@@ -26,26 +26,26 @@ Linker script and memory map
0x00000000001002bc readlink
0x00000000001002c4 open
0x00000000001002e0 __clear_cache
.text 0x00000000001002f4 0x6f4 tmp/arm64-linux.elf-main.o
.text 0x00000000001002f4 0x6f8 tmp/arm64-linux.elf-main.o
0x0000000000100884 upx_main
*(.data)
.data 0x00000000001009e8 0x0 tmp/arm64-linux.elf-fold.o
.data 0x00000000001009e8 0x0 tmp/arm64-linux.elf-main.o
.data 0x00000000001009ec 0x0 tmp/arm64-linux.elf-fold.o
.data 0x00000000001009ec 0x0 tmp/arm64-linux.elf-main.o
.iplt 0x00000000001009e8 0x0
.iplt 0x00000000001009e8 0x0 tmp/arm64-linux.elf-fold.o
.iplt 0x00000000001009ec 0x0
.iplt 0x00000000001009ec 0x0 tmp/arm64-linux.elf-fold.o
.rela.dyn 0x00000000001009e8 0x0
.rela.iplt 0x00000000001009e8 0x0 tmp/arm64-linux.elf-fold.o
.rela.dyn 0x00000000001009f0 0x0
.rela.iplt 0x00000000001009f0 0x0 tmp/arm64-linux.elf-fold.o
.data
LOAD tmp/arm64-linux.elf-fold.o
LOAD tmp/arm64-linux.elf-main.o
OUTPUT(tmp/arm64-linux.elf-fold.bin elf64-littleaarch64)
.igot.plt 0x00000000001009e8 0x0
.igot.plt 0x00000000001009e8 0x0 tmp/arm64-linux.elf-fold.o
.igot.plt 0x00000000001009f0 0x0
.igot.plt 0x00000000001009f0 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x00000000001009e8 0x0
.bss 0x00000000001009e8 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x00000000001009e8 0x0 tmp/arm64-linux.elf-main.o
.bss 0x00000000001009ec 0x0
.bss 0x00000000001009ec 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x00000000001009ec 0x0 tmp/arm64-linux.elf-main.o