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
148 lines
9.6 KiB
C++
Generated
148 lines
9.6 KiB
C++
Generated
/* i386-linux.elf.interp-fold.h
|
|
created from i386-linux.elf.interp-fold.bin, 1699 (0x6a3) 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_INTERP_FOLD_SIZE 1699
|
|
#define STUB_I386_LINUX_ELF_INTERP_FOLD_ADLER32 0x99edeba0
|
|
#define STUB_I386_LINUX_ELF_INTERP_FOLD_CRC32 0x216ca19d
|
|
|
|
unsigned char stub_i386_linux_elf_interp_fold[1699] = {
|
|
/* 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,116, 0, 1, 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, 1, 0,
|
|
/* 0x0040 */ 0, 0, 1, 0,163, 6, 0, 0,164, 6, 0, 0, 5, 0, 0, 0,
|
|
/* 0x0050 */ 0, 16, 0, 0, 1, 0, 0, 0,163, 6, 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, 93, 89, 88,141,124,132, 4, 80, 41,192,175,117,
|
|
/* 0x0080 */ 253,175,137,254,139, 6,131,248, 3,116, 8,131,198, 8,131,248,
|
|
/* 0x0090 */ 0,117,241,139, 94, 4, 83,129,236, 0, 10, 0, 0,137,226, 81,
|
|
/* 0x00a0 */ 141, 67, 88,139,115, 24, 41,198,139, 24,139, 72, 4,131,193, 12,
|
|
/* 0x00b0 */ 96,232,233, 4, 0, 0,129,196, 36, 10, 0, 0, 91, 80,139, 75,
|
|
/* 0x00c0 */ 20,139, 91, 8,184, 91, 0, 0, 0,205,128, 41,192, 41,201, 41,
|
|
/* 0x00d0 */ 210, 41,219, 41,237, 41,246, 41,255,195, 83,141, 92, 36, 8,106,
|
|
/* 0x00e0 */ 90, 88,205,128, 91,195, 0, 0, 85, 87,137,215, 86,137,206, 83,
|
|
/* 0x00f0 */ 137,195,139, 19,139, 64, 4, 57,202,137,197,115, 10,106,127, 91,
|
|
/* 0x0100 */ 106, 1, 88,205,128,235,254,133,201,116, 14,138, 69, 0, 69,136,
|
|
/* 0x0110 */ 7, 71,226,247,139, 67, 4,139, 19, 1,240, 41,242,137, 67, 4,
|
|
/* 0x0120 */ 137, 19, 91, 94, 95, 93,195, 85,137,229, 87, 86,137,198, 83,137,
|
|
/* 0x0130 */ 211,131,236, 20,131, 58, 0,139,125, 8, 15,132,133, 0, 0, 0,
|
|
/* 0x0140 */ 141, 85,228,137,240,185, 12, 0, 0, 0,232,153,255,255,255,139,
|
|
/* 0x0150 */ 69,228,133,192, 15,132,160, 0, 0, 0,139, 77,232,133,201, 15,
|
|
/* 0x0160 */ 132,164, 0, 0, 0, 57,193, 15,135,156, 0, 0, 0, 59, 3, 15,
|
|
/* 0x0170 */ 135,148, 0, 0, 0, 57,193,115, 84,137, 69,224, 15,182, 69,236,
|
|
/* 0x0180 */ 80,255,215, 90,141, 85,224,255,117,236, 82,255,115, 4,255,117,
|
|
/* 0x0190 */ 232,255,118, 4,255, 16,131,196, 20,133,192,117,108,139, 85,228,
|
|
/* 0x01a0 */ 59, 85,224,117,100,138, 69,237,132,192,117, 48,139, 69,232, 1,
|
|
/* 0x01b0 */ 70, 4, 41, 6,139, 3, 1, 83, 4, 41,208,137, 3,133,192, 15,
|
|
/* 0x01c0 */ 133,123,255,255,255,141,101,244, 91, 94, 95,201,195,139, 83, 4,
|
|
/* 0x01d0 */ 137,240,232, 17,255,255,255,139, 85,228,235,216, 15,182,192, 80,
|
|
/* 0x01e0 */ 255, 85, 12, 15,182, 85,238,137, 20, 36,255,117,224,255,115, 4,
|
|
/* 0x01f0 */ 255, 16,139, 85,228,131,196, 12,235,178,129,125,232, 85, 80, 88,
|
|
/* 0x0200 */ 33,117, 6,139, 14,133,201,116,188,106,127, 91,106, 1, 88,205,
|
|
/* 0x0210 */ 128,235,254,133,210,116, 8,137,209,198, 0, 0, 64,226,250,195,
|
|
/* 0x0220 */ 133,192, 83,137,195,116, 33,168, 1,117, 29,139, 3, 57,208,116,
|
|
/* 0x0230 */ 18,131,248, 1,116, 20,133,192,116, 14,131,195, 8,139, 3, 57,
|
|
/* 0x0240 */ 208,117,238,137, 19,137, 75, 4, 91,195,133,210,117,245,131,195,
|
|
/* 0x0250 */ 8,235,234, 85,137,229, 87, 86,191, 0, 0, 0, 0, 83,190, 0,
|
|
/* 0x0260 */ 0, 0, 0,131,236, 84,137, 69,228,139, 69, 8,137, 85,224,139,
|
|
/* 0x0270 */ 77, 16,137, 69,220, 3, 64, 28,139, 93,220,137, 77,212,139, 85,
|
|
/* 0x0280 */ 12,102,131,123, 16, 3,137, 69,208,184, 0, 0, 0, 0, 15,183,
|
|
/* 0x0290 */ 75, 44,137, 85,216,187,255,255,255,255, 15,149,192,139, 85,208,
|
|
/* 0x02a0 */ 193,224, 4,131,192, 34,137, 69,184,137,200, 72,120, 14,131, 58,
|
|
/* 0x02b0 */ 1, 15,132,249, 1, 0, 0,131,194, 32,226,242,106, 0,137,216,
|
|
/* 0x02c0 */ 129,227, 0,240,255,255,106, 0, 41,222,255,117,184,129,198,255,
|
|
/* 0x02d0 */ 15, 0, 0,106, 7,129,230, 0,240,255,255, 37,255, 15, 0, 0,
|
|
/* 0x02e0 */ 86, 83,141,188, 7,255, 15, 0, 0,137, 93,188,232,233,253,255,
|
|
/* 0x02f0 */ 255,129,231, 0,240,255,255,137,194, 1,242,137,195, 41,254,131,
|
|
/* 0x0300 */ 196, 24,137, 69,172, 1,251,137, 85,240,137,241,106, 91, 88,205,
|
|
/* 0x0310 */ 128,139, 69,220,139, 93,172,199, 69,196, 0, 0, 0, 0, 43, 93,
|
|
/* 0x0320 */ 188,102,139, 80, 44,102,133,210,137, 93,204,117, 24,233, 77, 1,
|
|
/* 0x0330 */ 0, 0,255, 69,196, 15,183,194,131, 69,208, 32, 59, 69,196, 15,
|
|
/* 0x0340 */ 142, 58, 1, 0, 0,139, 77,208,139, 1,131,248, 6, 15,132,253,
|
|
/* 0x0350 */ 1, 0, 0, 72,117,220,139, 85,208,199, 69,192, 64, 98, 81,115,
|
|
/* 0x0360 */ 139, 74, 24,131,225, 7,193,225, 2,211,109,192,137,209,139, 65,
|
|
/* 0x0370 */ 8,139, 82, 16,137,195,139, 73, 20,129,227,255, 15, 0, 0,137,
|
|
/* 0x0380 */ 85,232,141, 52, 26,139, 85,204, 1,193,137, 69,236, 1,209, 41,
|
|
/* 0x0390 */ 216,137, 77,176,139, 77,208,141, 60, 16,139, 85,216,139, 65, 4,
|
|
/* 0x03a0 */ 131,101,192, 7, 41,216,131,125,216, 1, 80,255,117,228, 25,192,
|
|
/* 0x03b0 */ 131,224,224,131,192, 50,133,210, 80,137,240,106, 3,116, 3,141,
|
|
/* 0x03c0 */ 70, 3, 80, 87,232, 17,253,255,255,131,196, 24, 57,248, 15,133,
|
|
/* 0x03d0 */ 174, 1, 0, 0,139, 77,216,133,201,116, 19,255,117,224,255,117,
|
|
/* 0x03e0 */ 228,141, 85,232,139, 69,216,232, 59,253,255,255, 88, 90,137,218,
|
|
/* 0x03f0 */ 137,243,137,248,247,219,232, 24,254,255,255,129,227,255, 15, 0,
|
|
/* 0x0400 */ 0,141, 4, 55,137,218,137, 93,180,232, 5,254,255,255,139, 69,
|
|
/* 0x0410 */ 216,133,192,116, 12,139, 69,208,131, 56, 1, 15,132,217, 0, 0,
|
|
/* 0x0420 */ 0,137,251,137,241,139, 85,192,106,125, 88,205,128,133,192, 15,
|
|
/* 0x0430 */ 133, 77, 1, 0, 0,139, 85,180,141, 4, 22,141, 28, 7, 59, 93,
|
|
/* 0x0440 */ 176, 15,130,135, 0, 0, 0,139,125,216,133,255, 15,132, 20, 1,
|
|
/* 0x0450 */ 0, 0,141, 78, 3,129,225,255, 15, 0, 0,131,249, 3,119, 5,
|
|
/* 0x0460 */ 106, 91, 88,205,128,139, 77,220,255, 69,196,102,139, 81, 44,131,
|
|
/* 0x0470 */ 69,208, 32, 15,183,194, 59, 69,196, 15,143,198,254,255,255,139,
|
|
/* 0x0480 */ 93,216,133,219, 15,132,232, 0, 0, 0,139, 69,220,102,131,120,
|
|
/* 0x0490 */ 16, 3,116, 8,139, 93,240,106, 45, 88,205,128,139, 85,220,139,
|
|
/* 0x04a0 */ 82, 24, 1, 85,204,139, 69,204,141,101,244, 91, 94, 95,201,195,
|
|
/* 0x04b0 */ 139, 66, 8, 57,216,115, 5,137,195,139,122, 16, 3, 66, 20, 57,
|
|
/* 0x04c0 */ 240, 15,134,240,253,255,255,137,198,233,233,253,255,255,106, 0,
|
|
/* 0x04d0 */ 106, 0,106, 50,255,117,192, 41, 93,176,255,117,176, 83,232,247,
|
|
/* 0x04e0 */ 251,255,255,131,196, 24, 57,216, 15,133,148, 0, 0, 0,139, 93,
|
|
/* 0x04f0 */ 220,102,139, 83, 44,233, 56,254,255,255,246, 64, 24, 1, 15,132,
|
|
/* 0x0500 */ 29,255,255,255,139, 93,208,137,194,139, 64, 20, 59, 67, 16,139,
|
|
/* 0x0510 */ 82, 8,141, 12, 16,116,117,139, 69,208,141, 74, 12,139, 64, 4,
|
|
/* 0x0520 */ 133,192,117, 15,139, 1, 61,205,128, 97,195,116, 6,199, 1,205,
|
|
/* 0x0530 */ 128, 97,195,133,201, 15,132,230,254,255,255,139, 69,212,186, 0,
|
|
/* 0x0540 */ 0, 0, 0,131,224,254,232,213,252,255,255,233,209,254,255,255,
|
|
/* 0x0550 */ 139, 93,208,186, 3, 0, 0, 0,139, 77,204, 3, 75, 8,139, 69,
|
|
/* 0x0560 */ 212,232,186,252,255,255,139, 69,220,102,139, 80, 44,233,192,253,
|
|
/* 0x0570 */ 255,255,139, 93,228,106, 6, 88,205,128,133,192, 15,132, 26,255,
|
|
/* 0x0580 */ 255,255,106,127, 91,106, 1, 88,205,128,235,254,137,200,247,216,
|
|
/* 0x0590 */ 37,255, 15, 0, 0,131,248, 3,119,138,233,120,255,255,255, 85,
|
|
/* 0x05a0 */ 137,229, 87, 86, 83,131,236, 16,141, 85, 24,139,125, 20,255,117,
|
|
/* 0x05b0 */ 40,141, 71, 52,139, 93, 8,255,117, 16,137, 69,240,139,117, 32,
|
|
/* 0x05c0 */ 141, 69, 32,232, 95,251,255,255,139, 85,240,139, 69, 12,139, 74,
|
|
/* 0x05d0 */ 8,186, 3, 0, 0, 0,137, 69, 32,137,216,131,193, 52, 41,117,
|
|
/* 0x05e0 */ 36,232, 58,252,255,255, 15,183, 79, 42,137,216,186, 4, 0, 0,
|
|
/* 0x05f0 */ 0,232, 42,252,255,255, 15,183, 79, 44,137,216,186, 5, 0, 0,
|
|
/* 0x0600 */ 0,232, 26,252,255,255,139, 79, 24,137,216,186, 9, 0, 0, 0,
|
|
/* 0x0610 */ 232, 11,252,255,255,141, 69, 32, 83,139, 85, 40, 80,139, 69, 16,
|
|
/* 0x0620 */ 87,232, 45,252,255,255,102,139, 79, 44,131,196, 20,137,195,102,
|
|
/* 0x0630 */ 133,201,186, 0, 0, 0, 0,116, 20,139, 69,240,131, 56, 3,116,
|
|
/* 0x0640 */ 22, 66, 15,183,193,131, 69,240, 32, 57,208,127,236,141,101,244,
|
|
/* 0x0650 */ 137,216, 91, 94, 95,201,195,185, 0, 0, 0, 0,139, 88, 8,137,
|
|
/* 0x0660 */ 202,106, 5, 88,205,128,133,192,137,198,120, 21,186, 0, 2, 0,
|
|
/* 0x0670 */ 0,137,195,137,249,106, 3, 88,205,128, 61, 0, 2, 0, 0,116,
|
|
/* 0x0680 */ 10,106,127, 91,106, 1, 88,205,128,235,254,106, 0,186, 0, 0,
|
|
/* 0x0690 */ 0, 0,106, 0,137,240, 87,232,183,251,255,255,131,196, 12,137,
|
|
/* 0x06a0 */ 195,235,170
|
|
};
|