f7cab0cf71
OpenBSD and NetBSD main programs probably need work.
modified: ../misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
modified: p_lx_elf.cpp
modified: stub/Makefile
modified: stub/src/i386-linux.elf-entry.S
new file: stub/src/i386-linux.elf-entry.lds
modified: stub/src/i386-linux.elf-fold.S
modified: stub/src/i386-linux.elf-fold.lds
new file: stub/src/i386-linux.elf-main2.c
new file: stub/src/i386-linux.elf-so_entry.lds
modified: stub/src/upxfd_android.c
plus generated *.h *.map *.dump
128 lines
8.1 KiB
C++
Generated
128 lines
8.1 KiB
C++
Generated
/* i386-linux.elf.shell-fold.h
|
|
created from i386-linux.elf.shell-fold.bin, 1392 (0x570) bytes
|
|
|
|
This file is part of the UPX executable compressor.
|
|
|
|
Copyright (C) 1996-2024 Markus Franz Xaver Johannes Oberhumer
|
|
Copyright (C) 1996-2024 Laszlo Molnar
|
|
Copyright (C) 2000-2024 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>
|
|
*/
|
|
|
|
/* clang-format off */
|
|
|
|
#define STUB_I386_LINUX_ELF_SHELL_FOLD_SIZE 1392
|
|
#define STUB_I386_LINUX_ELF_SHELL_FOLD_ADLER32 0xea6047e4
|
|
#define STUB_I386_LINUX_ELF_SHELL_FOLD_CRC32 0x840b538d
|
|
|
|
unsigned char stub_i386_linux_elf_shell_fold[1392] = {
|
|
/* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0010 */ 2, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0,
|
|
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 32, 0, 2, 0, 0, 0,
|
|
/* 0x0030 */ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 1,
|
|
/* 0x0040 */ 0, 0, 64, 1,112, 5, 0, 0,112, 5, 0, 0, 5, 0, 0, 0,
|
|
/* 0x0050 */ 0, 16, 0, 0, 1, 0, 0, 0,112, 5, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0060 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0070 */ 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0080 */ 137,230,129,236, 80, 1, 0, 0,137,231,173,171,173,171,133,192,
|
|
/* 0x0090 */ 117,250,173,171,133,192,117,250, 87, 64,106, 82, 89,243,171, 72,
|
|
/* 0x00a0 */ 171,171, 95,173,133,192,145,173,116, 15,131,249, 42,115,244,137,
|
|
/* 0x00b0 */ 76,207,248,137, 68,207,252,235,234,129,236, 0, 10, 0, 0,147,
|
|
/* 0x00c0 */ 139, 10,139, 90, 4,137,198, 96,232, 31, 3, 0, 0, 89, 80, 97,
|
|
/* 0x00d0 */ 129,196, 0, 10, 0, 0, 89, 90, 82, 65, 86,131,238, 3,102,199,
|
|
/* 0x00e0 */ 6, 45, 99, 65, 86, 65, 82, 81, 87,141,188, 36, 0,245,255,255,
|
|
/* 0x00f0 */ 96,137,227,137,252,185,192, 2, 0, 0, 49,192,243,171,137,220,
|
|
/* 0x0100 */ 97,102,131, 60, 36, 1,116, 1,195, 88, 89, 91,141, 20,140, 95,
|
|
/* 0x0110 */ 94, 93, 85,172,172,137,243,172, 60, 32,116,249, 60, 9,116,245,
|
|
/* 0x0120 */ 137,241,172, 60, 32,116, 8, 60, 9,116, 4, 60, 10,117,241,198,
|
|
/* 0x0130 */ 1, 0, 49,201, 60, 10,116, 25,172, 60, 32,116,251, 60, 9,116,
|
|
/* 0x0140 */ 247, 60, 10,116, 12,141, 78,255,172, 60, 10,117,251,198, 70,255,
|
|
/* 0x0150 */ 0, 86, 87,227, 1, 81, 85,137,225,106, 11, 88,205,128,247,216,
|
|
/* 0x0160 */ 147,106, 1, 88,205,128,244, 83,141, 92, 36, 8,106, 90, 88,205,
|
|
/* 0x0170 */ 128, 91,195, 0, 87, 86, 83,137,195,139,124, 36, 16,139, 11,139,
|
|
/* 0x0180 */ 64, 4, 57,249,137,198,115, 10,106,127, 91,106, 1, 88,205,128,
|
|
/* 0x0190 */ 235,254,133,255,116, 15,137,249,138, 6, 70,136, 2, 66,226,248,
|
|
/* 0x01a0 */ 139, 67, 4,139, 11, 1,248, 41,249,137, 67, 4,137, 11, 91, 94,
|
|
/* 0x01b0 */ 95,195,133,210,116, 8,137,209,198, 0, 0, 64,226,250,195, 85,
|
|
/* 0x01c0 */ 185, 0, 0, 0, 0,137,229, 87, 86, 83,137,195,131,236, 52,137,
|
|
/* 0x01d0 */ 85,240,139, 69, 8,137,202,137, 69,236,106, 5, 88,205,128,133,
|
|
/* 0x01e0 */ 192,137, 69,232,120, 45,186, 0, 2, 0, 0,139, 93,232,139, 77,
|
|
/* 0x01f0 */ 240,106, 3, 88,205,128, 61, 0, 2, 0, 0,117, 22,139, 85,240,
|
|
/* 0x0200 */ 102,184, 1, 0,102,131,122, 18, 3,116, 18,141,101,244, 91, 94,
|
|
/* 0x0210 */ 95,201,195,106,127, 91,106, 1, 88,205,128,235,254, 3, 82, 28,
|
|
/* 0x0220 */ 184, 0, 0, 0, 0,139, 77,240,191,255,255,255,255,102,131,121,
|
|
/* 0x0230 */ 16, 3,137, 85,228,137,209,139, 85,240, 15,149,192, 15,183, 90,
|
|
/* 0x0240 */ 44,193,224, 4,186, 0, 0, 0, 0,131,192, 34,137, 69,212,137,
|
|
/* 0x0250 */ 216, 72,120, 37,137,222,235, 6,131,193, 32, 78,116, 27,131, 57,
|
|
/* 0x0260 */ 1,117,245,139, 65, 8, 57,248,115, 2,137,199,139, 89, 20, 1,
|
|
/* 0x0270 */ 195, 57,211,118,227,137,218,235,223,246, 69,212, 16,116, 7,137,
|
|
/* 0x0280 */ 211,106, 45, 88,205,128,137,251,106, 0,129,227, 0,240,255,255,
|
|
/* 0x0290 */ 106,255, 41,218,255,117,212,141,130,255, 15, 0, 0,106, 7, 37,
|
|
/* 0x02a0 */ 0,240,255,255, 80, 83,232,188,254,255,255,131,196, 24, 41,216,
|
|
/* 0x02b0 */ 199, 69,220, 0, 0, 0, 0,137, 69,224,139, 69,240,102,139, 80,
|
|
/* 0x02c0 */ 44,102,133,210,117, 20,235, 46, 72,116, 73,255, 69,220, 15,183,
|
|
/* 0x02d0 */ 194,131, 69,228, 32, 59, 69,220,126, 28,139, 77,228,139, 1,131,
|
|
/* 0x02e0 */ 248, 6,117,228,139, 65, 8,139, 93,236,137, 67, 20,139, 69,240,
|
|
/* 0x02f0 */ 102,139, 80, 44,235,213,139, 93,232,106, 6, 88,205,128,133,192,
|
|
/* 0x0300 */ 15,133,180, 0, 0, 0,139, 85,240,139, 69,224, 3, 66, 24,233,
|
|
/* 0x0310 */ 247,254,255,255,139, 85,228,199, 69,216, 64, 98, 81,115,139, 74,
|
|
/* 0x0320 */ 24,139, 66, 8,131,225, 7,193,225, 2,137,195,211,109,216,137,
|
|
/* 0x0330 */ 209,139, 82, 20,129,227,255, 15, 0, 0,139,121, 16,139, 77,224,
|
|
/* 0x0340 */ 1,194, 41,216, 1,223, 1,202,141, 52, 8,137, 85,204,139, 85,
|
|
/* 0x0350 */ 228,131,101,216, 7,139, 66, 4, 41,216, 80,255,117,232,106, 18,
|
|
/* 0x0360 */ 106, 3, 87, 86,232,254,253,255,255,131,196, 24, 57,240,117, 74,
|
|
/* 0x0370 */ 137,218,137,240,232, 57,254,255,255,137,249,247,217,141, 4, 62,
|
|
/* 0x0380 */ 129,225,255, 15, 0, 0,137,243,137,202,137, 77,208,232, 32,254,
|
|
/* 0x0390 */ 255,255,137,249,139, 85,216,106,125, 88,205,128,133,192,117, 26,
|
|
/* 0x03a0 */ 139, 85,208,141, 4, 23,141, 28, 6, 59, 93,204,114, 22,139, 93,
|
|
/* 0x03b0 */ 240,102,139, 83, 44,233, 17,255,255,255,106,127, 91,106, 1, 88,
|
|
/* 0x03c0 */ 205,128,235,254,106, 0,106,255,106, 50,255,117,216, 41, 93,204,
|
|
/* 0x03d0 */ 255,117,204, 83,232,142,253,255,255,131,196, 24, 57,216,117,218,
|
|
/* 0x03e0 */ 139, 77,240,102,139, 81, 44,233,223,254,255,255, 85,137,229, 87,
|
|
/* 0x03f0 */ 86, 83,131,236, 36,141, 93, 32,139, 69, 16,141,117, 24,139, 85,
|
|
/* 0x0400 */ 20,137, 69,212,139, 69, 36,139,125, 8,137, 85,208, 5, 85, 80,
|
|
/* 0x0410 */ 88, 50,137, 69,240,139, 69,240, 5, 85, 80, 88, 51,131,125, 32,
|
|
/* 0x0420 */ 0,137, 69,236,235, 62,137, 69,216,141, 69,216,255,117,228, 80,
|
|
/* 0x0430 */ 255,115, 4, 81,255,118, 4,255, 85,212,131,196, 20,133,192, 15,
|
|
/* 0x0440 */ 133, 13, 1, 0, 0,139, 85,220, 59, 85,216, 15,133, 1, 1, 0,
|
|
/* 0x0450 */ 0,139, 69,224, 1, 70, 4, 41, 6,139, 3, 1, 83, 4, 41,208,
|
|
/* 0x0460 */ 137, 3,133,192,116, 91,141, 85,220,137,240,106, 12,232, 2,253,
|
|
/* 0x0470 */ 255,255, 88,139, 69,220,133,192,116, 48,139, 77,224,133,201, 15,
|
|
/* 0x0480 */ 132,205, 0, 0, 0, 57,193, 15,135,197, 0, 0, 0, 59, 3, 15,
|
|
/* 0x0490 */ 135,189, 0, 0, 0, 57,193,114,141,139, 83, 4,137,240, 81,232,
|
|
/* 0x04a0 */ 208,252,255,255, 89,139, 85,220,235,175,129,125,224, 85, 80, 88,
|
|
/* 0x04b0 */ 33, 15,133,155, 0, 0, 0,139, 30,133,219, 15,133,145, 0, 0,
|
|
/* 0x04c0 */ 0,139, 69,236,139, 85,208,138, 24,139, 69,236,198, 0, 0,139,
|
|
/* 0x04d0 */ 69,240, 87,232,231,252,255,255,137,198,139, 69,236,131,254, 1,
|
|
/* 0x04e0 */ 136, 24,184, 1, 0, 0, 0, 90,116, 96,139, 93,208,185, 0, 0,
|
|
/* 0x04f0 */ 0, 0,199, 71, 16, 3, 0, 0, 0, 15,183, 67, 42,199, 71, 24,
|
|
/* 0x0500 */ 4, 0, 0, 0,199, 71, 32, 5, 0, 0, 0,199, 71, 40, 6, 0,
|
|
/* 0x0510 */ 0, 0,137, 71, 28, 15,183, 67, 44,199, 71, 44, 0, 16, 0, 0,
|
|
/* 0x0520 */ 137,119, 68,199, 71, 64, 9, 0, 0, 0,137, 71, 36,137,216, 15,
|
|
/* 0x0530 */ 183, 83, 44,131,192, 52,131,250, 0,235, 11,131, 56, 3,116, 28,
|
|
/* 0x0540 */ 65,131,192, 32, 57,202,127,243,137,240,141,101,244, 91, 94, 95,
|
|
/* 0x0550 */ 201,195,106,127, 91,106, 1, 88,205,128,235,254,139, 64, 8,106,
|
|
/* 0x0560 */ 0,139, 85,208,232, 86,252,255,255,137,198, 88,137,240,235,218
|
|
};
|