Update AT_BASE for musl-libc
https://github.com/upx/upx/issues/93 modified: stub/src/amd64-linux.elf-main.c modified: stub/src/i386-linux.elf-main.c modified: stub/src/powerpc64le-linux.elf-main.c modified: stub/amd64-linux.elf-fold.h modified: stub/powerpc64le-linux.elf-fold.h modified: stub/tmp/amd64-linux.elf-fold.map modified: stub/tmp/powerpc64le-linux.elf-fold.map modified: ../.github/travis_testsuite_1.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* amd64-linux.elf-fold.h
|
||||
created from amd64-linux.elf-fold.bin, 1834 (0x72a) bytes
|
||||
created from amd64-linux.elf-fold.bin, 1872 (0x750) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
@@ -31,20 +31,20 @@
|
||||
*/
|
||||
|
||||
|
||||
#define STUB_AMD64_LINUX_ELF_FOLD_SIZE 1834
|
||||
#define STUB_AMD64_LINUX_ELF_FOLD_ADLER32 0x23e9ba60
|
||||
#define STUB_AMD64_LINUX_ELF_FOLD_CRC32 0x69403c4c
|
||||
#define STUB_AMD64_LINUX_ELF_FOLD_SIZE 1872
|
||||
#define STUB_AMD64_LINUX_ELF_FOLD_ADLER32 0x40f8c9fd
|
||||
#define STUB_AMD64_LINUX_ELF_FOLD_CRC32 0xa53313c8
|
||||
|
||||
unsigned char stub_amd64_linux_elf_fold[1834] = {
|
||||
unsigned char stub_amd64_linux_elf_fold[1872] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 2, 0, 62, 0, 1, 0, 0, 0,188, 0, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0030 */ 0, 0, 0, 0, 64, 0, 56, 0, 2, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0040 */ 1, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0050 */ 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0060 */ 42, 7, 0, 0, 0, 0, 0, 0, 44, 7, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0060 */ 80, 7, 0, 0, 0, 0, 0, 0, 80, 7, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0070 */ 0, 0, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0080 */ 42, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0080 */ 80, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0090 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x00a0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x00b0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,232, 89, 0, 0,
|
||||
@@ -131,24 +131,26 @@ unsigned char stub_amd64_linux_elf_fold[1834] = {
|
||||
/* 0x05c0 */ 0, 0, 0,116, 16, 72,139, 68, 36, 24, 72,139,148, 36,160, 0,
|
||||
/* 0x05d0 */ 0, 0, 72,137, 2, 73,139, 87, 24, 72, 1, 84, 36, 24, 72,139,
|
||||
/* 0x05e0 */ 68, 36, 24, 72,131,196,104, 91, 93, 65, 92, 65, 93, 65, 94, 65,
|
||||
/* 0x05f0 */ 95,195, 65, 86, 76,141,114, 64, 65, 85, 77,137,205, 65, 84, 77,
|
||||
/* 0x0600 */ 137,196, 85, 72,137,213, 83, 72,137,203, 49,201, 72,131,236, 48,
|
||||
/* 0x0610 */ 139, 7, 72,137, 52, 36, 72,137,116, 36, 16, 72,141,116, 36, 32,
|
||||
/* 0x0620 */ 72,137, 84, 36, 40, 72,137,124, 36, 8, 76,137,194, 72,137,124,
|
||||
/* 0x0630 */ 36, 24, 72,137,231, 72,137, 68, 36, 32,232,217,251,255,255, 73,
|
||||
/* 0x0640 */ 139, 86, 16,190, 3, 0, 0, 0, 72,137,223, 72,131,194, 64,232,
|
||||
/* 0x0650 */ 209,252,255,255, 72, 15,183, 85, 56,190, 5, 0, 0, 0, 72,137,
|
||||
/* 0x0660 */ 223,232,191,252,255,255, 65, 83, 77,137,233, 77,137,224, 49,210,
|
||||
/* 0x0670 */ 72,137,217, 72,137,239, 72,141, 68, 36,104, 72,141,116, 36, 24,
|
||||
/* 0x0680 */ 69, 49,237, 80,232,206,252,255,255,190, 9, 0, 0, 0, 72,137,
|
||||
/* 0x0690 */ 194, 72,137,223, 73,137,196,232,137,252,255,255,102,131,125, 56,
|
||||
/* 0x06a0 */ 0, 65, 89, 65, 90,116,115, 65,131, 62, 3,117, 93, 72,139,124,
|
||||
/* 0x06b0 */ 36, 96, 73, 3,126, 16, 49,210, 49,246,232, 18,251,255,255,133,
|
||||
/* 0x06c0 */ 192,137,195,120, 23,186, 0, 4, 0, 0, 72,137,238,137,199,232,
|
||||
/* 0x06d0 */ 249,250,255,255, 72, 61, 0, 4, 0, 0,116, 10,191,127, 0, 0,
|
||||
/* 0x06e0 */ 0,232,243,250,255,255, 65, 80, 49,246, 69, 49,201, 69, 49,192,
|
||||
/* 0x06f0 */ 49,201,106, 0,137,218, 72,137,239,232, 89,252,255,255,137,223,
|
||||
/* 0x0700 */ 73,137,196,232,205,250,255,255, 94, 95, 15,183, 69, 56, 65,255,
|
||||
/* 0x0710 */ 197, 73,131,198, 56, 65, 57,197,124,141, 72,131,196, 48, 76,137,
|
||||
/* 0x0720 */ 224, 91, 93, 65, 92, 65, 93, 65, 94,195
|
||||
/* 0x05f0 */ 95,195, 65, 87, 69, 49,255, 65, 86, 73,137,206, 49,201, 65, 85,
|
||||
/* 0x0600 */ 76,141,106, 64, 65, 84, 77,137,204, 85, 72,137,213, 83, 76,137,
|
||||
/* 0x0610 */ 195, 72,131,236, 56,139, 7, 72,137, 52, 36, 72,137,116, 36, 16,
|
||||
/* 0x0620 */ 72,141,116, 36, 32, 72,137, 84, 36, 40, 72,137,124, 36, 8, 76,
|
||||
/* 0x0630 */ 137,194, 72,137,124, 36, 24, 72,137,231, 72,137, 68, 36, 32,232,
|
||||
/* 0x0640 */ 212,251,255,255, 73,139, 85, 16,190, 3, 0, 0, 0, 76,137,247,
|
||||
/* 0x0650 */ 72,131,194, 64,232,204,252,255,255, 72, 15,183, 85, 56,190, 5,
|
||||
/* 0x0660 */ 0, 0, 0, 76,137,247,232,186,252,255,255, 65, 83, 77,137,225,
|
||||
/* 0x0670 */ 49,210, 73,137,216, 76,137,241, 72,137,239, 72,141, 68, 36,120,
|
||||
/* 0x0680 */ 72,141,116, 36, 24, 80,232,204,252,255,255,190, 9, 0, 0, 0,
|
||||
/* 0x0690 */ 72,137,194, 76,137,247, 73,137,196,232,135,252,255,255,102,131,
|
||||
/* 0x06a0 */ 125, 56, 0, 65, 89, 65, 90, 15,132,145, 0, 0, 0, 65,131,125,
|
||||
/* 0x06b0 */ 0, 3,117,118, 72,139,124, 36,112, 73, 3,125, 16, 49,210, 49,
|
||||
/* 0x06c0 */ 246,232, 11,251,255,255,133,192,137,195,120, 23,186, 0, 4, 0,
|
||||
/* 0x06d0 */ 0, 72,137,238,137,199,232,242,250,255,255, 72, 61, 0, 4, 0,
|
||||
/* 0x06e0 */ 0,116, 10,191,127, 0, 0, 0,232,236,250,255,255, 65, 80, 69,
|
||||
/* 0x06f0 */ 49,201, 69, 49,192, 49,201,137,218, 72,141, 68, 36,120, 49,246,
|
||||
/* 0x0700 */ 72,137,239, 80,232, 78,252,255,255, 72,139,148, 36,128, 0, 0,
|
||||
/* 0x0710 */ 0,190, 7, 0, 0, 0, 76,137,247, 73,137,196,232, 4,252,255,
|
||||
/* 0x0720 */ 255,137,223,232,173,250,255,255, 94, 95, 15,183, 69, 56, 65,255,
|
||||
/* 0x0730 */ 199, 73,131,197, 56, 65, 57,199, 15,140,111,255,255,255, 72,131,
|
||||
/* 0x0740 */ 196, 56, 76,137,224, 91, 93, 65, 92, 65, 93, 65, 94, 65, 95,195
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* powerpc64le-linux.elf-fold.h
|
||||
created from powerpc64le-linux.elf-fold.bin, 2507 (0x9cb) bytes
|
||||
created from powerpc64le-linux.elf-fold.bin, 2523 (0x9db) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
@@ -31,21 +31,21 @@
|
||||
*/
|
||||
|
||||
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_SIZE 2507
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_ADLER32 0x6a408a67
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_CRC32 0xc4e7756e
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_SIZE 2523
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_ADLER32 0x17379359
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_CRC32 0x667bf611
|
||||
|
||||
unsigned char stub_powerpc64le_linux_elf_fold[2507] = {
|
||||
unsigned char stub_powerpc64le_linux_elf_fold[2523] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 2, 0, 21, 0, 1, 0, 0, 0,128, 9, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 2, 0, 21, 0, 1, 0, 0, 0,144, 9, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0030 */ 1, 0, 0, 0, 64, 0, 56, 0, 2, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0040 */ 1, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0050 */ 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0060 */ 124, 9, 0, 0, 0, 0, 0, 0,124, 9, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0060 */ 140, 9, 0, 0, 0, 0, 0, 0,140, 9, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0070 */ 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 6, 0, 0, 0,
|
||||
/* 0x0080 */ 128, 9, 0, 0, 0, 0, 0, 0,128, 9, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0090 */ 128, 9, 16, 0, 0, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0080 */ 144, 9, 0, 0, 0, 0, 0, 0,144, 9, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0090 */ 144, 9, 16, 0, 0, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x00a0 */ 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
|
||||
/* 0x00b0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,125, 0, 0, 72,
|
||||
/* 0x00c0 */ 208, 0, 6, 40, 32, 0,194, 76,191,240,132, 84, 32, 0,194, 77,
|
||||
@@ -86,7 +86,7 @@ unsigned char stub_powerpc64le_linux_elf_fold[2507] = {
|
||||
/* 0x02f0 */ 1, 0, 41, 57,240,255,255, 75, 8, 0, 67,233, 20, 74, 74,125,
|
||||
/* 0x0300 */ 8, 0, 67,249, 0, 0, 67,233, 80, 80, 41,125, 0, 0, 35,249,
|
||||
/* 0x0310 */ 32, 0,128, 78, 0, 0, 0, 0, 0, 0, 0, 1,128, 0, 0, 0,
|
||||
/* 0x0320 */ 38, 0,128,125,166, 2, 8,124, 8, 0,129,145,229, 5, 0, 72,
|
||||
/* 0x0320 */ 38, 0,128,125,166, 2, 8,124, 8, 0,129,145,245, 5, 0, 72,
|
||||
/* 0x0330 */ 81,255, 33,248,120, 27,126,124,120, 35,159,124,120, 43,189,124,
|
||||
/* 0x0340 */ 120, 51,220,124, 0, 0, 38, 46, 0, 0, 63,233, 0, 0,169, 47,
|
||||
/* 0x0350 */ 64, 1,158, 65,120,243,195,127,112, 0,129, 56, 12, 0,160, 56,
|
||||
@@ -109,9 +109,9 @@ unsigned char stub_powerpc64le_linux_elf_fold[2507] = {
|
||||
/* 0x0460 */ 120, 43,164,124,120,243,195,127,120, 75, 37,125, 69,254,255, 75,
|
||||
/* 0x0470 */ 112, 0, 1,129, 8, 0, 95,233, 0, 0, 63,233, 20, 66, 74,125,
|
||||
/* 0x0480 */ 80, 72, 40,125, 8, 0, 95,249, 0, 0, 63,249,188,254,255, 75,
|
||||
/* 0x0490 */ 176, 0, 33, 56, 8, 0,129,129, 32,129,144,125,196, 4, 0, 72,
|
||||
/* 0x0490 */ 176, 0, 33, 56, 8, 0,129,129, 32,129,144,125,212, 4, 0, 72,
|
||||
/* 0x04a0 */ 0, 0, 0, 0, 0, 0, 0, 3,128, 4, 0, 0,166, 2, 8,124,
|
||||
/* 0x04b0 */ 38, 0,128,125, 37, 4, 0, 72,120, 75, 58,125, 16, 0, 35,161,
|
||||
/* 0x04b0 */ 38, 0,128,125, 53, 4, 0, 72,120, 75, 58,125, 16, 0, 35,161,
|
||||
/* 0x04c0 */ 32, 0,163,235,120, 51,215,124,120, 27,123,124,120, 35,153,124,
|
||||
/* 0x04d0 */ 3, 0,137, 47, 8, 0,129,145,241,254, 33,248,120, 43,184,124,
|
||||
/* 0x04e0 */ 120, 59,246,124,120, 67, 21,125, 20,234,163,127, 16, 0,192, 56,
|
||||
@@ -152,45 +152,46 @@ unsigned char stub_powerpc64le_linux_elf_fold[2507] = {
|
||||
/* 0x0710 */ 1, 0,148, 58, 56, 0,189, 59,180, 7,148,126,124,254,255, 75,
|
||||
/* 0x0720 */ 0, 0,186, 47, 8, 0,158, 65, 0, 0,218,251, 16, 1, 33, 56,
|
||||
/* 0x0730 */ 24, 0,123,232, 20, 26,126,124, 8, 0,129,129, 32,129,144,125,
|
||||
/* 0x0740 */ 232, 1, 0, 72, 0, 0, 0, 0, 0, 0, 0, 3,128, 18, 0, 0,
|
||||
/* 0x0750 */ 166, 2, 8,124,232,255,132, 56, 0, 0,192, 56,177, 1, 0, 72,
|
||||
/* 0x0760 */ 33,255, 33,248,120, 43,191,124,120, 75, 62,125, 64, 0,165, 59,
|
||||
/* 0x0770 */ 24, 0, 35, 57,144, 0,129,248,136, 0,161,248,120, 59,229,124,
|
||||
/* 0x0780 */ 112, 0,129,248,120, 0, 33,249,152, 0, 33,249,224, 0,129, 59,
|
||||
/* 0x0790 */ 128, 0,129, 56,105, 0, 92,249, 24, 0, 67,129,144, 0, 97, 56,
|
||||
/* 0x07a0 */ 128, 0, 65,249,160, 0,225,248,168, 0, 1,249,117,251,255, 75,
|
||||
/* 0x07b0 */ 80, 0,191,232,120,243,195,127, 3, 0,128, 56, 64, 0,165, 56,
|
||||
/* 0x07c0 */ 173,250,255, 75, 56, 0,191,160,120,243,195,127, 5, 0,128, 56,
|
||||
/* 0x07d0 */ 157,250,255, 75, 24, 0,191,128,120,243,195,127, 9, 0,128, 56,
|
||||
/* 0x07e0 */ 141,250,255, 75,160, 0,225,232,168, 0, 1,233,120,243,198,127,
|
||||
/* 0x07f0 */ 112, 0,129, 56, 0, 0,160, 56,120,251,227,127,120,227,137,127,
|
||||
/* 0x0800 */ 173,252,255, 75, 9, 0,128, 56,120, 27,124,124,120,243,195,127,
|
||||
/* 0x0810 */ 120,227,133,127, 0, 0,192, 59, 85,250,255, 75, 56, 0, 63,161,
|
||||
/* 0x0820 */ 0,240,137,127,156, 0,157, 64, 0, 0, 61,129, 3, 0,137, 47,
|
||||
/* 0x0830 */ 128, 0,158, 64, 16, 0,125,232, 72, 1, 33,233, 0, 0,128, 56,
|
||||
/* 0x0740 */ 248, 1, 0, 72, 0, 0, 0, 0, 0, 0, 0, 3,128, 18, 0, 0,
|
||||
/* 0x0750 */ 166, 2, 8,124,232,255,132, 56, 0, 0,192, 56,185, 1, 0, 72,
|
||||
/* 0x0760 */ 17,255, 33,248,120, 43,191,124,120, 75, 62,125, 64, 0,133, 59,
|
||||
/* 0x0770 */ 24, 0, 35, 57, 0, 0,160, 59,144, 0,129,248,136, 0,161,248,
|
||||
/* 0x0780 */ 120, 59,229,124,112, 0,129,248,120, 0, 33,249,152, 0, 33,249,
|
||||
/* 0x0790 */ 240, 0, 97, 59,128, 0,129, 56,105, 0, 91,249, 24, 0, 67,129,
|
||||
/* 0x07a0 */ 144, 0, 97, 56,128, 0, 65,249,160, 0,225,248,168, 0, 1,249,
|
||||
/* 0x07b0 */ 113,251,255, 75, 80, 0,191,232,120,243,195,127, 3, 0,128, 56,
|
||||
/* 0x07c0 */ 64, 0,165, 56,169,250,255, 75, 56, 0,191,160,120,243,195,127,
|
||||
/* 0x07d0 */ 5, 0,128, 56,153,250,255, 75, 24, 0,191,128,120,243,195,127,
|
||||
/* 0x07e0 */ 9, 0,128, 56,137,250,255, 75,160, 0,225,232,168, 0, 1,233,
|
||||
/* 0x07f0 */ 112, 0,129, 56, 0, 0,160, 56,120,243,198,127,120,251,227,127,
|
||||
/* 0x0800 */ 120,219,105,127,169,252,255, 75, 9, 0,128, 56,120, 27,122,124,
|
||||
/* 0x0810 */ 120,243,195,127,120,211, 69,127, 85,250,255, 75, 56, 0, 63,161,
|
||||
/* 0x0820 */ 0,232,137,127,172, 0,157, 64, 0, 0, 60,129, 3, 0,137, 47,
|
||||
/* 0x0830 */ 144, 0,158, 64, 16, 0,124,232, 88, 1, 33,233, 0, 0,128, 56,
|
||||
/* 0x0840 */ 0, 0,160, 56, 20, 74, 99,124,253,249,255, 75, 0, 0, 0, 96,
|
||||
/* 0x0850 */ 0, 0,131, 47,120, 27,123,124, 16, 0,252, 64,127, 0, 96, 56,
|
||||
/* 0x0850 */ 0, 0,131, 47,120, 27,121,124, 16, 0,252, 64,127, 0, 96, 56,
|
||||
/* 0x0860 */ 213,249,255, 75, 0, 0, 0, 96,120,251,228,127, 0, 4,160, 56,
|
||||
/* 0x0870 */ 205,249,255, 75, 0, 0, 0, 96, 0, 4,163, 47,224,255,222, 64,
|
||||
/* 0x0880 */ 120,251,227,127, 0, 0,128, 56,120,219,101,127, 0, 0,192, 56,
|
||||
/* 0x0890 */ 0, 0,224, 56, 0, 0, 0, 57, 0, 0, 32, 57, 17,252,255, 75,
|
||||
/* 0x08a0 */ 120, 27,124,124,120,219, 99,127,165,249,255, 75, 0, 0, 0, 96,
|
||||
/* 0x08b0 */ 1, 0,222, 59, 56, 0,189, 59,180, 7,222,127, 96,255,255, 75,
|
||||
/* 0x08c0 */ 224, 0, 33, 56,120,227,131,127,148, 0, 0, 72, 0, 0, 0, 0,
|
||||
/* 0x08d0 */ 0, 0, 0, 1,128, 5, 0, 0,112,255,193,249,120,255,225,249,
|
||||
/* 0x08e0 */ 128,255, 1,250,136,255, 33,250,144,255, 65,250,152,255, 97,250,
|
||||
/* 0x08f0 */ 160,255,129,250,168,255,161,250,176,255,193,250,184,255,225,250,
|
||||
/* 0x0900 */ 192,255, 1,251,200,255, 33,251,208,255, 65,251,216,255, 97,251,
|
||||
/* 0x0910 */ 224,255,129,251,232,255,161,251,240,255,193,251,248,255,225,251,
|
||||
/* 0x0920 */ 16, 0, 1,248, 32, 0,128, 78,112,255,193,233,120,255,225,233,
|
||||
/* 0x0930 */ 128,255, 1,234,136,255, 33,234,144,255, 65,234,152,255, 97,234,
|
||||
/* 0x0940 */ 160,255,129,234,168,255,161,234,176,255,193,234,184,255,225,234,
|
||||
/* 0x0950 */ 192,255, 1,235,200,255, 33,235,208,255, 65,235,216,255, 97,235,
|
||||
/* 0x0960 */ 224,255,129,235, 16, 0, 1,232,232,255,161,235,166, 3, 8,124,
|
||||
/* 0x0970 */ 240,255,193,235,248,255,225,235, 32, 0,128, 78, 0, 0, 0, 0,
|
||||
/* 0x0980 */ 108, 2, 16, 0, 0, 0, 0, 0,128,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0990 */ 176, 2, 16, 0, 0, 0, 0, 0,128,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09a0 */ 32, 3, 16, 0, 0, 0, 0, 0,128,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09b0 */ 172, 4, 16, 0, 0, 0, 0, 0,128,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09c0 */ 80, 7, 16, 0, 0, 0, 0, 0,128,137, 16
|
||||
/* 0x0880 */ 0, 0,128, 56,120,203, 37,127, 0, 0,192, 56, 0, 0,224, 56,
|
||||
/* 0x0890 */ 0, 0, 0, 57,120,219,105,127,120,251,227,127, 17,252,255, 75,
|
||||
/* 0x08a0 */ 88, 1,161,232, 7, 0,128, 56,120, 27,122,124,120,243,195,127,
|
||||
/* 0x08b0 */ 189,249,255, 75,120,203, 35,127,149,249,255, 75, 0, 0, 0, 96,
|
||||
/* 0x08c0 */ 1, 0,189, 59, 56, 0,156, 59,180, 7,189,127, 80,255,255, 75,
|
||||
/* 0x08d0 */ 240, 0, 33, 56,120,211, 67,127,140, 0, 0, 72, 0, 0, 0, 0,
|
||||
/* 0x08e0 */ 0, 0, 0, 1,128, 7, 0, 0,112,255,193,249,120,255,225,249,
|
||||
/* 0x08f0 */ 128,255, 1,250,136,255, 33,250,144,255, 65,250,152,255, 97,250,
|
||||
/* 0x0900 */ 160,255,129,250,168,255,161,250,176,255,193,250,184,255,225,250,
|
||||
/* 0x0910 */ 192,255, 1,251,200,255, 33,251,208,255, 65,251,216,255, 97,251,
|
||||
/* 0x0920 */ 224,255,129,251,232,255,161,251,240,255,193,251,248,255,225,251,
|
||||
/* 0x0930 */ 16, 0, 1,248, 32, 0,128, 78,112,255,193,233,120,255,225,233,
|
||||
/* 0x0940 */ 128,255, 1,234,136,255, 33,234,144,255, 65,234,152,255, 97,234,
|
||||
/* 0x0950 */ 160,255,129,234,168,255,161,234,176,255,193,234,184,255,225,234,
|
||||
/* 0x0960 */ 192,255, 1,235,200,255, 33,235,208,255, 65,235,216,255, 97,235,
|
||||
/* 0x0970 */ 224,255,129,235, 16, 0, 1,232,232,255,161,235,166, 3, 8,124,
|
||||
/* 0x0980 */ 240,255,193,235,248,255,225,235, 32, 0,128, 78, 0, 0, 0, 0,
|
||||
/* 0x0990 */ 108, 2, 16, 0, 0, 0, 0, 0,144,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09a0 */ 176, 2, 16, 0, 0, 0, 0, 0,144,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09b0 */ 32, 3, 16, 0, 0, 0, 0, 0,144,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09c0 */ 172, 4, 16, 0, 0, 0, 0, 0,144,137, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x09d0 */ 80, 7, 16, 0, 0, 0, 0, 0,144,137, 16
|
||||
};
|
||||
|
||||
@@ -344,7 +344,7 @@ upx_main( // returns entry address
|
||||
//auxv_up(av, AT_PAGESZ, PAGE_SIZE); /* ld-linux.so.2 does not need this */
|
||||
|
||||
entry = do_xmap(ehdr, &xi1, 0, av, f_decompress, f_unf, &reloc); // "rewind"
|
||||
auxv_up(av, AT_ENTRY , entry);
|
||||
auxv_up(av, AT_ENTRY, entry);
|
||||
|
||||
{ // Map PT_INTERP program interpreter
|
||||
int j;
|
||||
@@ -358,7 +358,8 @@ upx_main( // returns entry address
|
||||
ERR_LAB
|
||||
err_exit(19);
|
||||
}
|
||||
entry = do_xmap(ehdr, 0, fdi, 0, 0, 0, 0);
|
||||
entry = do_xmap(ehdr, 0, fdi, 0, 0, 0, &reloc);
|
||||
auxv_up(av, AT_BASE, reloc); // musl
|
||||
close(fdi);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -813,7 +813,7 @@ ERR_LAB
|
||||
err_exit(19);
|
||||
}
|
||||
entry = do_xmap(fdi, ehdr, 0, av, &reloc, 0);
|
||||
auxv_up(av, AT_BASE, reloc); // uClibc only?
|
||||
auxv_up(av, AT_BASE, reloc); // uClibc and musl
|
||||
close(fdi);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -323,9 +323,9 @@ void *upx_main(
|
||||
unpackExtent(&xi, &xo, f_decompress, 0); // never filtered?
|
||||
|
||||
// AT_PHDR.a_un.a_val is set again by do_xmap if PT_PHDR is present.
|
||||
auxv_up(av, (unsigned ) AT_PHDR , (long )(1+(Elf64_Ehdr *)phdr->p_vaddr));
|
||||
auxv_up(av, (unsigned ) AT_PHNUM , ehdr->e_phnum);
|
||||
auxv_up(av, (unsigned ) AT_ENTRY , (unsigned ) ehdr->e_entry);
|
||||
auxv_up(av, (unsigned)AT_PHDR , (long )(1+(Elf64_Ehdr *)phdr->p_vaddr));
|
||||
auxv_up(av, (unsigned)AT_PHNUM , ehdr->e_phnum);
|
||||
auxv_up(av, (unsigned)AT_ENTRY , (unsigned ) ehdr->e_entry);
|
||||
//auxv_up(av, AT_PHENT , ehdr->e_phentsize); /* this can never change */
|
||||
//auxv_up(av, AT_PAGESZ, PAGE_SIZE); /* ld-linux.so.2 does not need this */
|
||||
|
||||
@@ -344,7 +344,8 @@ void *upx_main(
|
||||
ERR_LAB
|
||||
err_exit(19);
|
||||
}
|
||||
entry = do_xmap(ehdr, 0, fdi, 0, 0, 0, 0);
|
||||
entry = do_xmap(ehdr, 0, fdi, 0, 0, 0, &reloc);
|
||||
auxv_up(av, (unsigned)AT_BASE, reloc);
|
||||
close(fdi);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ Linker script and memory map
|
||||
|
||||
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
|
||||
|
||||
.text 0x00000000001000bc 0x670
|
||||
.text 0x00000000001000bc 0x694
|
||||
*(.text)
|
||||
.text 0x00000000001000bc 0x121 tmp/amd64-linux.elf-fold.o
|
||||
0x00000000001001aa munmap
|
||||
@@ -20,20 +20,19 @@ Linker script and memory map
|
||||
0x00000000001001ae mprotect
|
||||
0x00000000001001d5 close
|
||||
*fill* 0x00000000001001dd 0x3 00
|
||||
.text 0x00000000001001e0 0x54a tmp/amd64-linux.elf-main.o
|
||||
.text 0x00000000001001e0 0x570 tmp/amd64-linux.elf-main.o
|
||||
0x00000000001005f2 upx_main
|
||||
*(.data)
|
||||
*fill* 0x000000000010072a 0x2 00
|
||||
.data 0x000000000010072c 0x0 tmp/amd64-linux.elf-fold.o
|
||||
.data 0x000000000010072c 0x0 tmp/amd64-linux.elf-main.o
|
||||
.data 0x0000000000100750 0x0 tmp/amd64-linux.elf-fold.o
|
||||
.data 0x0000000000100750 0x0 tmp/amd64-linux.elf-main.o
|
||||
|
||||
.data
|
||||
|
||||
.bss 0x000000000010072c 0x0
|
||||
.bss 0x000000000010072c 0x0 tmp/amd64-linux.elf-fold.o
|
||||
.bss 0x000000000010072c 0x0 tmp/amd64-linux.elf-main.o
|
||||
.bss 0x0000000000100750 0x0
|
||||
.bss 0x0000000000100750 0x0 tmp/amd64-linux.elf-fold.o
|
||||
.bss 0x0000000000100750 0x0 tmp/amd64-linux.elf-main.o
|
||||
|
||||
.rela.dyn 0x0000000000100730 0x0
|
||||
.rela.dyn 0x0000000000100750 0x0
|
||||
.rela.text 0x0000000000000000 0x0 tmp/amd64-linux.elf-fold.o
|
||||
LOAD tmp/amd64-linux.elf-fold.o
|
||||
LOAD tmp/amd64-linux.elf-main.o
|
||||
|
||||
@@ -9,7 +9,7 @@ Linker script and memory map
|
||||
TARGET(elf64-powerpcle)
|
||||
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
|
||||
|
||||
.text 0x00000000001000bc 0x81c
|
||||
.text 0x00000000001000bc 0x82c
|
||||
*(.text)
|
||||
.text 0x00000000001000bc 0x1b0 tmp/powerpc64le-linux.elf-fold.o
|
||||
0x0000000000100220 mmap
|
||||
@@ -20,47 +20,47 @@ TARGET(elf64-powerpcle)
|
||||
0x0000000000100254 mprotect
|
||||
0x000000000010025c munmap
|
||||
0x0000000000100264 brk
|
||||
.text 0x000000000010026c 0x66c tmp/powerpc64le-linux.elf-main.o
|
||||
.text 0x000000000010026c 0x67c tmp/powerpc64le-linux.elf-main.o
|
||||
*(.data)
|
||||
.data 0x00000000001008d8 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.data 0x00000000001008d8 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
.data 0x00000000001008e8 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.data 0x00000000001008e8 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
|
||||
.sfpr 0x00000000001008d8 0xa4
|
||||
.sfpr 0x00000000001008d8 0xa4 linker stubs
|
||||
0x00000000001008d8 _savegpr0_14
|
||||
0x000000000010090c _savegpr0_27
|
||||
0x0000000000100910 _savegpr0_28
|
||||
0x0000000000100928 _restgpr0_14
|
||||
0x000000000010095c _restgpr0_27
|
||||
0x0000000000100960 _restgpr0_28
|
||||
.sfpr 0x00000000001008e8 0xa4
|
||||
.sfpr 0x00000000001008e8 0xa4 linker stubs
|
||||
0x00000000001008e8 _savegpr0_14
|
||||
0x0000000000100914 _savegpr0_25
|
||||
0x0000000000100920 _savegpr0_28
|
||||
0x0000000000100938 _restgpr0_14
|
||||
0x0000000000100964 _restgpr0_25
|
||||
0x0000000000100970 _restgpr0_28
|
||||
|
||||
.glink 0x0000000000100980 0x0
|
||||
.glink 0x0000000000100980 0x0 linker stubs
|
||||
.glink 0x0000000000100990 0x0
|
||||
.glink 0x0000000000100990 0x0 linker stubs
|
||||
|
||||
.eh_frame 0x000000000010097c 0x0
|
||||
.eh_frame 0x000000000010097c 0x0 linker stubs
|
||||
.eh_frame 0x000000000010098c 0x0
|
||||
.eh_frame 0x000000000010098c 0x0 linker stubs
|
||||
|
||||
.rela.dyn 0x0000000000100980 0x0
|
||||
.rela.iplt 0x0000000000100980 0x0 linker stubs
|
||||
.rela.dyn 0x0000000000100990 0x0
|
||||
.rela.iplt 0x0000000000100990 0x0 linker stubs
|
||||
|
||||
.data
|
||||
LOAD tmp/powerpc64le-linux.elf-fold.o
|
||||
LOAD tmp/powerpc64le-linux.elf-main.o
|
||||
OUTPUT(tmp/powerpc64le-linux.elf-fold.bin elf64-powerpcle)
|
||||
|
||||
.branch_lt 0x0000000000100980 0x0
|
||||
.branch_lt 0x0000000000100980 0x0 linker stubs
|
||||
.branch_lt 0x0000000000100990 0x0
|
||||
.branch_lt 0x0000000000100990 0x0 linker stubs
|
||||
|
||||
.toc 0x0000000000100980 0x0
|
||||
.toc 0x0000000000100980 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
.toc 0x0000000000100990 0x0
|
||||
.toc 0x0000000000100990 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
|
||||
.opd 0x0000000000100980 0x58
|
||||
.opd 0x0000000000100980 0x58 tmp/powerpc64le-linux.elf-main.o
|
||||
0x00000000001009c0 upx_main
|
||||
.opd 0x0000000000100990 0x58
|
||||
.opd 0x0000000000100990 0x58 tmp/powerpc64le-linux.elf-main.o
|
||||
0x00000000001009d0 upx_main
|
||||
|
||||
.iplt 0x00000000001009d8 0x0
|
||||
.iplt 0x00000000001009d8 0x0 linker stubs
|
||||
.iplt 0x00000000001009e8 0x0
|
||||
.iplt 0x00000000001009e8 0x0 linker stubs
|
||||
|
||||
.bss 0x00000000001009d8 0x0
|
||||
.bss 0x00000000001009d8 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.bss 0x00000000001009d8 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
.bss 0x00000000001009e8 0x0
|
||||
.bss 0x00000000001009e8 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.bss 0x00000000001009e8 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
|
||||
Reference in New Issue
Block a user