1
0
mirror of https://github.com/upx/upx.git synced 2025-08-11 22:52:30 +08:00

Allow more bytes for Mach_headers in /usr/lib/dyld on MacOS 13

Fixes initial complaint (HelloUPX4) in https://github.com/upx/upx/issues/612
	modified:   stub/amd64-darwin.macho-fold.h
	modified:   stub/arm64-darwin.macho-fold.h
	modified:   stub/src/amd64-darwin.macho-fold.S
	modified:   stub/src/amd64-darwin.macho-main.c
	modified:   stub/tmp/amd64-darwin.macho-fold.map
	modified:   stub/tmp/arm64-darwin.macho-fold.map
This commit is contained in:
John Reiser
2023-06-12 15:13:19 -07:00
committed by Markus F.X.J. Oberhumer
parent 43019c744c
commit 1bebe53cef
6 changed files with 339 additions and 313 deletions

View File

@ -1,5 +1,5 @@
/* amd64-darwin.macho-fold.h
created from amd64-darwin.macho-fold.bin, 2360 (0x938) bytes
created from amd64-darwin.macho-fold.bin, 2455 (0x997) bytes
This file is part of the UPX executable compressor.
@ -31,19 +31,19 @@
*/
#define STUB_AMD64_DARWIN_MACHO_FOLD_SIZE 2360
#define STUB_AMD64_DARWIN_MACHO_FOLD_ADLER32 0xcbc6c932
#define STUB_AMD64_DARWIN_MACHO_FOLD_CRC32 0x38b14abc
#define STUB_AMD64_DARWIN_MACHO_FOLD_SIZE 2455
#define STUB_AMD64_DARWIN_MACHO_FOLD_ADLER32 0x520aeb26
#define STUB_AMD64_DARWIN_MACHO_FOLD_CRC32 0x065af97e
unsigned char stub_amd64_darwin_macho_fold[2360] = {
unsigned char stub_amd64_darwin_macho_fold[2455] = {
/* 0x0000 */ 232, 74, 0, 0, 0,131,249, 73,117, 68, 83, 87, 72,141, 76, 55,
/* 0x0010 */ 253, 94, 86, 91,235, 47, 72, 57,206,115, 50, 86, 94,172, 60,128,
/* 0x0020 */ 114, 10, 60,143,119, 6,128,126,254, 15,116, 6, 44,232, 60, 1,
/* 0x0030 */ 119,228, 72, 57,206,115, 22, 86,173, 40,208,117,223, 95, 15,200,
/* 0x0040 */ 41,248, 1,216,171, 72, 57,206,115, 3,172,235,223, 91,195, 65,
/* 0x0050 */ 89, 76,137,247, 76,137,254, 73,137,228,139, 79, 24,184, 0, 8,
/* 0x0050 */ 89, 76,137,247, 76,137,254, 73,137,228,139, 79, 24,184, 0, 16,
/* 0x0060 */ 0, 0, 57,193, 15, 66,200, 73,141, 68, 36, 32, 73,137,232, 72,
/* 0x0070 */ 41,204, 72,137,226, 80,232, 41, 7, 0, 0, 72,139, 40, 72,139,
/* 0x0070 */ 41,204, 72,137,226, 80,232,136, 7, 0, 0, 72,139, 40, 72,139,
/* 0x0080 */ 136,128, 0, 0, 0, 76,137,228, 72,137, 76, 36, 24, 95,232, 45,
/* 0x0090 */ 0, 0, 0, 95, 94,184, 73, 0, 0, 2,255,229,139, 7, 15,200,
/* 0x00a0 */ 137, 7,131,238, 4, 72,141,127, 4,119,241,195,176, 4,235, 2,
@ -90,98 +90,104 @@ unsigned char stub_amd64_darwin_macho_fold[2360] = {
/* 0x0330 */ 69, 8, 72, 41, 69, 0,235, 13,137,242, 72,137,239, 76,137,206,
/* 0x0340 */ 232,139,254,255,255,139, 84, 36, 16, 72,139, 3, 72, 1, 83, 8,
/* 0x0350 */ 72, 41,208, 72,133,192, 72,137, 3,233,231,254,255,255, 72,131,
/* 0x0360 */ 196, 40, 91, 93, 65, 92, 65, 93,195, 65, 87, 69, 49,255, 65, 86,
/* 0x0370 */ 73,137,254, 73,131,198, 32, 65, 85, 73,137,213, 65, 84, 73,131,
/* 0x0380 */ 204,255, 85, 83, 49,219, 72,131,236,120, 76,137, 76, 36, 32, 68,
/* 0x0390 */ 139, 79, 12, 72,139,132, 36,176, 0, 0, 0,137,116, 36, 52, 76,
/* 0x03a0 */ 137,246, 72,137,124, 36, 56,137, 76, 36, 48, 65,131,249, 7, 76,
/* 0x03b0 */ 137, 68, 36, 40, 72,199, 68, 36, 16, 0, 0, 0, 0, 72,137, 68,
/* 0x03c0 */ 36, 24, 72,199, 68, 36, 96, 0, 0, 0, 0, 72,199, 68, 36,104,
/* 0x03d0 */ 0, 0, 0, 0,139, 71, 16,116, 11,246, 71, 26, 32,189, 16, 0,
/* 0x03e0 */ 0, 0,116, 2, 49,237,129,197, 2, 16, 0, 0,133,192,126, 96,
/* 0x03f0 */ 137,199,131, 62, 25,117, 73, 76,139, 70, 32, 77,133,192,116, 64,
/* 0x0400 */ 72,139, 78, 24, 72,133,201,117, 6, 64,246,197, 16,117, 49, 65,
/* 0x0410 */ 131,249, 7, 15,148,194, 49,192, 73,131,252,255, 15,148,192,133,
/* 0x0420 */ 194,116, 11,137,232,131,200, 16, 72,133,201, 15, 69,232, 73,141,
/* 0x0430 */ 4, 8, 73, 57,204, 76, 15, 71,225, 72, 57,195, 72, 15, 66,216,
/* 0x0440 */ 139, 70, 4,193,232, 2,255,207,137,192, 72,141, 52,134,117,162,
/* 0x0450 */ 73,129,228, 0,240,255,255, 76, 41,227, 72,129,195,255, 15, 0,
/* 0x0460 */ 0, 72,129,227, 0,240,255,255, 64,246,197, 16,116, 14, 72,137,
/* 0x0470 */ 222, 76,137,231, 77,137,231,232, 60,252,255,255, 69, 49,201, 65,
/* 0x0480 */ 131,200,255, 49,210, 76,137,255,137,233, 72,137,222,232, 54,252,
/* 0x0490 */ 255,255,169,255, 15, 0, 0, 73,137,199,116, 10,191, 6, 0, 0,
/* 0x04a0 */ 0,232,126,253,255,255, 77, 41,231, 77,133,237, 76,137,124, 36,
/* 0x04b0 */ 8,116, 18, 73,139, 69, 0, 72,137, 68, 36, 96, 73,139, 69, 8,
/* 0x04c0 */ 72,137, 68, 36,104,199, 68, 36, 4, 0, 0, 0, 0, 49,210, 72,
/* 0x04d0 */ 139, 68, 36, 56, 59, 80, 16, 15,131,179, 2, 0, 0, 65,139, 6,
/* 0x04e0 */ 131,248, 25, 15,133,107, 2, 0, 0, 77,133,237,116,116, 73,131,
/* 0x04f0 */ 126, 48, 0,116,109, 72,141,116, 36, 80,186, 12, 0, 0, 0, 76,
/* 0x0500 */ 137,239,232, 1,253,255,255, 15,182, 68, 36, 91, 59, 68, 36, 4,
/* 0x0510 */ 116, 80, 72,139, 68, 36, 96, 73,137, 69, 0, 72,139, 68, 36,104,
/* 0x0520 */ 73,137, 69, 8, 72,141,116, 36, 80,186, 12, 0, 0, 0, 76,137,
/* 0x0530 */ 239,232,210,252,255,255, 15,182, 68, 36, 91, 59, 68, 36, 4,116,
/* 0x0540 */ 33,139, 84, 36, 84, 73,139, 69, 0, 72, 41,208, 73, 3, 85, 8,
/* 0x0550 */ 72,131,232, 12, 73,137, 69, 0, 72,131,194, 12, 73,137, 85, 8,
/* 0x0560 */ 235,194, 73,139, 86, 32, 72,133,210,117, 45, 77,133,237, 15,132,
/* 0x0570 */ 2, 2, 0, 0,139, 84, 36, 84, 73,139, 69, 0, 72, 41,208, 73,
/* 0x0580 */ 3, 85, 8, 72,131,232, 12, 73,137, 69, 0, 72,131,194, 12, 73,
/* 0x0590 */ 137, 85, 8,233,222, 1, 0, 0, 73,139, 70, 48, 72,139,124, 36,
/* 0x05a0 */ 8, 72,137, 68, 36, 64, 73, 3,126, 24, 73,137,196, 72,137,251,
/* 0x05b0 */ 72,137,253, 72,137,124, 36, 72,129,227,255, 15, 0, 0, 76,141,
/* 0x05c0 */ 60, 58, 72, 41,221, 73, 1,220,116,107, 77,133,237, 76,137,230,
/* 0x05d0 */ 116, 7, 73,141,116, 36, 3,235, 10, 72,133,192,185, 18, 0, 0,
/* 0x05e0 */ 0,117, 10, 77,133,237,185, 18, 16, 0, 0,117, 9, 72,133,192,
/* 0x05f0 */ 139, 84, 36, 48,117, 3,131,202,255, 68,139, 76, 36, 52, 69, 3,
/* 0x0600 */ 78, 40, 65,137,208, 72,137,239,186, 3, 0, 0, 0,232,182,250,
/* 0x0610 */ 255,255, 72, 57,232, 72,137,195,116, 10,191, 8, 0, 0, 0,232,
/* 0x0620 */ 0,252,255,255, 72,139, 68, 36, 40, 72,137,221, 72,131, 56, 0,
/* 0x0630 */ 117, 3, 72,137, 24, 77,133,237,116, 45, 73,131,126, 48, 0,116,
/* 0x0640 */ 38, 73,131,126, 40, 0,117, 8, 72,139, 84, 36, 40, 72,137, 42,
/* 0x0650 */ 72,139, 76, 36, 24, 72,139, 84, 36, 32, 72,141,116, 36, 64, 76,
/* 0x0660 */ 137,239,232,196,251,255,255, 77,133,237, 15,149,194, 49,192, 77,
/* 0x0670 */ 133,228, 15,149,192,133,194,116, 51, 73,131,126, 40, 0,117, 44,
/* 0x0680 */ 65,131,126, 64, 0,116, 37, 76,137,240, 72, 43, 68, 36, 56, 72,
/* 0x0690 */ 131,224,252,139, 68, 5,120,193,232, 2,255,200, 72,141, 68,133,
/* 0x06a0 */ 0,199, 0,144, 15, 5,195, 72,137, 68, 36, 16, 76,137,227, 73,
/* 0x06b0 */ 141, 20, 44, 72,247,219,129,227,255, 15, 0, 0, 72,137,216, 72,
/* 0x06c0 */ 133,219,116, 11,198, 2, 0, 72,255,194, 72,255,200,235,243, 77,
/* 0x06d0 */ 133,228,116, 29, 65,139, 86, 60, 76,137,230, 72,137,239,232,209,
/* 0x06e0 */ 249,255,255,133,192,116, 10,191, 10, 0, 0, 0,232, 51,251,255,
/* 0x06f0 */ 255, 73,141, 4, 28, 72, 1,197, 76, 57,253,115, 52, 72,133,237,
/* 0x0700 */ 116,116, 65,139, 86, 60, 73, 41,239, 69, 49,201, 65,131,200,255,
/* 0x0710 */ 185, 18, 16, 0, 0, 76,137,254, 72,137,239,232,168,249,255,255,
/* 0x0720 */ 72, 57,197,116, 81,191, 9, 0, 0, 0,232,245,250,255,255,235,
/* 0x0730 */ 69, 77,133,237,116, 64, 73,131,196, 3, 65,129,228,255, 15, 0,
/* 0x0740 */ 0, 73,131,252, 3,119, 47, 76,137,230, 72,137,239,232,102,249,
/* 0x0750 */ 255,255,235, 34, 77,133,237,117, 29,131,232, 4,131,248, 1,119,
/* 0x0760 */ 21, 72,139, 68, 36, 8, 73, 1,134,144, 0, 0, 0, 73,141, 86,
/* 0x0770 */ 16, 72,137, 84, 36, 16, 65,139, 70, 4,255, 68, 36, 4,139, 84,
/* 0x0780 */ 36, 4,193,232, 2,137,192, 77,141, 52,134,233, 63,253,255,255,
/* 0x0790 */ 72,139, 68, 36, 16, 72,131,196,120, 91, 93, 65, 92, 65, 93, 65,
/* 0x07a0 */ 94, 65, 95,195, 65, 87, 73,137,207, 49,201, 65, 86, 69, 49,246,
/* 0x07b0 */ 65, 85, 69, 49,237, 65, 84, 77,137,204, 85, 72,137,213, 72,141,
/* 0x07c0 */ 87, 24, 83, 76,137,195, 72,131,236, 88,139,127, 24, 72,137,116,
/* 0x07d0 */ 36, 72, 72,139, 68, 36, 72, 72,141,116, 36, 32, 72,137, 84, 36,
/* 0x07e0 */ 56, 72,137, 84, 36, 24, 76,137,194, 72,137,108, 36, 40, 72,137,
/* 0x07f0 */ 124, 36, 32, 72,141,124, 36, 48, 72,131,232, 24, 72,137, 68, 36,
/* 0x0800 */ 48, 72,137, 68, 36, 16,232, 32,250,255,255, 80,131,201,255, 49,
/* 0x0810 */ 246, 73,137,217, 72,137,239, 72,141, 84, 36, 24, 65, 84, 76,139,
/* 0x0820 */ 132, 36,160, 0, 0, 0,232, 62,251,255,255, 72,137, 68, 36, 16,
/* 0x0830 */ 139,117, 16, 72,141, 85, 32, 65, 92, 88, 49,201, 57,241, 15,131,
/* 0x0840 */ 226, 0, 0, 0,131, 58, 14, 15,133,204, 0, 0, 0,139,122, 8,
/* 0x0850 */ 49,246, 49,192, 72,141, 60, 58, 49,210,232,101,248,255,255,133,
/* 0x0860 */ 192, 65,137,196,121, 10,191, 18, 0, 0, 0,232,180,249,255,255,
/* 0x0870 */ 68,137,241, 76,137,250, 72,137,238, 68,137,231,232, 59,248,255,
/* 0x0880 */ 255, 73, 57,199,116, 10,191, 19, 0, 0, 0,232,148,249,255,255,
/* 0x0890 */ 139, 69, 0, 61,202,254,186,190,116, 7, 61,190,186,254,202,117,
/* 0x08a0 */ 49, 72, 15,182,117, 7, 72,137,239, 72,141, 93, 8, 72,107,246,
/* 0x08b0 */ 20,131,198, 8,232,227,247,255,255,139, 69, 4, 49,201, 57,193,
/* 0x08c0 */ 115, 16,129, 59, 7, 0, 0, 1,116, 70,255,193, 72,131,195, 20,
/* 0x08d0 */ 235,236, 72,199, 68, 36, 8, 0, 0, 0, 0, 83, 69, 49,201, 68,
/* 0x08e0 */ 137,225, 49,210,106, 0, 68,137,246, 72,137,239, 76,141, 68, 36,
/* 0x08f0 */ 24,232,115,250,255,255, 73,137,197, 72,139, 68, 36, 16, 68,137,
/* 0x0900 */ 231, 73,137, 69, 0,232,182,247,255,255, 65, 90, 65, 91,235, 22,
/* 0x0910 */ 68,139,115, 8,233, 87,255,255,255,139, 66, 4,255,193, 72, 1,
/* 0x0920 */ 194,233, 22,255,255,255, 72,131,196, 88, 76,137,232, 91, 93, 65,
/* 0x0930 */ 92, 65, 93, 65, 94, 65, 95,195
/* 0x0360 */ 196, 40, 91, 93, 65, 92, 65, 93,195, 72,131,236, 64, 72,137, 84,
/* 0x0370 */ 36,152, 15,182,208, 72,137,116, 36,144, 72,141, 4,149, 0, 0,
/* 0x0380 */ 0, 0, 72,141, 21, 57, 0, 0, 0, 72,137, 76, 36,160, 76,137,
/* 0x0390 */ 68, 36,168, 76,137, 76, 36,176, 72, 41,194, 72,141, 68, 36, 55,
/* 0x03a0 */ 255,226, 15, 41,120,241, 15, 41,112,225, 15, 41,104,209, 15, 41,
/* 0x03b0 */ 96,193, 15, 41, 88,177, 15, 41, 80,161, 15, 41, 72,145, 15, 41,
/* 0x03c0 */ 64,129,204, 72,131,196, 64,195, 65, 87, 69, 49,255, 65, 86, 73,
/* 0x03d0 */ 137,254, 73,131,198, 32, 65, 85, 73,137,213, 65, 84, 73,131,204,
/* 0x03e0 */ 255, 85, 83, 49,219, 72,131,236,120, 76,137, 76, 36, 32, 68,139,
/* 0x03f0 */ 79, 12, 72,139,132, 36,176, 0, 0, 0,137,116, 36, 52, 76,137,
/* 0x0400 */ 246, 72,137,124, 36, 56,137, 76, 36, 48, 65,131,249, 7, 76,137,
/* 0x0410 */ 68, 36, 40, 72,199, 68, 36, 16, 0, 0, 0, 0, 72,137, 68, 36,
/* 0x0420 */ 24, 72,199, 68, 36, 96, 0, 0, 0, 0, 72,199, 68, 36,104, 0,
/* 0x0430 */ 0, 0, 0,139, 71, 16,116, 11,246, 71, 26, 32,189, 16, 0, 0,
/* 0x0440 */ 0,116, 2, 49,237,129,197, 2, 16, 0, 0,133,192,126, 96,137,
/* 0x0450 */ 199,131, 62, 25,117, 73, 76,139, 70, 32, 77,133,192,116, 64, 72,
/* 0x0460 */ 139, 78, 24, 72,133,201,117, 6, 64,246,197, 16,117, 49, 65,131,
/* 0x0470 */ 249, 7, 15,148,194, 49,192, 73,131,252,255, 15,148,192,133,194,
/* 0x0480 */ 116, 11,137,232,131,200, 16, 72,133,201, 15, 69,232, 73,141, 4,
/* 0x0490 */ 8, 73, 57,204, 76, 15, 71,225, 72, 57,195, 72, 15, 66,216,139,
/* 0x04a0 */ 70, 4,193,232, 2,255,207,137,192, 72,141, 52,134,117,162, 73,
/* 0x04b0 */ 129,228, 0,240,255,255, 76, 41,227, 72,129,195,255, 15, 0, 0,
/* 0x04c0 */ 72,129,227, 0,240,255,255, 64,246,197, 16,116, 14, 72,137,222,
/* 0x04d0 */ 76,137,231, 77,137,231,232,221,251,255,255, 69, 49,201, 65,131,
/* 0x04e0 */ 200,255, 49,210, 76,137,255,137,233, 72,137,222,232,215,251,255,
/* 0x04f0 */ 255,169,255, 15, 0, 0, 73,137,199,116, 10,191, 6, 0, 0, 0,
/* 0x0500 */ 232, 31,253,255,255, 77, 41,231, 77,133,237, 76,137,124, 36, 8,
/* 0x0510 */ 116, 18, 73,139, 69, 0, 72,137, 68, 36, 96, 73,139, 69, 8, 72,
/* 0x0520 */ 137, 68, 36,104,199, 68, 36, 4, 0, 0, 0, 0, 49,210, 72,139,
/* 0x0530 */ 68, 36, 56, 59, 80, 16, 15,131,179, 2, 0, 0, 65,139, 6,131,
/* 0x0540 */ 248, 25, 15,133,107, 2, 0, 0, 77,133,237,116,116, 73,131,126,
/* 0x0550 */ 48, 0,116,109, 72,141,116, 36, 80,186, 12, 0, 0, 0, 76,137,
/* 0x0560 */ 239,232,162,252,255,255, 15,182, 68, 36, 91, 59, 68, 36, 4,116,
/* 0x0570 */ 80, 72,139, 68, 36, 96, 73,137, 69, 0, 72,139, 68, 36,104, 73,
/* 0x0580 */ 137, 69, 8, 72,141,116, 36, 80,186, 12, 0, 0, 0, 76,137,239,
/* 0x0590 */ 232,115,252,255,255, 15,182, 68, 36, 91, 59, 68, 36, 4,116, 33,
/* 0x05a0 */ 139, 84, 36, 84, 73,139, 69, 0, 72, 41,208, 73, 3, 85, 8, 72,
/* 0x05b0 */ 131,232, 12, 73,137, 69, 0, 72,131,194, 12, 73,137, 85, 8,235,
/* 0x05c0 */ 194, 73,139, 86, 32, 72,133,210,117, 45, 77,133,237, 15,132, 2,
/* 0x05d0 */ 2, 0, 0,139, 84, 36, 84, 73,139, 69, 0, 72, 41,208, 73, 3,
/* 0x05e0 */ 85, 8, 72,131,232, 12, 73,137, 69, 0, 72,131,194, 12, 73,137,
/* 0x05f0 */ 85, 8,233,222, 1, 0, 0, 73,139, 70, 48, 72,139,124, 36, 8,
/* 0x0600 */ 72,137, 68, 36, 64, 73, 3,126, 24, 73,137,196, 72,137,251, 72,
/* 0x0610 */ 137,253, 72,137,124, 36, 72,129,227,255, 15, 0, 0, 76,141, 60,
/* 0x0620 */ 58, 72, 41,221, 73, 1,220,116,107, 77,133,237, 76,137,230,116,
/* 0x0630 */ 7, 73,141,116, 36, 3,235, 10, 72,133,192,185, 18, 0, 0, 0,
/* 0x0640 */ 117, 10, 77,133,237,185, 18, 16, 0, 0,117, 9, 72,133,192,139,
/* 0x0650 */ 84, 36, 48,117, 3,131,202,255, 68,139, 76, 36, 52, 69, 3, 78,
/* 0x0660 */ 40, 65,137,208, 72,137,239,186, 3, 0, 0, 0,232, 87,250,255,
/* 0x0670 */ 255, 72, 57,232, 72,137,195,116, 10,191, 8, 0, 0, 0,232,161,
/* 0x0680 */ 251,255,255, 72,139, 68, 36, 40, 72,137,221, 72,131, 56, 0,117,
/* 0x0690 */ 3, 72,137, 24, 77,133,237,116, 45, 73,131,126, 48, 0,116, 38,
/* 0x06a0 */ 73,131,126, 40, 0,117, 8, 72,139, 84, 36, 40, 72,137, 42, 72,
/* 0x06b0 */ 139, 76, 36, 24, 72,139, 84, 36, 32, 72,141,116, 36, 64, 76,137,
/* 0x06c0 */ 239,232,101,251,255,255, 77,133,237, 15,149,194, 49,192, 77,133,
/* 0x06d0 */ 228, 15,149,192,133,194,116, 51, 73,131,126, 40, 0,117, 44, 65,
/* 0x06e0 */ 131,126, 64, 0,116, 37, 76,137,240, 72, 43, 68, 36, 56, 72,131,
/* 0x06f0 */ 224,252,139, 68, 5,120,193,232, 2,255,200, 72,141, 68,133, 0,
/* 0x0700 */ 199, 0,144, 15, 5,195, 72,137, 68, 36, 16, 76,137,227, 73,141,
/* 0x0710 */ 20, 44, 72,247,219,129,227,255, 15, 0, 0, 72,137,216, 72,133,
/* 0x0720 */ 219,116, 11,198, 2, 0, 72,255,194, 72,255,200,235,243, 77,133,
/* 0x0730 */ 228,116, 29, 65,139, 86, 60, 76,137,230, 72,137,239,232,114,249,
/* 0x0740 */ 255,255,133,192,116, 10,191, 10, 0, 0, 0,232,212,250,255,255,
/* 0x0750 */ 73,141, 4, 28, 72, 1,197, 76, 57,253,115, 52, 72,133,237,116,
/* 0x0760 */ 116, 65,139, 86, 60, 73, 41,239, 69, 49,201, 65,131,200,255,185,
/* 0x0770 */ 18, 16, 0, 0, 76,137,254, 72,137,239,232, 73,249,255,255, 72,
/* 0x0780 */ 57,197,116, 81,191, 9, 0, 0, 0,232,150,250,255,255,235, 69,
/* 0x0790 */ 77,133,237,116, 64, 73,131,196, 3, 65,129,228,255, 15, 0, 0,
/* 0x07a0 */ 73,131,252, 3,119, 47, 76,137,230, 72,137,239,232, 7,249,255,
/* 0x07b0 */ 255,235, 34, 77,133,237,117, 29,131,232, 4,131,248, 1,119, 21,
/* 0x07c0 */ 72,139, 68, 36, 8, 73, 1,134,144, 0, 0, 0, 73,141, 86, 16,
/* 0x07d0 */ 72,137, 84, 36, 16, 65,139, 70, 4,255, 68, 36, 4,139, 84, 36,
/* 0x07e0 */ 4,193,232, 2,137,192, 77,141, 52,134,233, 63,253,255,255, 72,
/* 0x07f0 */ 139, 68, 36, 16, 72,131,196,120, 91, 93, 65, 92, 65, 93, 65, 94,
/* 0x0800 */ 65, 95,195, 65, 87, 73,137,207, 49,201, 65, 86, 69, 49,246, 65,
/* 0x0810 */ 85, 69, 49,237, 65, 84, 77,137,204, 85, 72,137,213, 72,141, 87,
/* 0x0820 */ 24, 83, 76,137,195, 72,131,236, 88,139,127, 24, 72,137,116, 36,
/* 0x0830 */ 72, 72,139, 68, 36, 72, 72,141,116, 36, 32, 72,137, 84, 36, 56,
/* 0x0840 */ 72,137, 84, 36, 24, 76,137,194, 72,137,108, 36, 40, 72,137,124,
/* 0x0850 */ 36, 32, 72,141,124, 36, 48, 72,131,232, 24, 72,137, 68, 36, 48,
/* 0x0860 */ 72,137, 68, 36, 16,232,193,249,255,255, 80,131,201,255, 49,246,
/* 0x0870 */ 73,137,217, 72,137,239, 72,141, 84, 36, 24, 65, 84, 76,139,132,
/* 0x0880 */ 36,160, 0, 0, 0,232, 62,251,255,255, 72,137, 68, 36, 16,139,
/* 0x0890 */ 117, 16, 72,141, 85, 32, 65, 92, 88, 49,201, 57,241, 15,131,226,
/* 0x08a0 */ 0, 0, 0,131, 58, 14, 15,133,204, 0, 0, 0,139,122, 8, 49,
/* 0x08b0 */ 246, 49,192, 72,141, 60, 58, 49,210,232, 6,248,255,255,133,192,
/* 0x08c0 */ 65,137,196,121, 10,191, 18, 0, 0, 0,232, 85,249,255,255, 68,
/* 0x08d0 */ 137,241, 76,137,250, 72,137,238, 68,137,231,232,220,247,255,255,
/* 0x08e0 */ 73, 57,199,116, 10,191, 19, 0, 0, 0,232, 53,249,255,255,139,
/* 0x08f0 */ 69, 0, 61,202,254,186,190,116, 7, 61,190,186,254,202,117, 49,
/* 0x0900 */ 72, 15,182,117, 7, 72,137,239, 72,141, 93, 8, 72,107,246, 20,
/* 0x0910 */ 131,198, 8,232,132,247,255,255,139, 69, 4, 49,201, 57,193,115,
/* 0x0920 */ 16,129, 59, 7, 0, 0, 1,116, 70,255,193, 72,131,195, 20,235,
/* 0x0930 */ 236, 72,199, 68, 36, 8, 0, 0, 0, 0, 83, 69, 49,201, 68,137,
/* 0x0940 */ 225, 49,210,106, 0, 68,137,246, 72,137,239, 76,141, 68, 36, 24,
/* 0x0950 */ 232,115,250,255,255, 73,137,197, 72,139, 68, 36, 16, 68,137,231,
/* 0x0960 */ 73,137, 69, 0,232, 87,247,255,255, 65, 90, 65, 91,235, 22, 68,
/* 0x0970 */ 139,115, 8,233, 87,255,255,255,139, 66, 4,255,193, 72, 1,194,
/* 0x0980 */ 233, 22,255,255,255, 72,131,196, 88, 76,137,232, 91, 93, 65, 92,
/* 0x0990 */ 65, 93, 65, 94, 65, 95,195
};

View File

@ -1,5 +1,5 @@
/* arm64-darwin.macho-fold.h
created from arm64-darwin.macho-fold.bin, 2720 (0xaa0) bytes
created from arm64-darwin.macho-fold.bin, 2816 (0xb00) bytes
This file is part of the UPX executable compressor.
@ -31,15 +31,15 @@
*/
#define STUB_ARM64_DARWIN_MACHO_FOLD_SIZE 2720
#define STUB_ARM64_DARWIN_MACHO_FOLD_ADLER32 0xb19bd21b
#define STUB_ARM64_DARWIN_MACHO_FOLD_CRC32 0x30558727
#define STUB_ARM64_DARWIN_MACHO_FOLD_SIZE 2816
#define STUB_ARM64_DARWIN_MACHO_FOLD_ADLER32 0x5925fb9d
#define STUB_ARM64_DARWIN_MACHO_FOLD_CRC32 0xe43effd4
unsigned char stub_arm64_darwin_macho_fold[2720] = {
unsigned char stub_arm64_darwin_macho_fold[2816] = {
/* 0x0000 */ 224, 3, 20,170,225, 3, 21,170,131, 26, 64,185, 9, 0,132, 82,
/* 0x0010 */ 127, 0, 9,107, 99,128,137, 26, 99, 60, 0, 17, 99,108, 28, 18,
/* 0x0020 */ 230,131, 0,145,243, 3, 0,145,255, 67, 35,203,226, 3, 0,145,
/* 0x0030 */ 228, 3, 28,170,165, 1, 0, 16,220, 1, 0,148, 20,128, 64,249,
/* 0x0030 */ 228, 3, 28,170,165, 1, 0, 16,239, 1, 0,148, 20,128, 64,249,
/* 0x0040 */ 28, 0, 64,249,127, 2, 0,145,224, 3, 64,185, 38, 0, 0,148,
/* 0x0050 */ 224, 7, 64,249,225, 19, 64,185, 40, 9,128, 82,254, 3, 20,170,
/* 0x0060 */ 255,131, 0,145,128, 3, 31,214, 99, 28, 0, 18,127, 72, 1,113,
@ -84,126 +84,132 @@ unsigned char stub_arm64_darwin_macho_fold[2720] = {
/* 0x02d0 */ 162,255,255,151,163, 67, 64,185, 97, 6, 64,249, 96, 2, 64,249,
/* 0x02e0 */ 33, 0, 3,139, 97, 6, 0,249, 0, 0, 3,203, 96, 2, 0,249,
/* 0x02f0 */ 185,255,255, 23,243, 83, 65,169,245, 91, 66,169,253,123,197,168,
/* 0x0300 */ 192, 3, 95,214,253,123,180,169,253, 3, 0,145,234, 47, 7,109,
/* 0x0310 */ 243, 83, 1,169,236, 55, 8,109,205, 0,103,158,232, 39, 6,109,
/* 0x0320 */ 6, 12, 64,185,247, 99, 3,169,251,115, 5,169,245, 91, 2,169,
/* 0x0330 */ 249,107, 4,169,223, 28, 0,113,247, 3, 0,170,107, 0, 39, 30,
/* 0x0340 */ 243, 3, 2,170, 42, 0, 39, 30,252, 3, 4,170,172, 0,103,158,
/* 0x0350 */ 20,128, 0,145, 7, 16, 64,185, 3, 0,128, 82,192, 0, 0, 84,
/* 0x0360 */ 0, 24, 64,185, 0, 0, 11, 18, 31, 0, 3,107, 3, 2,128, 82,
/* 0x0370 */ 227, 19,131, 26, 99, 4, 64, 17,224, 3, 20,170, 99, 8, 0, 17,
/* 0x0380 */ 5, 0,128, 82, 1, 0,128,210, 25, 0,128,146,191, 0, 7,107,
/* 0x0390 */ 106, 3, 0, 84, 2, 0, 64,185, 95,100, 0,113, 97, 2, 0, 84,
/* 0x03a0 */ 4, 16, 64,249, 36, 2, 0,180, 2, 12, 64,249, 66, 0, 0,181,
/* 0x03b0 */ 195, 1, 32, 55, 63, 7, 0,177,161, 0, 0, 84,223, 28, 0,113,
/* 0x03c0 */ 97, 0, 0, 84,162, 0, 0,180, 67, 2,130, 82, 63, 3, 2,235,
/* 0x03d0 */ 57,147,130,154, 2, 0, 0, 20,249, 3, 2,170, 66, 0, 4,139,
/* 0x03e0 */ 63, 0, 2,235, 33, 32,130,154, 2, 4, 64,185,165, 4, 0, 17,
/* 0x03f0 */ 66,116,126,146, 0, 0, 2,139,229,255,255, 23, 57,207,116,146,
/* 0x0400 */ 53,252, 63,145,181, 2, 25,203, 0, 0,128,210,181,206,116,146,
/* 0x0410 */ 227, 0, 32, 54,224, 3, 25,170,225, 3, 21,170,163, 79, 0,249,
/* 0x0420 */ 55,255,255,151,163, 79, 64,249,224, 3, 25,170, 2, 0,128, 82,
/* 0x0430 */ 225, 3, 21,170, 4, 0,128, 18,229, 3, 2, 42, 54,255,255,151,
/* 0x0440 */ 1, 44, 64,146, 97, 0, 0,180,192, 0,128, 82, 67, 0, 0, 20,
/* 0x0450 */ 25, 0, 25,203,211, 0, 0,180, 96, 2, 64,249, 9, 0,103,158,
/* 0x0460 */ 96, 6, 64,249, 8, 0,103,158, 3, 0, 0, 20,104, 2,103,158,
/* 0x0470 */ 105, 2,103,158, 24, 0,128, 82, 27, 0,128,210, 15, 0, 0, 20,
/* 0x0480 */ 83, 1, 0,180, 97, 2, 64,249,160,167, 64,185, 33, 48, 0,209,
/* 0x0490 */ 33, 0, 0,203, 97, 2, 0,249, 97, 6, 64,249, 0, 48, 0,145,
/* 0x04a0 */ 32, 0, 0,139, 96, 6, 0,249,128, 6, 64,185, 24, 7, 0, 17,
/* 0x04b0 */ 0,116,126,146,148, 2, 0,139,224, 18, 64,185, 31, 3, 0,107,
/* 0x04c0 */ 226, 21, 0, 84,128, 2, 64,185, 31,100, 0,113, 97, 20, 0, 84,
/* 0x04d0 */ 115, 4, 0,181,154, 18, 64,249, 90,253,255,180,134, 14, 64,249,
/* 0x04e0 */ 128, 26, 64,249, 38, 3, 6,139,160, 91, 0,249,213, 44, 64,146,
/* 0x04f0 */ 166, 95, 0,249,218, 0, 26,139,198, 0, 21,203,181, 2, 0,171,
/* 0x0500 */ 96, 8, 0, 84,115, 7, 0,181, 97, 1, 38, 30, 31, 0, 31,235,
/* 0x0510 */ 36, 16,159, 90, 31, 0, 31,235, 65, 2,128, 82, 64, 2,130, 82,
/* 0x0520 */ 3, 0,129, 26,224, 3, 6,170,166, 79, 0,249, 70, 1, 38, 30,
/* 0x0530 */ 133, 22, 64,249,225, 3, 21,170, 98, 0,128, 82,197, 0, 5, 11,
/* 0x0540 */ 245,254,255,151,246, 3, 0,170,166, 79, 64,249, 31, 0, 6,235,
/* 0x0550 */ 96, 5, 0, 84, 0, 1,128, 82,216,254,255,151,128, 26, 64,249,
/* 0x0560 */ 160,251,255,180,224, 3, 19,170,161,131, 2,145,130, 1,128,210,
/* 0x0570 */ 250,254,255,151, 96, 2, 64,249, 0, 48, 0,145, 96, 2, 0,249,
/* 0x0580 */ 96, 6, 64,249, 0, 48, 0,209, 96, 6, 0,249,160,175, 66, 57,
/* 0x0590 */ 31, 0, 24,107, 0,250,255, 84, 0, 1,102,158,105, 2, 0,253,
/* 0x05a0 */ 96, 6, 0,249,161,131, 2,145,224, 3, 19,170,130, 1,128,210,
/* 0x05b0 */ 234,254,255,151, 98, 2, 64,249, 64, 48, 0,145, 96, 2, 0,249,
/* 0x05c0 */ 96, 6, 64,249, 1, 48, 0,209,160,175, 66, 57, 97, 6, 0,249,
/* 0x05d0 */ 31, 0, 24,107, 0,248,255, 84,160,167, 64,185, 66, 0, 0,203,
/* 0x05e0 */ 0, 48, 0,145, 98, 2, 0,249, 32, 0, 0,139,237,255,255, 23,
/* 0x05f0 */ 67, 2,130, 82, 4, 0,128, 18,203,255,255, 23,128, 3, 64,249,
/* 0x0600 */ 128, 0, 0,181,134, 3, 0,249, 2, 0, 0, 20,246, 3, 6,170,
/* 0x0610 */ 115, 1, 0,180,128, 26, 64,249, 32, 1, 0,180,128, 22, 64,249,
/* 0x0620 */ 64, 0, 0,181,150, 3, 0,249,130, 1,102,158,224, 3, 19,170,
/* 0x0630 */ 163, 1,102,158,161,195, 2,145,223,254,255,151,127, 2, 31,235,
/* 0x0640 */ 228, 7,159, 26,191, 2, 31,235,225, 7,159, 26,129, 2, 0, 52,
/* 0x0650 */ 100, 2, 0, 52,128, 22, 64,249, 32, 2, 0,181,128, 66, 64,185,
/* 0x0660 */ 224, 1, 0, 52,128, 2, 23,203, 34, 0,128, 82, 0,244,126,146,
/* 0x0670 */ 2,128,186,114,192, 2, 0,139, 0,120, 64,185, 0,124, 2, 83,
/* 0x0680 */ 0, 8, 0, 81, 0,244,126,211,219, 2, 0,139,194,106, 32,184,
/* 0x0690 */ 0,120,128, 82,224,203,186,114, 96, 7, 0,185,227, 3, 21,203,
/* 0x06a0 */ 99, 44, 64,242, 97, 0, 0, 84,129, 2, 0, 52, 8, 0, 0, 20,
/* 0x06b0 */ 194, 2, 21,139, 0, 0,128,210, 31,104, 34, 56, 0, 4, 0,145,
/* 0x06c0 */ 31, 0, 3,235,161,255,255, 84,248,255,255, 23,130, 62, 64,185,
/* 0x06d0 */ 224, 3, 22,170,225, 3, 21,170,163, 75, 0,249,164, 79, 0,249,
/* 0x06e0 */ 138,254,255,151,164, 79, 64,249,163, 75, 64,249, 96, 0, 0, 52,
/* 0x06f0 */ 64, 1,128, 82,153,255,255, 23, 99, 0, 21,139,118, 0, 22,139,
/* 0x0700 */ 223, 2, 26,235,162, 1, 0, 84, 22,237,255,180,130, 62, 64,185,
/* 0x0710 */ 224, 3, 22,170, 65, 3, 22,203, 67, 2,130, 82, 4, 0,128, 18,
/* 0x0720 */ 5, 0,128, 82,124,254,255,151, 31, 0, 22,235,224,235,255, 84,
/* 0x0730 */ 32, 1,128, 82,137,255,255, 23,132,235,255, 52,161, 14, 0,145,
/* 0x0740 */ 33, 44, 64,146, 63, 12, 0,241, 8,235,255, 84,224, 3, 22,170,
/* 0x0750 */ 107,254,255,151, 85,255,255, 23,147,234,255,181, 0, 16, 0, 81,
/* 0x0760 */ 31, 4, 0,113, 40,234,255, 84,128,138, 64,249,155, 66, 0,145,
/* 0x0770 */ 0, 0, 25,139,128,138, 0,249, 76,255,255, 23,224, 3, 27,170,
/* 0x0780 */ 232, 39, 70,109,243, 83, 65,169,234, 47, 71,109,245, 91, 66,169,
/* 0x0790 */ 236, 55, 72,109,247, 99, 67,169,249,107, 68,169,251,115, 69,169,
/* 0x07a0 */ 253,123,204,168,192, 3, 95,214,253,123,182,169,253, 3, 0,145,
/* 0x07b0 */ 243, 83, 1,169,244, 3, 4,170,243, 3, 2,170,161, 47, 0,249,
/* 0x07c0 */ 1, 96, 0,145,161, 63, 0,249,161, 47, 64,249, 0, 24, 64,185,
/* 0x07d0 */ 33, 96, 0,209,161, 59, 0,249,160, 67, 0,249,160, 7, 71,169,
/* 0x07e0 */ 247, 99, 3,169,160, 7, 9,169,162, 71, 0,249,160,195, 1,145,
/* 0x07f0 */ 161, 3, 2,145,226, 3, 20,170,247, 3, 3,170, 3, 0,128,210,
/* 0x0800 */ 245, 91, 2,169,166, 43, 0,249,245, 3, 5,170,249, 35, 0,249,
/* 0x0810 */ 105,254,255,151,164, 43, 64,249, 1, 0,128, 82,162, 67, 2,145,
/* 0x0820 */ 224, 3, 19,170, 3, 0,128, 18,229, 3, 20,170,230, 3, 21,170,
/* 0x0830 */ 181,254,255,151,248, 3, 0,170, 98, 18, 64,185, 97,130, 0,145,
/* 0x0840 */ 4, 0,128, 82,159, 0, 2,107,224, 8, 0, 84, 32, 0, 64,185,
/* 0x0850 */ 31, 56, 0,113, 1, 8, 0, 84, 32, 8, 64,185, 22, 0,128, 82,
/* 0x0860 */ 153, 2,128, 82, 32, 0, 0,139, 1, 0,128, 82,226, 3, 1, 42,
/* 0x0870 */ 26,254,255,151,244, 3, 0, 42, 20, 3,248, 54, 64, 2,128, 82,
/* 0x0880 */ 30, 0, 0, 20, 98, 2, 64,185, 65,217,159, 82, 65,215,183,114,
/* 0x0890 */ 95, 0, 1,107, 65, 3, 0, 84, 97, 30, 64, 57,224, 3, 19,170,
/* 0x08a0 */ 117, 34, 0,145, 33,124, 25, 27, 33, 32, 0, 17, 32,254,255,151,
/* 0x08b0 */ 96, 6, 64,185, 1, 0,128, 82, 63, 0, 0,107, 0, 3, 0, 84,
/* 0x08c0 */ 163, 2, 64,185,226, 0,128, 82, 2, 32,160,114,127, 0, 2,107,
/* 0x08d0 */ 1, 2, 0, 84,182, 10, 64,185,224, 3, 20, 42,225, 3, 19,170,
/* 0x08e0 */ 226, 3, 23,170,227, 3, 22, 42, 14,254,255,151,255, 2, 0,235,
/* 0x08f0 */ 160,252,255, 84, 96, 2,128, 82,240,253,255,151,193, 87,151, 82,
/* 0x0900 */ 193, 95,185,114, 95, 0, 1,107,128,252,255, 84, 4, 0, 0, 20,
/* 0x0910 */ 33, 4, 0, 17,181, 82, 0,145,232,255,255, 23,164,131, 2,145,
/* 0x0920 */ 2, 0,128,210,224, 3, 19,170,225, 3, 22, 42,227, 3, 20, 42,
/* 0x0930 */ 229, 3, 2,170,159,140, 28,248,230, 3, 2,170,114,254,255,151,
/* 0x0940 */ 243, 3, 0,170, 24, 0, 0,249,224, 3, 20, 42,230,253,255,151,
/* 0x0950 */ 6, 0, 0, 20, 32, 4, 64,185,132, 4, 0, 17, 33, 0, 0,139,
/* 0x0960 */ 185,255,255, 23, 19, 0,128,210,224, 3, 19,170,249, 35, 64,249,
/* 0x0970 */ 243, 83, 65,169,245, 91, 66,169,247, 99, 67,169,253,123,202,168,
/* 0x0980 */ 192, 3, 95,214, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0,
/* 0x0990 */ 1,122, 82, 0, 4,120, 30, 1, 27, 12, 31, 0, 0, 0, 0, 0,
/* 0x09a0 */ 36, 0, 0, 0, 28, 0, 0, 0,176,247,255,255, 92, 0, 0, 0,
/* 0x09b0 */ 0, 65, 14, 16,157, 2,158, 1, 66, 13, 29, 83,222,221, 12, 31,
/* 0x09c0 */ 0, 0, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0, 68, 0, 0, 0,
/* 0x09d0 */ 228,247,255,255, 80, 1, 0, 0, 0, 65, 14, 80,157, 10,158, 9,
/* 0x09e0 */ 65, 13, 29, 66,147, 8,148, 7,149, 6,150, 5, 2, 79,222,221,
/* 0x09f0 */ 214,213,212,211, 12, 31, 0, 0,100, 0, 0, 0,116, 0, 0, 0,
/* 0x0a00 */ 4,249,255,255,164, 4, 0, 0, 0, 65, 14,192, 1,157, 24,158,
/* 0x0a10 */ 23, 65, 13, 29, 67, 5, 74, 10, 5, 75, 9,147, 22,148, 21, 5,
/* 0x0a20 */ 76, 8, 5, 77, 7, 71, 5, 72, 12, 5, 73, 11,151, 18,152, 17,
/* 0x0a30 */ 155, 14,156, 13,149, 20,150, 19,153, 16,154, 15, 3, 28, 1,222,
/* 0x0a40 */ 221, 6, 77, 6, 76, 6, 75, 6, 74, 6, 73, 6, 72,220,219,218,
/* 0x0a50 */ 217,216,215,214,213,212,211, 12, 31, 0, 0, 0, 0, 0, 0, 0,
/* 0x0a60 */ 60, 0, 0, 0,220, 0, 0, 0, 64,253,255,255,220, 1, 0, 0,
/* 0x0a70 */ 0, 65, 14,160, 1,157, 20,158, 19, 65, 13, 29, 65,147, 18,148,
/* 0x0a80 */ 17, 81,151, 14,152, 13, 68,149, 16,150, 15, 66,153, 12, 2, 92,
/* 0x0a90 */ 222,221,217,216,215,214,213,212,211, 12, 31, 0, 0, 0, 0, 0
/* 0x0300 */ 192, 3, 95,214,255, 3, 3,209,224, 3,128, 61,225, 71, 0,249,
/* 0x0310 */ 226, 75, 0,249,227, 79, 0,249,228, 83, 0,249,229, 87, 0,249,
/* 0x0320 */ 230, 91, 0,249,231, 95, 0,249,225, 7,128, 61,226, 11,128, 61,
/* 0x0330 */ 227, 15,128, 61,228, 19,128, 61,229, 23,128, 61,230, 27,128, 61,
/* 0x0340 */ 231, 31,128, 61, 0, 0, 32,212,255, 3, 3,145,192, 3, 95,214,
/* 0x0350 */ 253,123,180,169,253, 3, 0,145,234, 47, 7,109,243, 83, 1,169,
/* 0x0360 */ 236, 55, 8,109,205, 0,103,158,232, 39, 6,109, 6, 12, 64,185,
/* 0x0370 */ 247, 99, 3,169,251,115, 5,169,245, 91, 2,169,249,107, 4,169,
/* 0x0380 */ 223, 28, 0,113,247, 3, 0,170,107, 0, 39, 30,243, 3, 2,170,
/* 0x0390 */ 42, 0, 39, 30,252, 3, 4,170,172, 0,103,158, 20,128, 0,145,
/* 0x03a0 */ 7, 16, 64,185, 3, 0,128, 82,192, 0, 0, 84, 0, 24, 64,185,
/* 0x03b0 */ 0, 0, 11, 18, 31, 0, 3,107, 3, 2,128, 82,227, 19,131, 26,
/* 0x03c0 */ 99, 4, 64, 17,224, 3, 20,170, 99, 8, 0, 17, 5, 0,128, 82,
/* 0x03d0 */ 1, 0,128,210, 25, 0,128,146,191, 0, 7,107,106, 3, 0, 84,
/* 0x03e0 */ 2, 0, 64,185, 95,100, 0,113, 97, 2, 0, 84, 4, 16, 64,249,
/* 0x03f0 */ 36, 2, 0,180, 2, 12, 64,249, 66, 0, 0,181,195, 1, 32, 55,
/* 0x0400 */ 63, 7, 0,177,161, 0, 0, 84,223, 28, 0,113, 97, 0, 0, 84,
/* 0x0410 */ 162, 0, 0,180, 67, 2,130, 82, 63, 3, 2,235, 57,147,130,154,
/* 0x0420 */ 2, 0, 0, 20,249, 3, 2,170, 66, 0, 4,139, 63, 0, 2,235,
/* 0x0430 */ 33, 32,130,154, 2, 4, 64,185,165, 4, 0, 17, 66,116,126,146,
/* 0x0440 */ 0, 0, 2,139,229,255,255, 23, 57,207,116,146, 53,252, 63,145,
/* 0x0450 */ 181, 2, 25,203, 0, 0,128,210,181,206,116,146,227, 0, 32, 54,
/* 0x0460 */ 224, 3, 25,170,225, 3, 21,170,163, 79, 0,249, 36,255,255,151,
/* 0x0470 */ 163, 79, 64,249,224, 3, 25,170, 2, 0,128, 82,225, 3, 21,170,
/* 0x0480 */ 4, 0,128, 18,229, 3, 2, 42, 35,255,255,151, 1, 44, 64,146,
/* 0x0490 */ 97, 0, 0,180,192, 0,128, 82, 67, 0, 0, 20, 25, 0, 25,203,
/* 0x04a0 */ 211, 0, 0,180, 96, 2, 64,249, 9, 0,103,158, 96, 6, 64,249,
/* 0x04b0 */ 8, 0,103,158, 3, 0, 0, 20,104, 2,103,158,105, 2,103,158,
/* 0x04c0 */ 24, 0,128, 82, 27, 0,128,210, 15, 0, 0, 20, 83, 1, 0,180,
/* 0x04d0 */ 97, 2, 64,249,160,167, 64,185, 33, 48, 0,209, 33, 0, 0,203,
/* 0x04e0 */ 97, 2, 0,249, 97, 6, 64,249, 0, 48, 0,145, 32, 0, 0,139,
/* 0x04f0 */ 96, 6, 0,249,128, 6, 64,185, 24, 7, 0, 17, 0,116,126,146,
/* 0x0500 */ 148, 2, 0,139,224, 18, 64,185, 31, 3, 0,107,226, 21, 0, 84,
/* 0x0510 */ 128, 2, 64,185, 31,100, 0,113, 97, 20, 0, 84,115, 4, 0,181,
/* 0x0520 */ 154, 18, 64,249, 90,253,255,180,134, 14, 64,249,128, 26, 64,249,
/* 0x0530 */ 38, 3, 6,139,160, 91, 0,249,213, 44, 64,146,166, 95, 0,249,
/* 0x0540 */ 218, 0, 26,139,198, 0, 21,203,181, 2, 0,171, 96, 8, 0, 84,
/* 0x0550 */ 115, 7, 0,181, 97, 1, 38, 30, 31, 0, 31,235, 36, 16,159, 90,
/* 0x0560 */ 31, 0, 31,235, 65, 2,128, 82, 64, 2,130, 82, 3, 0,129, 26,
/* 0x0570 */ 224, 3, 6,170,166, 79, 0,249, 70, 1, 38, 30,133, 22, 64,249,
/* 0x0580 */ 225, 3, 21,170, 98, 0,128, 82,197, 0, 5, 11,226,254,255,151,
/* 0x0590 */ 246, 3, 0,170,166, 79, 64,249, 31, 0, 6,235, 96, 5, 0, 84,
/* 0x05a0 */ 0, 1,128, 82,197,254,255,151,128, 26, 64,249,160,251,255,180,
/* 0x05b0 */ 224, 3, 19,170,161,131, 2,145,130, 1,128,210,231,254,255,151,
/* 0x05c0 */ 96, 2, 64,249, 0, 48, 0,145, 96, 2, 0,249, 96, 6, 64,249,
/* 0x05d0 */ 0, 48, 0,209, 96, 6, 0,249,160,175, 66, 57, 31, 0, 24,107,
/* 0x05e0 */ 0,250,255, 84, 0, 1,102,158,105, 2, 0,253, 96, 6, 0,249,
/* 0x05f0 */ 161,131, 2,145,224, 3, 19,170,130, 1,128,210,215,254,255,151,
/* 0x0600 */ 98, 2, 64,249, 64, 48, 0,145, 96, 2, 0,249, 96, 6, 64,249,
/* 0x0610 */ 1, 48, 0,209,160,175, 66, 57, 97, 6, 0,249, 31, 0, 24,107,
/* 0x0620 */ 0,248,255, 84,160,167, 64,185, 66, 0, 0,203, 0, 48, 0,145,
/* 0x0630 */ 98, 2, 0,249, 32, 0, 0,139,237,255,255, 23, 67, 2,130, 82,
/* 0x0640 */ 4, 0,128, 18,203,255,255, 23,128, 3, 64,249,128, 0, 0,181,
/* 0x0650 */ 134, 3, 0,249, 2, 0, 0, 20,246, 3, 6,170,115, 1, 0,180,
/* 0x0660 */ 128, 26, 64,249, 32, 1, 0,180,128, 22, 64,249, 64, 0, 0,181,
/* 0x0670 */ 150, 3, 0,249,130, 1,102,158,224, 3, 19,170,163, 1,102,158,
/* 0x0680 */ 161,195, 2,145,204,254,255,151,127, 2, 31,235,228, 7,159, 26,
/* 0x0690 */ 191, 2, 31,235,225, 7,159, 26,129, 2, 0, 52,100, 2, 0, 52,
/* 0x06a0 */ 128, 22, 64,249, 32, 2, 0,181,128, 66, 64,185,224, 1, 0, 52,
/* 0x06b0 */ 128, 2, 23,203, 34, 0,128, 82, 0,244,126,146, 2,128,186,114,
/* 0x06c0 */ 192, 2, 0,139, 0,120, 64,185, 0,124, 2, 83, 0, 8, 0, 81,
/* 0x06d0 */ 0,244,126,211,219, 2, 0,139,194,106, 32,184, 0,120,128, 82,
/* 0x06e0 */ 224,203,186,114, 96, 7, 0,185,227, 3, 21,203, 99, 44, 64,242,
/* 0x06f0 */ 97, 0, 0, 84,129, 2, 0, 52, 8, 0, 0, 20,194, 2, 21,139,
/* 0x0700 */ 0, 0,128,210, 31,104, 34, 56, 0, 4, 0,145, 31, 0, 3,235,
/* 0x0710 */ 161,255,255, 84,248,255,255, 23,130, 62, 64,185,224, 3, 22,170,
/* 0x0720 */ 225, 3, 21,170,163, 75, 0,249,164, 79, 0,249,119,254,255,151,
/* 0x0730 */ 164, 79, 64,249,163, 75, 64,249, 96, 0, 0, 52, 64, 1,128, 82,
/* 0x0740 */ 153,255,255, 23, 99, 0, 21,139,118, 0, 22,139,223, 2, 26,235,
/* 0x0750 */ 162, 1, 0, 84, 22,237,255,180,130, 62, 64,185,224, 3, 22,170,
/* 0x0760 */ 65, 3, 22,203, 67, 2,130, 82, 4, 0,128, 18, 5, 0,128, 82,
/* 0x0770 */ 105,254,255,151, 31, 0, 22,235,224,235,255, 84, 32, 1,128, 82,
/* 0x0780 */ 137,255,255, 23,132,235,255, 52,161, 14, 0,145, 33, 44, 64,146,
/* 0x0790 */ 63, 12, 0,241, 8,235,255, 84,224, 3, 22,170, 88,254,255,151,
/* 0x07a0 */ 85,255,255, 23,147,234,255,181, 0, 16, 0, 81, 31, 4, 0,113,
/* 0x07b0 */ 40,234,255, 84,128,138, 64,249,155, 66, 0,145, 0, 0, 25,139,
/* 0x07c0 */ 128,138, 0,249, 76,255,255, 23,224, 3, 27,170,232, 39, 70,109,
/* 0x07d0 */ 243, 83, 65,169,234, 47, 71,109,245, 91, 66,169,236, 55, 72,109,
/* 0x07e0 */ 247, 99, 67,169,249,107, 68,169,251,115, 69,169,253,123,204,168,
/* 0x07f0 */ 192, 3, 95,214,253,123,182,169,253, 3, 0,145,243, 83, 1,169,
/* 0x0800 */ 244, 3, 4,170,243, 3, 2,170,161, 47, 0,249, 1, 96, 0,145,
/* 0x0810 */ 161, 63, 0,249,161, 47, 64,249, 0, 24, 64,185, 33, 96, 0,209,
/* 0x0820 */ 161, 59, 0,249,160, 67, 0,249,160, 7, 71,169,247, 99, 3,169,
/* 0x0830 */ 160, 7, 9,169,162, 71, 0,249,160,195, 1,145,161, 3, 2,145,
/* 0x0840 */ 226, 3, 20,170,247, 3, 3,170, 3, 0,128,210,245, 91, 2,169,
/* 0x0850 */ 166, 43, 0,249,245, 3, 5,170,249, 35, 0,249, 86,254,255,151,
/* 0x0860 */ 164, 43, 64,249, 1, 0,128, 82,162, 67, 2,145,224, 3, 19,170,
/* 0x0870 */ 3, 0,128, 18,229, 3, 20,170,230, 3, 21,170,181,254,255,151,
/* 0x0880 */ 248, 3, 0,170, 98, 18, 64,185, 97,130, 0,145, 4, 0,128, 82,
/* 0x0890 */ 159, 0, 2,107,224, 8, 0, 84, 32, 0, 64,185, 31, 56, 0,113,
/* 0x08a0 */ 1, 8, 0, 84, 32, 8, 64,185, 22, 0,128, 82,153, 2,128, 82,
/* 0x08b0 */ 32, 0, 0,139, 1, 0,128, 82,226, 3, 1, 42, 7,254,255,151,
/* 0x08c0 */ 244, 3, 0, 42, 20, 3,248, 54, 64, 2,128, 82, 30, 0, 0, 20,
/* 0x08d0 */ 98, 2, 64,185, 65,217,159, 82, 65,215,183,114, 95, 0, 1,107,
/* 0x08e0 */ 65, 3, 0, 84, 97, 30, 64, 57,224, 3, 19,170,117, 34, 0,145,
/* 0x08f0 */ 33,124, 25, 27, 33, 32, 0, 17, 13,254,255,151, 96, 6, 64,185,
/* 0x0900 */ 1, 0,128, 82, 63, 0, 0,107, 0, 3, 0, 84,163, 2, 64,185,
/* 0x0910 */ 226, 0,128, 82, 2, 32,160,114,127, 0, 2,107, 1, 2, 0, 84,
/* 0x0920 */ 182, 10, 64,185,224, 3, 20, 42,225, 3, 19,170,226, 3, 23,170,
/* 0x0930 */ 227, 3, 22, 42,251,253,255,151,255, 2, 0,235,160,252,255, 84,
/* 0x0940 */ 96, 2,128, 82,221,253,255,151,193, 87,151, 82,193, 95,185,114,
/* 0x0950 */ 95, 0, 1,107,128,252,255, 84, 4, 0, 0, 20, 33, 4, 0, 17,
/* 0x0960 */ 181, 82, 0,145,232,255,255, 23,164,131, 2,145, 2, 0,128,210,
/* 0x0970 */ 224, 3, 19,170,225, 3, 22, 42,227, 3, 20, 42,229, 3, 2,170,
/* 0x0980 */ 159,140, 28,248,230, 3, 2,170,114,254,255,151,243, 3, 0,170,
/* 0x0990 */ 24, 0, 0,249,224, 3, 20, 42,211,253,255,151, 6, 0, 0, 20,
/* 0x09a0 */ 32, 4, 64,185,132, 4, 0, 17, 33, 0, 0,139,185,255,255, 23,
/* 0x09b0 */ 19, 0,128,210,224, 3, 19,170,249, 35, 64,249,243, 83, 65,169,
/* 0x09c0 */ 245, 91, 66,169,247, 99, 67,169,253,123,202,168,192, 3, 95,214,
/* 0x09d0 */ 20, 0, 0, 0, 0, 0, 0, 0, 1,122, 82, 0, 4,120, 30, 1,
/* 0x09e0 */ 27, 12, 31, 0, 0, 0, 0, 0, 36, 0, 0, 0, 28, 0, 0, 0,
/* 0x09f0 */ 104,247,255,255, 92, 0, 0, 0, 0, 65, 14, 16,157, 2,158, 1,
/* 0x0a00 */ 66, 13, 29, 83,222,221, 12, 31, 0, 0, 0, 0, 0, 0, 0, 0,
/* 0x0a10 */ 44, 0, 0, 0, 68, 0, 0, 0,156,247,255,255, 80, 1, 0, 0,
/* 0x0a20 */ 0, 65, 14, 80,157, 10,158, 9, 65, 13, 29, 66,147, 8,148, 7,
/* 0x0a30 */ 149, 6,150, 5, 2, 79,222,221,214,213,212,211, 12, 31, 0, 0,
/* 0x0a40 */ 20, 0, 0, 0,116, 0, 0, 0,188,248,255,255, 76, 0, 0, 0,
/* 0x0a50 */ 0, 65, 14,192, 1, 81, 14, 0,100, 0, 0, 0,140, 0, 0, 0,
/* 0x0a60 */ 240,248,255,255,164, 4, 0, 0, 0, 65, 14,192, 1,157, 24,158,
/* 0x0a70 */ 23, 65, 13, 29, 67, 5, 74, 10, 5, 75, 9,147, 22,148, 21, 5,
/* 0x0a80 */ 76, 8, 5, 77, 7, 71, 5, 72, 12, 5, 73, 11,151, 18,152, 17,
/* 0x0a90 */ 155, 14,156, 13,149, 20,150, 19,153, 16,154, 15, 3, 28, 1,222,
/* 0x0aa0 */ 221, 6, 77, 6, 76, 6, 75, 6, 74, 6, 73, 6, 72,220,219,218,
/* 0x0ab0 */ 217,216,215,214,213,212,211, 12, 31, 0, 0, 0, 0, 0, 0, 0,
/* 0x0ac0 */ 60, 0, 0, 0,244, 0, 0, 0, 44,253,255,255,220, 1, 0, 0,
/* 0x0ad0 */ 0, 65, 14,160, 1,157, 20,158, 19, 65, 13, 29, 65,147, 18,148,
/* 0x0ae0 */ 17, 81,151, 14,152, 13, 68,149, 16,150, 15, 66,153, 12, 2, 92,
/* 0x0af0 */ 222,221,217,216,215,214,213,212,211, 12, 31, 0, 0, 0, 0, 0
};

View File

@ -56,7 +56,7 @@ L90:
movq %r15,%arg2 // LENX
movq %rsp,%r12 // remember for un-alloca
movl sz_unc+sz_p_info+sz_l_info(%arg1),%arg4l // sz_mhdr
movl $2048,%eax // >= 2KiB for /usr/lib/dyld
movl $0x1000,%eax // /usr/lib/dyld: 0x868 in MacOS 13 (2022)
cmpl %eax,%arg4l
cmovb %eax,%arg4l // sz_mhdr
lea 4*NBPW(%r12),%rax // &&Mach_header64 for arg7

View File

@ -474,6 +474,18 @@ extern void bswap(void *, unsigned);
typedef size_t Addr; // this source file is used by 32-bit and 64-bit machines
void my_bkpt(void const *foo, ...)
{
(void)foo;
#if defined(__x86_64__) //{
__asm__(".byte 0xcc");
#elif defined(__aarch64__) //}{
__asm__("brk #0");
#elif defined(__arm__) //}{
__asm__("bkpt");
#endif //}
}
// Find convex hull of PT_LOAD (the minimal interval which covers all PT_LOAD),
// and mmap that much, to be sure that a kernel using exec-shield-randomize
// won't place the first piece in a way that leaves no room for the rest.
@ -558,8 +570,8 @@ do_xmap(
for ( j=0; j < mhdr->ncmds; ++j,
(sc = (Mach_segment_command *)((sc->cmdsize>>2) + (unsigned *)sc))
) {
DPRINTF(" #%%d cmd=%%x cmdsize=%%x vmsize=%%x\\n",
j, sc->cmd, sc->cmdsize, sc->vmsize);
DPRINTF(" #%%d sc=%%x cmd=%%x cmdsize=%%x vmsize=%%x\\n",
j, sc, sc->cmd, sc->cmdsize, sc->vmsize);
if (LC_SEGMENT==sc->cmd) {
struct b_info h;
if (xi && sc->filesize) { // Find the correct compressed block.
@ -712,7 +724,6 @@ do_xmap(
return rv;
}
/*************************************************************************
// upx_main - called by our unfolded entry code
//
@ -764,6 +775,7 @@ upx_main(
err_exit(18);
}
fat:
DPRINTF("fat_offset= %%p\\n", fat_offset);
if ((ssize_t)sz_mhdr!=pread(fdi, (void *)mhdr, sz_mhdr, fat_offset)) {
ERR_LAB
err_exit(19);

View File

@ -72,7 +72,7 @@ LOAD tmp/amd64-darwin.macho-main.o
.plt
*(.plt)
.text 0x0000000008048000 0x938
.text 0x0000000008048000 0x997
*(.text .stub .text.* .gnu.linkonce.t.*)
.text 0x0000000008048000 0x1d0 tmp/amd64-darwin.macho-fold.o
0x00000000080480b8 munmap
@ -86,17 +86,18 @@ LOAD tmp/amd64-darwin.macho-main.o
0x00000000080480c4 open
0x00000000080480b4 mprotect
0x00000000080480c0 close
.text 0x00000000080481d0 0x768 tmp/amd64-darwin.macho-main.o
0x0000000008048369 do_xmap
0x00000000080487a4 upx_main
.text 0x00000000080481d0 0x7c7 tmp/amd64-darwin.macho-main.o
0x00000000080483c8 do_xmap
0x0000000008048369 my_bkpt
0x0000000008048803 upx_main
*(.text.*personality*)
*(.gnu.warning)
.fini
*(.fini)
0x0000000008048938 PROVIDE (__etext, .)
0x0000000008048938 PROVIDE (_etext, .)
0x0000000008048938 PROVIDE (etext, .)
0x0000000008048997 PROVIDE (__etext, .)
0x0000000008048997 PROVIDE (_etext, .)
0x0000000008048997 PROVIDE (etext, .)
.rodata
*(.rodata .rodata.* .gnu.linkonce.r.*)
@ -112,8 +113,8 @@ LOAD tmp/amd64-darwin.macho-main.o
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
0x0000000008048938 . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
0x0000000008049938 . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
0x0000000008048997 . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
0x0000000008049997 . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
.eh_frame
*(.eh_frame)
@ -128,22 +129,22 @@ LOAD tmp/amd64-darwin.macho-main.o
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x0000000008049938 0x0
0x0000000008049938 PROVIDE (__preinit_array_start, .)
.preinit_array 0x0000000008049997 0x0
0x0000000008049997 PROVIDE (__preinit_array_start, .)
*(.preinit_array)
0x0000000008049938 PROVIDE (__preinit_array_end, .)
0x0000000008049997 PROVIDE (__preinit_array_end, .)
.init_array 0x0000000008049938 0x0
0x0000000008049938 PROVIDE (__init_array_start, .)
.init_array 0x0000000008049997 0x0
0x0000000008049997 PROVIDE (__init_array_start, .)
*(SORT(.init_array.*))
*(.init_array)
0x0000000008049938 PROVIDE (__init_array_end, .)
0x0000000008049997 PROVIDE (__init_array_end, .)
.fini_array 0x0000000008049938 0x0
0x0000000008049938 PROVIDE (__fini_array_start, .)
.fini_array 0x0000000008049997 0x0
0x0000000008049997 PROVIDE (__fini_array_start, .)
*(.fini_array)
*(SORT(.fini_array.*))
0x0000000008049938 PROVIDE (__fini_array_end, .)
0x0000000008049997 PROVIDE (__fini_array_end, .)
.ctors
*crtbegin*.o(.ctors)
@ -169,35 +170,35 @@ LOAD tmp/amd64-darwin.macho-main.o
.got
*(.got)
0x0000000008049938 . = (. DATA_SEGMENT_RELRO_END 0xc)
0x0000000008049997 . = (. DATA_SEGMENT_RELRO_END 0xc)
.got.plt
*(.got.plt)
.data 0x0000000008049938 0x0
.data 0x0000000008049998 0x0
*(.data .data.* .gnu.linkonce.d.*)
.data 0x0000000008049938 0x0 tmp/amd64-darwin.macho-fold.o
.data 0x0000000008049938 0x0 tmp/amd64-darwin.macho-main.o
.data 0x0000000008049998 0x0 tmp/amd64-darwin.macho-fold.o
.data 0x0000000008049998 0x0 tmp/amd64-darwin.macho-main.o
*(.gnu.linkonce.d.*personality*)
.data1
*(.data1)
0x0000000008049938 _edata = .
0x0000000008049938 PROVIDE (edata, .)
0x0000000008049938 __bss_start = .
0x0000000008049998 _edata = .
0x0000000008049998 PROVIDE (edata, .)
0x0000000008049998 __bss_start = .
.bss 0x0000000008049938 0x0
.bss 0x0000000008049998 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000008049938 0x0 tmp/amd64-darwin.macho-fold.o
.bss 0x0000000008049938 0x0 tmp/amd64-darwin.macho-main.o
.bss 0x0000000008049998 0x0 tmp/amd64-darwin.macho-fold.o
.bss 0x0000000008049998 0x0 tmp/amd64-darwin.macho-main.o
*(COMMON)
0x0000000008049938 . = ALIGN ((. != 0x0)?0x4:0x1)
0x0000000008049938 . = ALIGN (0x4)
0x0000000008049938 . = ALIGN (0x4)
0x0000000008049938 _end = .
0x0000000008049938 PROVIDE (end, .)
0x0000000008049938 . = DATA_SEGMENT_END (.)
0x0000000008049998 . = ALIGN ((. != 0x0)?0x4:0x1)
0x0000000008049998 . = ALIGN (0x4)
0x0000000008049998 . = ALIGN (0x4)
0x0000000008049998 _end = .
0x0000000008049998 PROVIDE (end, .)
0x0000000008049998 . = DATA_SEGMENT_END (.)
.stab
*(.stab)

View File

@ -67,7 +67,7 @@ LOAD tmp/arm64-darwin.macho-main.o
*(.iplt)
.iplt 0x0000000000400080 0x0 tmp/arm64-darwin.macho-fold.o
.text 0x0000000000400078 0x984
.text 0x0000000000400078 0x9d0
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
*(.text.exit .text.exit.*)
*(.text.startup .text.startup.*)
@ -87,16 +87,17 @@ LOAD tmp/arm64-darwin.macho-main.o
0x000000000040018c mmap
0x0000000000400198 pread
0x00000000004001a4 bswap
.text 0x00000000004001d0 0x82c tmp/arm64-darwin.macho-main.o
0x000000000040037c do_xmap
0x0000000000400820 upx_main
.text 0x00000000004001d0 0x878 tmp/arm64-darwin.macho-main.o
0x000000000040037c my_bkpt
0x00000000004003c8 do_xmap
0x000000000040086c upx_main
*(.gnu.warning)
.fini
*(SORT(.fini))
0x00000000004009fc PROVIDE (__etext, .)
0x00000000004009fc PROVIDE (_etext, .)
0x00000000004009fc PROVIDE (etext, .)
0x0000000000400a48 PROVIDE (__etext, .)
0x0000000000400a48 PROVIDE (_etext, .)
0x0000000000400a48 PROVIDE (etext, .)
.rodata
*(.rodata .rodata.* .gnu.linkonce.r.*)
@ -107,18 +108,18 @@ LOAD tmp/arm64-darwin.macho-main.o
.eh_frame_hdr
*(.eh_frame_hdr)
.eh_frame 0x0000000000400a00 0x118
.eh_frame 0x0000000000400a48 0x130
*(.eh_frame)
.eh_frame 0x0000000000400a00 0x118 tmp/arm64-darwin.macho-main.o
0x108 (size before relaxing)
.eh_frame 0x0000000000400a48 0x130 tmp/arm64-darwin.macho-main.o
0x120 (size before relaxing)
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
.exception_ranges
*(.exception_ranges .exception_ranges*)
0x0000000000400b18 . = (ALIGN (0x10000) - ((0x10000 - .) & 0xffff))
0x0000000000410b18 . = DATA_SEGMENT_ALIGN (0x10000, 0x1000)
0x0000000000400b78 . = (ALIGN (0x10000) - ((0x10000 - .) & 0xffff))
0x0000000000410b78 . = DATA_SEGMENT_ALIGN (0x10000, 0x1000)
.eh_frame
*(.eh_frame)
@ -136,22 +137,22 @@ LOAD tmp/arm64-darwin.macho-main.o
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x0000000000410b18 0x0
0x0000000000410b18 PROVIDE (__preinit_array_start, .)
.preinit_array 0x0000000000410b78 0x0
0x0000000000410b78 PROVIDE (__preinit_array_start, .)
*(.preinit_array)
0x0000000000410b18 PROVIDE (__preinit_array_end, .)
0x0000000000410b78 PROVIDE (__preinit_array_end, .)
.init_array 0x0000000000410b18 0x0
0x0000000000410b18 PROVIDE (__init_array_start, .)
.init_array 0x0000000000410b78 0x0
0x0000000000410b78 PROVIDE (__init_array_start, .)
*(SORT(.init_array.*))
*(.init_array)
0x0000000000410b18 PROVIDE (__init_array_end, .)
0x0000000000410b78 PROVIDE (__init_array_end, .)
.fini_array 0x0000000000410b18 0x0
0x0000000000410b18 PROVIDE (__fini_array_start, .)
.fini_array 0x0000000000410b78 0x0
0x0000000000410b78 PROVIDE (__fini_array_start, .)
*(SORT(.fini_array.*))
*(.fini_array)
0x0000000000410b18 PROVIDE (__fini_array_end, .)
0x0000000000410b78 PROVIDE (__fini_array_end, .)
.ctors
*crtbegin.o(.ctors)
@ -180,43 +181,43 @@ LOAD tmp/arm64-darwin.macho-main.o
.got
*(.got)
*(.igot)
0x0000000000410b18 . = DATA_SEGMENT_RELRO_END (., 0x18)
0x0000000000410b78 . = DATA_SEGMENT_RELRO_END (., 0x18)
.got.plt 0x0000000000410b18 0x0
.got.plt 0x0000000000410b78 0x0
*(.got.plt)
*(.igot.plt)
.igot.plt 0x0000000000410b18 0x0 tmp/arm64-darwin.macho-fold.o
.igot.plt 0x0000000000410b78 0x0 tmp/arm64-darwin.macho-fold.o
.data 0x0000000000410b18 0x0
0x0000000000410b18 PROVIDE (__data_start, .)
.data 0x0000000000410b78 0x0
0x0000000000410b78 PROVIDE (__data_start, .)
*(.data .data.* .gnu.linkonce.d.*)
.data 0x0000000000410b18 0x0 tmp/arm64-darwin.macho-fold.o
.data 0x0000000000410b18 0x0 tmp/arm64-darwin.macho-main.o
.data 0x0000000000410b78 0x0 tmp/arm64-darwin.macho-fold.o
.data 0x0000000000410b78 0x0 tmp/arm64-darwin.macho-main.o
.data1
*(.data1)
0x0000000000410b18 _edata = .
0x0000000000410b18 PROVIDE (edata, .)
0x0000000000410b18 . = .
0x0000000000410b18 __bss_start = .
0x0000000000410b18 __bss_start__ = .
0x0000000000410b78 _edata = .
0x0000000000410b78 PROVIDE (edata, .)
0x0000000000410b78 . = .
0x0000000000410b78 __bss_start = .
0x0000000000410b78 __bss_start__ = .
.bss 0x0000000000410b18 0x0
.bss 0x0000000000410b78 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000000410b18 0x0 tmp/arm64-darwin.macho-fold.o
.bss 0x0000000000410b18 0x0 tmp/arm64-darwin.macho-main.o
.bss 0x0000000000410b78 0x0 tmp/arm64-darwin.macho-fold.o
.bss 0x0000000000410b78 0x0 tmp/arm64-darwin.macho-main.o
*(COMMON)
0x0000000000410b18 . = ALIGN ((. != 0x0)?0x8:0x1)
0x0000000000410b18 _bss_end__ = .
0x0000000000410b18 __bss_end__ = .
0x0000000000410b18 . = ALIGN (0x8)
0x0000000000410b18 . = SEGMENT_START ("ldata-segment", .)
0x0000000000410b18 . = ALIGN (0x8)
0x0000000000410b18 __end__ = .
0x0000000000410b18 _end = .
0x0000000000410b18 PROVIDE (end, .)
0x0000000000410b18 . = DATA_SEGMENT_END (.)
0x0000000000410b78 . = ALIGN ((. != 0x0)?0x8:0x1)
0x0000000000410b78 _bss_end__ = .
0x0000000000410b78 __bss_end__ = .
0x0000000000410b78 . = ALIGN (0x8)
0x0000000000410b78 . = SEGMENT_START ("ldata-segment", .)
0x0000000000410b78 . = ALIGN (0x8)
0x0000000000410b78 __end__ = .
0x0000000000410b78 _end = .
0x0000000000410b78 PROVIDE (end, .)
0x0000000000410b78 . = DATA_SEGMENT_END (.)
.stab
*(.stab)