UPX_F_MACH_i386 and skeleton stub. (Much of PackMachI386 is incomplete.)

This commit is contained in:
John Reiser
2007-02-02 13:51:51 -08:00
parent 8b1cc28783
commit 2132a28a17
11 changed files with 3995 additions and 9 deletions
+95
View File
@@ -0,0 +1,95 @@
/* i386-darwin.macho-fold.h
created from i386-darwin.macho-fold.bin, 935 (0x3a7) bytes
This file is part of the UPX executable compressor.
Copyright (C) 1996-2007 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 1996-2007 Laszlo Molnar
Copyright (C) 2000-2007 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
<mfx@users.sourceforge.net> <ml1050@users.sourceforge.net>
*/
#define STUB_I386_DARWIN_MACHO_FOLD_SIZE 935
#define STUB_I386_DARWIN_MACHO_FOLD_ADLER32 0x6747c2dc
#define STUB_I386_DARWIN_MACHO_FOLD_CRC32 0x3a5ab15f
unsigned char stub_i386_darwin_macho_fold[935] = {
204,232,148, 2, 0, 0,255, 96, 40,204,106,153,204,106,197,204, /* 0x 0 */
106, 1,204,106, 3,204,106, 5,106, 6,106, 74, 85,137,229, 87, /* 0x 10 */
86,139,125, 8, 83,137,195, 57, 56,139,112, 4,115, 7,106,127, /* 0x 20 */
232,218,255,255,255,133,255,116, 10,137,249,138, 6, 70,136, 2, /* 0x 30 */
66,226,248, 1,123, 4, 41, 59,141,101,244, 91, 94, 95,201,195, /* 0x 40 */
85,137,229, 87, 86,137,198, 83,137,211,131,236, 24,139, 69, 8, /* 0x 50 */
139,125, 12,137, 69,220,131, 58, 0, 15,132,172, 0, 0, 0,141, /* 0x 60 */
85,228,137,240,106, 12,232,161,255,255,255,139, 69,228, 90,133, /* 0x 70 */
192,139, 77,232,117, 19,129,249, 85, 80, 88, 33,117, 15,131, 62, /* 0x 80 */
0, 15,132,132, 0, 0, 0,235, 4,133,201,117, 7,106,127,232, /* 0x 90 */
107,255,255,255, 57,193,119,245, 59, 3,119,241, 57,193,115, 76, /* 0x a0 */
137, 69,224, 15,182, 69,236, 80,141, 69,224, 80,255,115, 4, 81, /* 0x b0 */
255,118, 4,255, 85,220,131,196, 20,133,192,117,208,139, 85,224, /* 0x c0 */
59, 85,228,117,200,138, 69,237,132,192,116, 22,133,255,116, 18, /* 0x d0 */
15,182,192, 80, 15,182, 69,238, 80, 82,255,115, 4,255,215,131, /* 0x e0 */
196, 16,139, 69,232, 1, 70, 4, 41, 6,235, 12,139, 83, 4, 81, /* 0x f0 */
137,240,232, 21,255,255,255, 88,139, 85,228,139, 3, 1, 83, 4, /* 0x 100 */
41,208,133,192,137, 3,233, 78,255,255,255,141,101,244, 91, 94, /* 0x 110 */
95,201,195, 85,137,229, 87, 86, 83,131,236, 48,137, 69,232,139, /* 0x 120 */
69, 8,137, 85,228,139, 85, 12,199, 69,208, 0, 0, 0, 0,137, /* 0x 130 */
69,224,139, 69, 20,137, 85,220,139, 85, 24,137, 69,216,139,117, /* 0x 140 */
232,139, 69,232,137, 85,212, 49,210,131,198, 28,199, 69,204, 0, /* 0x 150 */
0, 0, 0, 59, 80, 16, 15,131, 35, 1, 0, 0,139, 6,131,248, /* 0x 160 */
1, 15,133,234, 0, 0, 0,139, 86, 24,139, 70, 28,139, 78, 36, /* 0x 170 */
137,215, 1,208,137, 85,240,137, 69,200,137,208, 37,255, 15, 0, /* 0x 180 */
0,137,203, 41,199, 1,195,137, 77,236,116, 55,139, 69,228, 3, /* 0x 190 */
70, 32,133,201, 80,139, 69,220,117, 3,131,200,255,131,125,224, /* 0x 1a0 */
0, 80,117, 9,133,201,184, 18, 0, 0, 0,117, 5,184, 18, 16, /* 0x 1b0 */
0, 0, 80,106, 3, 83, 87,232, 64,254,255,255,131,196, 24, 57, /* 0x 1c0 */
199,117, 88,131,125,224, 0,116, 36,131,126, 36, 0,116, 30,131, /* 0x 1d0 */
126, 32, 0,117, 5,139, 85, 16,137, 58,255,117,212,255,117,216, /* 0x 1e0 */
139, 69,224,141, 85,236,232, 85,254,255,255, 89, 88,137,216,141, /* 0x 1f0 */
20, 31,247,216, 37,255, 15, 0, 0,137, 69,196,116, 8,137,193, /* 0x 200 */
198, 2, 0, 66,226,250,133,219,116, 24,255,118, 44, 83, 87,232, /* 0x 210 */
246,253,255,255,131,196, 12,133,192,116, 7,106,127,232,221,253, /* 0x 220 */
255,255,139, 85,196,141, 4, 19,141, 28, 7, 59, 93,200,115, 59, /* 0x 230 */
106, 0,106,255,104, 18, 16, 0, 0,255,118, 44, 41, 93,200,255, /* 0x 240 */
117,200, 83,232,180,253,255,255,131,196, 24, 57,195,116, 28,235, /* 0x 250 */
202,131,232, 4,131,248, 1,119, 18,131,126, 8,255,117, 12,131, /* 0x 260 */
126, 12, 16,117, 6,141, 70, 16,137, 69,208,255, 69,204,139, 85, /* 0x 270 */
232,139, 69,204, 3,118, 4, 59, 66, 16,233,215,254,255,255,139, /* 0x 280 */
69,208,141,101,244, 91, 94, 95,201,195, 85,137,229, 87, 86, 83, /* 0x 290 */
131,236, 32,199, 69,212, 0, 0, 0, 0,139, 85, 8,139, 69, 20, /* 0x 2a0 */
139, 93, 24,137, 69,216,139,117, 16,141, 66, 24,137,117,232,137, /* 0x 2b0 */
69,240,139, 69, 12,131,232, 24,137, 69,236,139, 66, 24,139, 85, /* 0x 2c0 */
240,106, 0,137, 69,228,139, 69,236,137, 85,224,137, 69,220,141, /* 0x 2d0 */
85,228,141, 69,236, 83,232,101,253,255,255,255,117, 28, 83, 49, /* 0x 2e0 */
210,255,117, 32,141, 69,220,106,255, 80,137,240,232, 34,254,255, /* 0x 2f0 */
255, 49,210,137,199,141, 70, 28,131,196, 28,139, 78, 16, 57,202, /* 0x 300 */
15,131,135, 0, 0, 0,131, 56, 14,117,121, 3, 64, 8,106, 0, /* 0x 310 */
106, 0, 80,232,237,252,255,255,131,196, 12,133,192,137,195,120, /* 0x 320 */
21,255,117,212,255,117,216, 86, 83,232,203,252,255,255,131,196, /* 0x 330 */
16, 57, 69,216,116, 15,106,127,232,194,252,255,255,139, 64, 8, /* 0x 340 */
137, 69,212,235,220,129, 62,190,186,254,202,117, 23,141, 70, 8, /* 0x 350 */
49,210,139, 78, 4, 57,202,115, 11,131, 56, 7,116,223, 66,131, /* 0x 360 */
192, 20,235,241,106, 0,139, 85,212,106, 0,137,240,106, 0, 83, /* 0x 370 */
106, 0,232,156,253,255,255, 83,137,199,232,137,252,255,255,131, /* 0x 380 */
196, 24,235, 9, 3, 64, 4, 66,233,113,255,255,255,141,101,244, /* 0x 390 */
137,248, 91, 94, 95,201,195 /* 0x 3a0 */
};