mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
154 lines
10 KiB
C
154 lines
10 KiB
C
/* i386-bsd.elf-fold.h
|
|
created from i386-bsd.elf-fold.bin, 1809 (0x711) bytes
|
|
|
|
This file is part of the UPX executable compressor.
|
|
|
|
Copyright (C) 1996-2019 Markus Franz Xaver Johannes Oberhumer
|
|
Copyright (C) 1996-2019 Laszlo Molnar
|
|
Copyright (C) 2000-2019 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_I386_BSD_ELF_FOLD_SIZE 1809
|
|
#define STUB_I386_BSD_ELF_FOLD_ADLER32 0x21860926
|
|
#define STUB_I386_BSD_ELF_FOLD_CRC32 0xd73e7c4e
|
|
|
|
unsigned char stub_i386_bsd_elf_fold[1809] = {
|
|
/* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0010 */ 2, 0, 3, 0, 1, 0, 0, 0,128, 16,192, 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, 16,192, 0,
|
|
/* 0x0040 */ 0, 16,192, 0, 17, 7, 0, 0, 20, 7, 0, 0, 5, 0, 0, 0,
|
|
/* 0x0050 */ 0, 16, 0, 0, 1, 0, 0, 0, 17, 7, 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 */ 41,201,186,248, 2, 0, 0,137,230,137,231,232,134, 0, 0, 0,
|
|
/* 0x0090 */ 137,230,209,234, 25,192, 41,193,141, 36,196,133,210,117,243,137,
|
|
/* 0x00a0 */ 231,232,112, 0, 0, 0,129,236, 0, 10, 0, 0, 83,139, 83, 72,
|
|
/* 0x00b0 */ 141,148, 26,255, 31, 0, 0,129,226, 0,240,255,255, 82, 41,192,
|
|
/* 0x00c0 */ 102,131,123, 16, 3,117, 1,146, 80,139, 67, 24,139,112,248, 41,
|
|
/* 0x00d0 */ 240,139, 24,139, 72, 4,131,193, 12,141, 84, 36, 12, 96, 71,232,
|
|
/* 0x00e0 */ 134, 4, 0, 0,131,196, 36, 89, 91,129,196, 0, 10, 0, 0, 90,
|
|
/* 0x00f0 */ 193,226, 12, 1,211, 80,106, 0,137,229, 41,217, 41,192, 81, 83,
|
|
/* 0x0100 */ 80, 79, 60,175,175,117,252,255, 55, 49,255, 49,246, 49,210, 49,
|
|
/* 0x0110 */ 201, 49,219,176, 73,195,173,171,173,171,133,192,117,250,173,171,
|
|
/* 0x0120 */ 133,192,117,250, 87,173,171,131,248, 32,115, 3, 15,179,194,133,
|
|
/* 0x0130 */ 192,173,171,117,240,131,239, 8, 1,201, 64,243,171, 72,171,171,
|
|
/* 0x0140 */ 95,195, 0, 0, 85,137,229, 87, 86,137,206, 83,137,195, 57, 8,
|
|
/* 0x0150 */ 139,120, 4,115, 7,106,127,232,109, 5, 0, 0,133,201,116, 8,
|
|
/* 0x0160 */ 138, 7, 71,136, 2, 66,226,248, 1,115, 4, 41, 51,141,101,244,
|
|
/* 0x0170 */ 91, 94, 95,201,195, 85,137,229, 87, 86,137,198, 83,137,211,131,
|
|
/* 0x0180 */ 236, 24,139, 69, 8,139,125, 12,137, 69,220,131, 58, 0, 15,132,
|
|
/* 0x0190 */ 182, 0, 0, 0,141, 85,228,185, 12, 0, 0, 0,137,240,232,161,
|
|
/* 0x01a0 */ 255,255,255,139, 69,228,139, 77,232,133,192,117, 19,129,249, 85,
|
|
/* 0x01b0 */ 80, 88, 33,117, 15,131, 62, 0, 15,132,140, 0, 0, 0,235, 4,
|
|
/* 0x01c0 */ 133,201,117, 7,106,127,232,254, 4, 0, 0, 57,193,119,245, 59,
|
|
/* 0x01d0 */ 3,119,241, 57,193,115, 86,137, 69,224,141, 69,224,255,117,236,
|
|
/* 0x01e0 */ 80,255,115, 4, 81,255,118, 4,255, 85,220,131,196, 20,133,192,
|
|
/* 0x01f0 */ 117,210,139, 85,224, 59, 85,228,117,202,138, 69,237,132,192,116,
|
|
/* 0x0200 */ 34,133,255,116, 30,129,250, 0, 2, 0, 0,119, 4, 57, 19,117,
|
|
/* 0x0210 */ 18, 15,182,192, 80, 15,182, 69,238, 80, 82,255,115, 4,255,215,
|
|
/* 0x0220 */ 131,196, 16,139, 69,232, 1, 70, 4, 41, 6,235, 10,139, 83, 4,
|
|
/* 0x0230 */ 137,240,232, 13,255,255,255,139, 85,228,139, 3, 1, 83, 4, 41,
|
|
/* 0x0240 */ 208,133,192,137, 3,233, 68,255,255,255,141,101,244, 91, 94, 95,
|
|
/* 0x0250 */ 201,195,133,192, 83,137,195,116, 35,168, 1,117, 31,139, 3, 57,
|
|
/* 0x0260 */ 208,116, 9,131,248, 1,117, 11,133,210,116, 11,137, 19,137, 75,
|
|
/* 0x0270 */ 4,235, 9,133,192,116, 5,131,195, 8,235,225, 91,195, 85,137,
|
|
/* 0x0280 */ 229, 87, 86, 83,131,236, 60,137, 69,228,139, 69, 8,137, 85,224,
|
|
/* 0x0290 */ 139,125,224,199, 69,204,255,255,255,255,139, 85, 12,137, 69,220,
|
|
/* 0x02a0 */ 139, 69,224,139, 77, 20,137, 85,216, 3,127, 28,139, 85,224,137,
|
|
/* 0x02b0 */ 77,212,102,131,120, 16, 2, 15,183, 74, 44,137,251, 15,148,192,
|
|
/* 0x02c0 */ 49,246, 15,182,192,137,202,193,224, 4, 5, 2, 16, 0, 0, 74,
|
|
/* 0x02d0 */ 120, 30,131, 59, 1,117, 20,139, 83, 8, 59, 85,204,115, 3,137,
|
|
/* 0x02e0 */ 85,204, 3, 83, 20, 57,214,115, 2,137,214,131,195, 32,226,226,
|
|
/* 0x02f0 */ 139, 93,204,106, 0,106,255,129,227, 0,240,255,255, 80, 41,222,
|
|
/* 0x0300 */ 106, 0,129,198,255, 15, 0, 0,129,230, 0,240,255,255, 86, 83,
|
|
/* 0x0310 */ 232,143, 3, 0, 0,139, 77,224,141, 52, 48,131,196, 24, 41,216,
|
|
/* 0x0320 */ 102,131,121, 44, 0,137,117,240,137, 69,208,199, 69,200, 0, 0,
|
|
/* 0x0330 */ 0, 0, 15,132,232, 1, 0, 0,139, 7,131,248, 6,117, 34,131,
|
|
/* 0x0340 */ 125,220, 0, 15,132,193, 1, 0, 0,139, 77,208,186, 3, 0, 0,
|
|
/* 0x0350 */ 0, 3, 79, 8,139, 69,216,232,246,254,255,255,233,169, 1, 0,
|
|
/* 0x0360 */ 0, 72, 15,133,162, 1, 0, 0,139, 79, 24,199, 69,196, 64, 98,
|
|
/* 0x0370 */ 81,115,139, 69,208,131,225, 7, 3, 71, 8,193,225, 2,139, 87,
|
|
/* 0x0380 */ 16,211,109,196,139, 79, 20,137,198,131,101,196, 7, 1,193,137,
|
|
/* 0x0390 */ 85,232,137, 77,188,137,193,129,225,255, 15, 0, 0,137, 69,236,
|
|
/* 0x03a0 */ 1,202, 41,206,131,125,220, 0,137, 85,192,116, 41,106, 0,139,
|
|
/* 0x03b0 */ 69,196,106,255,104, 18, 16, 0, 0,131,200, 2, 80,137,208,131,
|
|
/* 0x03c0 */ 192, 3, 80, 86,232,219, 2, 0, 0,131,196, 24, 57,198, 15,133,
|
|
/* 0x03d0 */ 225, 0, 0, 0,235, 36,139, 71, 4, 41,200, 80,255,117,228,106,
|
|
/* 0x03e0 */ 18,255,117,196,255,117,192, 86,232,183, 2, 0, 0,131,196, 24,
|
|
/* 0x03f0 */ 57,198, 15,133,189, 0, 0, 0,235, 34,131,125,220, 0,116, 28,
|
|
/* 0x0400 */ 246, 69,196, 4,139, 69,212,117, 2, 49,192, 80,139, 69,220,255,
|
|
/* 0x0410 */ 117,228,141, 85,232,232, 91,253,255,255, 88, 90,139, 69,192,247,
|
|
/* 0x0420 */ 216, 37,255, 15, 0, 0,246, 69,196, 2,137, 69,184,116, 21,131,
|
|
/* 0x0430 */ 125,184, 0,139, 85,192,141, 4, 22,116, 9,139, 77,184,198, 0,
|
|
/* 0x0440 */ 0, 64,226,250,131,125,220, 0,116,114,131, 63, 1,117, 83,246,
|
|
/* 0x0450 */ 71, 24, 1,116, 77,139, 87, 20,139, 95, 8,141, 12, 26, 3, 77,
|
|
/* 0x0460 */ 208, 59, 87, 16,117, 14,137,200,247,216, 37,255, 15, 0, 0,131,
|
|
/* 0x0470 */ 248, 3,119, 14,107, 69,208, 52,131,127, 4, 0,141, 76, 3, 12,
|
|
/* 0x0480 */ 117, 15,139, 1, 61,205,128,201,195,116, 6,199, 1,205,128,201,
|
|
/* 0x0490 */ 195,133,201,116, 13,139, 69,216, 49,210,131,224,254,232,176,253,
|
|
/* 0x04a0 */ 255,255,255,117,196,255,117,192, 86,232, 55, 2, 0, 0,131,196,
|
|
/* 0x04b0 */ 12,133,192,116, 7,106,127,232, 13, 2, 0, 0,139, 69,192, 3,
|
|
/* 0x04c0 */ 69,184,141, 28, 6, 59, 93,188,115, 33,106, 0,106,255,104, 18,
|
|
/* 0x04d0 */ 16, 0, 0,255,117,196, 41, 93,188,255,117,188, 83,232,194, 1,
|
|
/* 0x04e0 */ 0, 0,131,196, 24, 57,195,116, 33,235,202,131,125,220, 0,116,
|
|
/* 0x04f0 */ 25,139, 69,192,131,192, 3, 37,255, 15, 0, 0,131,248, 3,119,
|
|
/* 0x0500 */ 9, 80, 83,232,217, 1, 0, 0, 89, 91,139, 77,224,131,199, 32,
|
|
/* 0x0510 */ 255, 69,200, 15,183, 65, 44, 57, 69,200, 15,140, 24,254,255,255,
|
|
/* 0x0520 */ 131,125,220, 0,117, 15,255,117,228,232,175, 1, 0, 0, 90,133,
|
|
/* 0x0530 */ 192,116, 21,235,128,139, 69,224,102,131,120, 16, 3,116, 9,255,
|
|
/* 0x0540 */ 117,240,232,129, 1, 0, 0, 88,131,125, 16, 0,116, 8,139, 77,
|
|
/* 0x0550 */ 208,139, 85, 16,137, 10,139, 69,224,139, 64, 24, 1, 69,208,139,
|
|
/* 0x0560 */ 69,208,141,101,244, 91, 94, 95,201,195, 85,137,229, 87, 86, 83,
|
|
/* 0x0570 */ 131,236, 16,141, 85, 24,139, 69, 8,106, 0,139,125, 28,137, 69,
|
|
/* 0x0580 */ 236,139, 69, 16,139, 93, 32,141,119, 52,137, 69,232,131,192, 2,
|
|
/* 0x0590 */ 255,117,232,137, 69,228,141, 69, 32,232,215,251,255,255,139, 69,
|
|
/* 0x05a0 */ 12,185, 0, 16, 0, 0,186, 6, 0, 0, 0,137, 69, 32,139, 69,
|
|
/* 0x05b0 */ 236, 41, 93, 36,232,153,252,255,255, 15,183, 79, 44,139, 69,236,
|
|
/* 0x05c0 */ 186, 5, 0, 0, 0,232,136,252,255,255, 15,183, 79, 42,139, 69,
|
|
/* 0x05d0 */ 236,186, 4, 0, 0, 0,232,119,252,255,255,139, 77, 40, 3, 78,
|
|
/* 0x05e0 */ 8,186, 3, 0, 0, 0,139, 69,236,131,193, 52,232, 97,252,255,
|
|
/* 0x05f0 */ 255,141, 69,240,255,117,228,137,250, 80,141, 69, 32,255,117,236,
|
|
/* 0x0600 */ 80,139, 69,232,232,117,252,255,255,186, 9, 0, 0, 0,137,193,
|
|
/* 0x0610 */ 137,195,139, 69,236,232, 56,252,255,255,102,139, 79, 44,131,196,
|
|
/* 0x0620 */ 24, 49,210,102,133,201,116,112,131, 62, 3,117, 96,106, 0,139,
|
|
/* 0x0630 */ 69,240,106, 0, 3, 70, 8, 80,232,156, 0, 0, 0,131,196, 12,
|
|
/* 0x0640 */ 133,192,137,195,120, 22,104, 0, 2, 0, 0, 87, 80,232,127, 0,
|
|
/* 0x0650 */ 0, 0,131,196, 12, 61, 0, 2, 0, 0,116, 7,106,127,232,102,
|
|
/* 0x0660 */ 0, 0, 0,141, 69,240,137,250,106, 0, 80,137,216,106, 0,106,
|
|
/* 0x0670 */ 0,232, 8,252,255,255,139, 77,240,137,195,139, 69,236,186, 7,
|
|
/* 0x0680 */ 0, 0, 0,232,202,251,255,255,131,196, 16,235, 11, 66, 15,183,
|
|
/* 0x0690 */ 193,131,198, 32, 57,194,124,144,141,101,244,137,216, 91, 94, 95,
|
|
/* 0x06a0 */ 201,195, 0, 0, 85,137,229, 49,192, 80,255,117, 28, 80,255,117,
|
|
/* 0x06b0 */ 24,255,117, 20,255,117, 16,255,117, 12,255,117, 8, 80,176,197,
|
|
/* 0x06c0 */ 80, 80,176,198,205,128,201,195,195,176, 1, 15,182,192,205,128,
|
|
/* 0x06d0 */ 195,176, 3,235,246,176, 4,235,242,176, 5,235,238,176, 6,235,
|
|
/* 0x06e0 */ 234,176, 73,235,230,176, 74,235,226,176, 33,235,222,176, 20,235,
|
|
/* 0x06f0 */ 218,176, 92,235,214,176, 59,235,210,176, 2,235,206,176,130,235,
|
|
/* 0x0700 */ 202,176,116,235,198,176,240,235,194,176, 10,235,190,176, 7,235,
|
|
/* 0x0710 */ 186
|
|
};
|