1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00
upx/src/stub/arm64-linux.elf-fold.h
John Reiser d5d7d8bc84 arm64 hacking
modified:   stub/src/arm64-linux.elf-fold.S
	modified:   stub/src/arm64-linux.elf-main.c

	modified:   stub/arm64-linux.elf-fold.h
	modified:   stub/tmp/arm64-linux.elf-fold.map
2017-03-22 16:45:09 -07:00

189 lines
13 KiB
C

/* arm64-linux.elf-fold.h
created from arm64-linux.elf-fold.bin, 2376 (0x948) bytes
This file is part of the UPX executable compressor.
Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 1996-2017 Laszlo Molnar
Copyright (C) 2000-2017 John F. Reiser
All Rights Reserved.
UPX and the UCL library are free software; you can redistribute them
and/or modify them under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING.
If not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Markus F.X.J. Oberhumer Laszlo Molnar
<markus@oberhumer.com> <ezerotven+github@gmail.com>
John F. Reiser
<jreiser@users.sourceforge.net>
*/
#define STUB_ARM64_LINUX_ELF_FOLD_SIZE 2376
#define STUB_ARM64_LINUX_ELF_FOLD_ADLER32 0xefec4cd1
#define STUB_ARM64_LINUX_ELF_FOLD_CRC32 0xdcaca01a
unsigned char stub_arm64_linux_elf_fold[2376] = {
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 0x0010 */ 2, 0,183, 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 */ 72, 9, 0, 0, 0, 0, 0, 0, 72, 9, 0, 0, 0, 0, 0, 0,
/* 0x0070 */ 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
/* 0x0080 */ 72, 9, 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, 1, 0, 0, 0, 0, 0,
/* 0x00b0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,229, 35, 65,169,
/* 0x00c0 */ 227, 19,194,168,231, 3, 64,249,224, 3, 0,145,225, 67, 0,145,
/* 0x00d0 */ 33, 12, 7,139, 34,132, 64,248,226,255,255,181, 34, 4, 65,248,
/* 0x00e0 */ 226,255,255,181, 32, 4, 64,209, 0, 16, 0,209, 33, 0, 0,203,
/* 0x00f0 */ 0,252, 76,211, 0, 4, 0,209, 6,204,116,211,192, 0, 1,203,
/* 0x0100 */ 0, 32, 0,209, 0,236,124,146,225, 35, 0,145, 31, 0, 0,145,
/* 0x0110 */ 227, 19,190,169,229, 11, 0,249, 7,132, 0,248, 34,132, 64,248,
/* 0x0120 */ 2,132, 0,248,194,255,255,181, 34,132, 64,248, 2,132, 0,248,
/* 0x0130 */ 194,255,255,181, 4, 32, 0,209, 2,132, 0,248,231, 3, 0,170,
/* 0x0140 */ 34, 12,193,168, 2, 12,129,168,194,255,255,181,224, 11, 0,249,
/* 0x0150 */ 193, 4, 64,145,129, 0, 0,249, 66, 4, 0, 24, 34, 68, 0,184,
/* 0x0160 */ 226,255,129, 82, 0, 4, 0, 16, 94, 0, 0,148,192, 3, 0, 16,
/* 0x0170 */ 1, 0,128, 82, 82, 0, 0,148,228, 3, 0, 42,224, 3, 6,170,
/* 0x0180 */ 5, 0,128,210, 67, 2,128, 82, 34, 0,128, 82, 1, 0,130,210,
/* 0x0190 */ 72, 0, 0,148,224, 3, 4, 42, 48, 0, 0,148,230, 99, 0,145,
/* 0x01a0 */ 255, 3, 40,209,133, 2, 0, 16,228, 3, 15,170,227, 3, 7,170,
/* 0x01b0 */ 226, 3, 0,145,225, 3, 9, 42,224, 3, 10,170,135, 1, 0,148,
/* 0x01c0 */ 255, 3, 40,145,254, 3, 0,170, 0, 0, 32,212,226, 15, 65,169,
/* 0x01d0 */ 224, 7,194,168,232, 26,128, 82, 67,128, 95,248, 96, 0, 31,214,
/* 0x01e0 */ 32, 32, 32, 61, 47,112,114,111, 99, 47,115,101,108,102, 47,101,
/* 0x01f0 */ 120,101, 0, 0, 99, 28, 0, 18,127, 72, 1,113,129, 1, 0, 84,
/* 0x0200 */ 33,252, 66,211, 65, 1, 0,180, 33, 4, 0,209, 2,120, 97,184,
/* 0x0210 */ 67,120, 26, 83,127, 20, 0,113,129, 0, 0, 84, 66, 0, 1, 75,
/* 0x0220 */ 98, 20, 26, 83, 2,120, 33,184, 1,255,255,181,192, 3, 95,214,
/* 0x0230 */ 0, 0, 32,212,192, 3, 95,214,200, 11,128, 82, 1, 0, 0,212,
/* 0x0240 */ 232, 7,128, 82, 1, 0, 0,212,192, 3, 95,214, 8, 8,128, 82,
/* 0x0250 */ 1, 0, 0,212,192, 3, 95,214, 40, 7,128, 82, 1, 0, 0,212,
/* 0x0260 */ 192, 3, 95,214,104, 4,128, 82, 1, 0, 0,212,192, 3, 95,214,
/* 0x0270 */ 168, 21,128, 82, 1, 0, 0,212,192, 3, 95,214,200, 26,128, 82,
/* 0x0280 */ 1, 0, 0,212,192, 3, 95,214,232, 26,128, 82, 1, 0, 0,212,
/* 0x0290 */ 192, 3, 95,214, 72, 28,128, 82, 1, 0, 0,212,192, 3, 95,214,
/* 0x02a0 */ 198,240,255, 24, 5, 0,128,210, 4, 0,128,146, 99, 0, 6, 42,
/* 0x02b0 */ 200, 27,128, 82, 1, 0, 0,212,192, 3, 95,214,229, 3, 0,170,
/* 0x02c0 */ 96, 12,128,146,228, 3, 1,170,227, 3, 2,170,226, 3, 4,170,
/* 0x02d0 */ 225, 3, 5,170, 8, 7,128, 82, 1, 0, 0,212,192, 3, 95,214,
/* 0x02e0 */ 229, 3, 0,170, 96, 12,128,146,228, 3, 1,170,227, 3, 2,170,
/* 0x02f0 */ 226, 3, 4,170,225, 3, 5,170,200, 9,128, 82, 1, 0, 0,212,
/* 0x0300 */ 31, 4, 64,177, 98, 0, 0, 84, 3, 0,128, 82, 67,104, 32, 56,
/* 0x0310 */ 192, 3, 95,214, 0, 0, 64,212, 2, 0,128, 82, 8, 0,128, 82,
/* 0x0320 */ 1, 0, 0,212,192, 3, 95,214,128, 1, 0,180, 3, 0, 64,249,
/* 0x0330 */ 228, 3, 1, 42,127, 0, 4,235, 97, 0, 0, 84, 4, 8, 0,169,
/* 0x0340 */ 192, 3, 95,214, 63, 0, 31,107, 96, 24, 65,250,128,255,255, 84,
/* 0x0350 */ 0, 64, 0,145,246,255,255, 23,192, 3, 95,214, 3, 16, 64,169,
/* 0x0360 */ 127, 0, 2,235, 99, 0, 0, 84, 3, 0,128,210, 5, 0, 0, 20,
/* 0x0370 */ 253,123,191,169,224, 15,128, 82,253, 3, 0,145,175,255,255,151,
/* 0x0380 */ 95, 0, 3,235,160, 0, 0, 84,133,104, 99, 56, 37,104, 35, 56,
/* 0x0390 */ 99, 4, 0,145,251,255,255, 23, 1, 4, 64,249, 33, 0, 2,139,
/* 0x03a0 */ 1, 4, 0,249, 1, 0, 64,249, 34, 0, 2,203, 2, 0, 0,249,
/* 0x03b0 */ 192, 3, 95,214,253,123,187,169,253, 3, 0,145,243, 83, 1,169,
/* 0x03c0 */ 245, 91, 2,169,244, 3, 0,170,243, 3, 1,170,246, 3, 2,170,
/* 0x03d0 */ 245, 3, 3,170, 96, 2, 64,249,192, 7, 0,180,161, 3, 1,145,
/* 0x03e0 */ 224, 3, 20,170,130, 1,128,210,221,255,255,151,160, 7, 72, 41,
/* 0x03f0 */ 0, 1, 0, 53,160, 10,138, 82, 0, 43,164,114, 63, 0, 0,107,
/* 0x0400 */ 225, 0, 0, 84,128, 2, 64,249, 64, 6, 0,180, 4, 0, 0, 20,
/* 0x0410 */ 31, 0, 1,107, 36, 32, 95,122, 97, 0, 0, 84,224, 15,128, 82,
/* 0x0420 */ 134,255,255,151, 98, 2, 64,249, 95, 64, 32,235,131,255,255, 84,
/* 0x0430 */ 31, 0, 1,107,169, 3, 0, 84,160, 63, 0,185,163,243, 0,145,
/* 0x0440 */ 164, 35, 65, 57, 98, 6, 64,249,128, 6, 64,249,192, 2, 63,214,
/* 0x0450 */ 96,254,255, 53,160,135, 71, 41, 63, 0, 0,107, 1,254,255, 84,
/* 0x0460 */ 163, 39, 65, 57,191, 2, 31,235,100, 16, 95,122, 32, 1, 0, 84,
/* 0x0470 */ 63, 0, 8,113,136, 0, 0, 84, 96, 2, 64,249, 31, 64, 33,235,
/* 0x0480 */ 129, 0, 0, 84,162, 43, 65, 57, 96, 6, 64,249,160, 2, 63,214,
/* 0x0490 */ 128, 6, 64,169,162, 71, 64,185, 33, 0, 2,139, 0, 0, 2,203,
/* 0x04a0 */ 128, 6, 0,169, 5, 0, 0, 20,226, 3, 1, 42, 97, 6, 64,249,
/* 0x04b0 */ 224, 3, 20,170,170,255,255,151, 96, 6, 64,169,162, 67, 64,185,
/* 0x04c0 */ 33, 0, 2,139, 0, 0, 2,203, 96, 6, 0,169,194,255,255, 23,
/* 0x04d0 */ 243, 83, 65,169,245, 91, 66,169,253,123,197,168,192, 3, 95,214,
/* 0x04e0 */ 253,123,180,169,253, 3, 0,145,247, 99, 3,169,247, 3, 0,170,
/* 0x04f0 */ 166, 75, 0,249, 6, 16, 64,249,249,107, 4,169, 25, 0, 6,139,
/* 0x0500 */ 0, 32, 64,121,243, 83, 1,169, 31, 12, 0,113,224,114, 64,121,
/* 0x0510 */ 244, 3, 2, 42, 2, 7,128, 82,251,115, 5,169, 2,124,162,155,
/* 0x0520 */ 252, 3, 3,170, 3, 2,128, 82, 99, 16,159, 26, 19, 0,128,146,
/* 0x0530 */ 245, 91, 2,169,165,147, 6,169,246, 3, 1,170, 99,136, 0, 17,
/* 0x0540 */ 1, 0,128,210, 34, 3, 2,139,224, 3, 25,170, 31, 0, 2,235,
/* 0x0550 */ 160, 1, 0, 84, 4, 0, 64,185,159, 4, 0,113, 1, 1, 0, 84,
/* 0x0560 */ 5, 8, 64,249, 4, 20, 64,249,127, 2, 5,235,164, 0, 4,139,
/* 0x0570 */ 115,146,133,154, 63, 0, 4,235, 33, 32,132,154, 0,224, 0,145,
/* 0x0580 */ 243,255,255, 23,115,206,116,146, 33,252, 63,145, 33, 0, 19,203,
/* 0x0590 */ 224, 3, 19,170, 33,204,116,146, 5, 0,128,210, 4, 0,128, 18,
/* 0x05a0 */ 2, 0,128, 82, 26, 0,128, 82, 66,255,255,151, 19, 0, 19,203,
/* 0x05b0 */ 96, 14, 0,145,223, 2, 31,235,160, 67, 0,249, 64, 0,128, 82,
/* 0x05c0 */ 0, 16,159, 26,160,143, 0,185,128, 2,159, 90, 65, 6,128, 82,
/* 0x05d0 */ 160,139, 0,185, 64, 2,128, 82, 32, 16,128, 26,160,127, 0,185,
/* 0x05e0 */ 224,114, 64,121, 95, 3, 0,107,170, 12, 0, 84, 32, 3, 64,185,
/* 0x05f0 */ 54, 1, 0,180, 31, 24, 0,113,225, 0, 0, 84, 34, 11, 64,249,
/* 0x0600 */ 97, 0,128, 82,224, 3, 28,170, 98, 2, 2,139, 71,255,255,151,
/* 0x0610 */ 88, 0, 0, 20, 31, 4, 0,113,193, 10, 0, 84, 56, 7, 64,185,
/* 0x0620 */ 1, 72,140, 82, 33,106,174,114, 53, 19, 64,249, 24, 11, 30, 83,
/* 0x0630 */ 163,127, 64,185, 32, 36,216, 26,160,163, 0,185, 37,211, 64,169,
/* 0x0640 */ 27, 8, 0, 18, 32, 23, 64,249,116, 2, 20,139,164,139, 64,185,
/* 0x0650 */ 128, 2, 0,139,160, 79, 0,249,128, 46, 64,146,181, 83, 11,169,
/* 0x0660 */ 165, 0, 0,203,181, 2, 0,139,160,143, 64,185,148,206,116,146,
/* 0x0670 */ 225, 3, 21,170, 2, 0, 27, 42,224, 3, 20,170, 13,255,255,151,
/* 0x0680 */ 159, 2, 0,235, 96, 0, 0, 84,224, 15,128, 82,235,254,255,151,
/* 0x0690 */ 182, 0, 0,180,163,139, 70,169,161,195, 2,145,224, 3, 22,170,
/* 0x06a0 */ 69,255,255,151,160, 83, 64,249,227, 3, 21,203,120, 44, 64,146,
/* 0x06b0 */ 96, 0, 8, 55, 86, 1, 0,181, 32, 0, 0, 20,216,255,255,180,
/* 0x06c0 */ 129, 2, 21,139, 0, 0,128,210, 63,104, 32, 56, 0, 4, 0,145,
/* 0x06d0 */ 31, 0, 24,235,161,255,255, 84,247,255,255, 23, 32, 3, 64,249,
/* 0x06e0 */ 225, 3, 0,178, 0,128, 64,146, 31, 0, 1,235,193, 1, 0, 84,
/* 0x06f0 */ 32, 23, 64,249, 34, 11, 64,249,161, 67, 64,249, 2, 0, 2,139,
/* 0x0700 */ 66, 0, 1,139, 33, 19, 64,249, 66,244,126,146, 31, 0, 1,235,
/* 0x0710 */ 161, 0, 0, 84,224, 3, 2,203, 0, 44, 64,146, 31, 28, 0,241,
/* 0x0720 */ 104, 3, 0, 84,226, 3, 27, 42,225, 3, 21,170,224, 3, 20,170,
/* 0x0730 */ 217,254,255,151,160,250,255, 53,181, 2, 24,139,160, 79, 64,249,
/* 0x0740 */ 148, 2, 21,139, 31, 0, 20,235, 73, 1, 0, 84, 1, 0, 20,203,
/* 0x0750 */ 5, 0,128,210, 4, 0,128, 18, 67, 6,128, 82,226, 3, 27, 42,
/* 0x0760 */ 224, 3, 20,170,211,254,255,151,159, 2, 0,235,225,248,255, 84,
/* 0x0770 */ 57,227, 0,145, 90, 7, 0, 17,154,255,255, 23,160, 75, 64,249,
/* 0x0780 */ 160, 1, 0,180, 19, 0, 0,249, 11, 0, 0, 20, 32, 0,128, 82,
/* 0x0790 */ 1, 0,128, 82, 0,128,186,114, 64, 0, 0,185, 0,120,128, 82,
/* 0x07a0 */ 224,203,186,114, 64, 4, 0,185,224, 3, 28,170,223,254,255,151,
/* 0x07b0 */ 221,255,255, 23,224, 14, 64,249,245, 91, 66,169,249,107, 68,169,
/* 0x07c0 */ 251,115, 69,169, 96, 2, 0,139,243, 83, 65,169,247, 99, 67,169,
/* 0x07d0 */ 253,123,204,168,192, 3, 95,214,253,123,183,169,253, 3, 0,145,
/* 0x07e0 */ 243, 83, 1,169,243, 3, 2,170, 84, 0, 1,145,162,135, 6,169,
/* 0x07f0 */ 2, 0, 64,185,245, 91, 2,169,160,135, 7,169,245, 3, 3,170,
/* 0x0800 */ 160, 71, 0,249, 3, 0,128,210,161,131, 1,145,160, 3, 2,145,
/* 0x0810 */ 162, 51, 0,249,226, 3, 4,170,246, 3, 4,170,247, 99, 3,169,
/* 0x0820 */ 249, 35, 0,249,247, 3, 5,170,249, 3, 6,170,226,254,255,151,
/* 0x0830 */ 130, 10, 64,249, 97, 0,128, 82,224, 3, 21,170, 66, 0, 1,145,
/* 0x0840 */ 186,254,255,151, 98,114, 64,121,161, 0,128, 82,224, 3, 21,170,
/* 0x0850 */ 182,254,255,151,229, 3, 23,170,228, 3, 22,170,230, 3, 25,170,
/* 0x0860 */ 227, 3, 21,170, 2, 0,128, 82,161,195, 1,145,224, 3, 19,170,
/* 0x0870 */ 23, 0,128, 82, 27,255,255,151,226, 3, 0,170,246, 3, 0,170,
/* 0x0880 */ 33, 1,128, 82,224, 3, 21,170,168,254,255,151, 96,114, 64,121,
/* 0x0890 */ 255, 2, 0,107,202, 4, 0, 84,128, 2, 64,185, 31, 12, 0,113,
/* 0x08a0 */ 1, 4, 0, 84,128, 10, 64,249, 2, 0,128, 82, 35, 3, 64,249,
/* 0x08b0 */ 1, 0,128, 82, 96, 0, 0,139,129,254,255,151,248, 3, 0, 42,
/* 0x08c0 */ 96, 0,248, 54,224, 15,128, 82, 92,254,255,151, 2,128,128,210,
/* 0x08d0 */ 225, 3, 19,170, 91,254,255,151, 31, 0, 16,241, 65,255,255, 84,
/* 0x08e0 */ 166, 99, 1,145, 5, 0,128,210, 4, 0,128,210, 3, 0,128,210,
/* 0x08f0 */ 226, 3, 24, 42, 1, 0,128,210,224, 3, 19,170,191, 47, 0,249,
/* 0x0900 */ 248,254,255,151,246, 3, 0,170,162, 47, 64,249,224, 3, 21,170,
/* 0x0910 */ 225, 0,128, 82,133,254,255,151,224, 3, 24, 42, 79,254,255,151,
/* 0x0920 */ 148,226, 0,145,247, 6, 0, 17,217,255,255, 23,224, 3, 22,170,
/* 0x0930 */ 249, 35, 64,249,243, 83, 65,169,245, 91, 66,169,247, 99, 67,169,
/* 0x0940 */ 253,123,201,168,192, 3, 95,214
};