arm64-linux hacking; returns from upx_main(), only launch remains!

modified:   stub/src/arch/arm64/v8/lzma_d.S
	modified:   stub/src/arch/arm64/v8/nrv2b_d32.S
	modified:   stub/src/arch/arm64/v8/nrv2d_d32.S
	modified:   stub/src/arch/arm64/v8/nrv2e_d32.S
	modified:   stub/src/arm64-linux.elf-entry.S
	modified:   stub/src/arm64-linux.elf-fold.S
	modified:   stub/src/arm64-linux.elf-main.c

	modified:   stub/arm64-darwin.macho-entry.h
	modified:   stub/arm64-linux.elf-entry.h
	modified:   stub/arm64-linux.elf-fold.h
	modified:   stub/arm64-linux.shlib-init.h
	modified:   stub/tmp/arm64-darwin.macho-entry.bin.dump
	modified:   stub/tmp/arm64-linux.elf-entry.bin.dump
	modified:   stub/tmp/arm64-linux.elf-fold.map
	modified:   stub/tmp/arm64-linux.shlib-init.bin.dump
This commit is contained in:
John Reiser
2017-03-21 21:54:49 -07:00
parent 2a128fe772
commit 2c4ef392f6
15 changed files with 1189 additions and 1247 deletions
+15 -15
View File
@@ -2,17 +2,17 @@ file format elf64-littleaarch64
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 ELFMAINX 00000040 0000000000000000 0000000000000000 00000040 2**2 CONTENTS, RELOC, READONLY
1 LUNMP000 00000004 0000000000000000 0000000000000000 00000080 2**2 CONTENTS, READONLY
2 LUNMP001 00000004 0000000000000000 0000000000000000 00000084 2**2 CONTENTS, READONLY
3 ELFMAINXu 000000bc 0000000000000000 0000000000000000 00000088 2**2 CONTENTS, RELOC, READONLY
4 NRV_HEAD 00000000 0000000000000000 0000000000000000 00000144 2**0 CONTENTS, READONLY
5 NRV_TAIL 00000000 0000000000000000 0000000000000000 00000144 2**0 CONTENTS, READONLY
6 NRV2E 00000128 0000000000000000 0000000000000000 00000144 2**2 CONTENTS, READONLY
7 NRV2D 00000114 0000000000000000 0000000000000000 0000026c 2**2 CONTENTS, READONLY
8 NRV2B 0000059c 0000000000000000 0000000000000000 00000380 2**2 CONTENTS, READONLY
9 ELFMAINY 0000003e 0000000000000000 0000000000000000 0000091c 2**2 CONTENTS, READONLY
10 ELFMAINZ 00000000 0000000000000000 0000000000000000 0000095a 2**0 CONTENTS, READONLY
0 ELFMAINX 0000003c 0000000000000000 0000000000000000 00000040 2**2 CONTENTS, RELOC, READONLY
1 LUNMP000 00000000 0000000000000000 0000000000000000 0000007c 2**0 CONTENTS, READONLY
2 LUNMP001 00000000 0000000000000000 0000000000000000 0000007c 2**0 CONTENTS, READONLY
3 ELFMAINXu 000000a8 0000000000000000 0000000000000000 0000007c 2**2 CONTENTS, RELOC, READONLY
4 NRV_HEAD 00000000 0000000000000000 0000000000000000 00000124 2**0 CONTENTS, READONLY
5 NRV_TAIL 00000000 0000000000000000 0000000000000000 00000124 2**0 CONTENTS, READONLY
6 NRV2E 00000128 0000000000000000 0000000000000000 00000124 2**2 CONTENTS, READONLY
7 NRV2D 0000011c 0000000000000000 0000000000000000 0000024c 2**2 CONTENTS, READONLY
8 NRV2B 000005a4 0000000000000000 0000000000000000 00000368 2**2 CONTENTS, READONLY
9 ELFMAINY 0000003e 0000000000000000 0000000000000000 0000090c 2**2 CONTENTS, READONLY
10 ELFMAINZ 00000000 0000000000000000 0000000000000000 0000094a 2**0 CONTENTS, READONLY
SYMBOL TABLE:
0000000000000000 l d ELFMAINY 0000000000000000 ELFMAINY
0000000000000000 l d ELFMAINX 0000000000000000 ELFMAINX
@@ -31,9 +31,9 @@ SYMBOL TABLE:
0000000000000000 *UND* 0000000000000000 ADRM
0000000000000014 g ELFMAINX 0000000000000000 _start
0000000000000000 g F NRV2E 0000000000000128 ucl_nrv2e_decompress_32
0000000000000000 g F NRV2D 0000000000000114 ucl_nrv2d_decompress_8
0000000000000000 g F NRV2B 00000000000000e8 ucl_nrv2b_decompress_8
00000000000000e8 g NRV2B 0000000000000000 LzmaDecode
0000000000000000 g F NRV2D 000000000000011c ucl_nrv2d_decompress_32
0000000000000000 g F NRV2B 00000000000000f0 ucl_nrv2b_decompress_32
00000000000000f0 g NRV2B 0000000000000000 LzmaDecode
0000000000000000 g ELFMAINY 0000000000000000 end_decompress
0000000000000000 g ELFMAINZ 0000000000000000 cpr0
@@ -46,4 +46,4 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [ELFMAINXu]:
OFFSET TYPE VALUE
0000000000000028 R_AARCH64_CONDBR19 ELFMAINY
0000000000000024 R_AARCH64_CONDBR19 ELFMAINY