reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6113 mach_header.magic = MH_MAGIC_64; 6115 mach_header.magic = MH_MAGIC; 6117 mach_header.cputype = target_arch.GetMachOCPUType(); 6118 mach_header.cpusubtype = target_arch.GetMachOCPUSubType(); 6119 mach_header.filetype = MH_CORE; 6120 mach_header.ncmds = segment_load_commands.size(); 6121 mach_header.flags = 0; 6122 mach_header.reserved = 0; 6139 switch (mach_header.cputype) { 6166 mach_header.sizeofcmds = 6169 mach_header.sizeofcmds = 6175 ++mach_header.ncmds; 6176 mach_header.sizeofcmds += 8 + LC_THREAD_data.GetSize(); 6180 buffer.PutHex32(mach_header.magic); 6181 buffer.PutHex32(mach_header.cputype); 6182 buffer.PutHex32(mach_header.cpusubtype); 6183 buffer.PutHex32(mach_header.filetype); 6184 buffer.PutHex32(mach_header.ncmds); 6185 buffer.PutHex32(mach_header.sizeofcmds); 6186 buffer.PutHex32(mach_header.flags); 6188 buffer.PutHex32(mach_header.reserved); 6193 addr_t file_offset = buffer.GetSize() + mach_header.sizeofcmds;