1
0
mirror of https://github.com/upx/upx synced 2025-10-05 19:20:23 +08:00

generic Mach_command

This commit is contained in:
jreiser@BitWagon.com 2016-09-10 14:57:27 -07:00 committed by Markus F.X.J. Oberhumer
parent 16d6124bb4
commit ee06ce1148

View File

@ -47,6 +47,11 @@ __packed_struct(Mach_fat_arch)
BE32 align; /* shift count; log base 2 */
__packed_struct_end()
typedef struct {
uint32_t cmd;
uint32_t cmdsize;
uint32_t data[2]; // because cmdsize >= 16
} Mach_command; // generic prefix
/*************************************************************************
// Mach Mach Object executable; all structures are target-endian