Searched refs:fat_header (Results 1 – 12 of 12) sorted by relevance
29 void SwapStruct(MachO::fat_header &H) { in SwapStruct()61 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()109 if (Data.getBufferSize() < sizeof(MachO::fat_header)) { in MachOUniversalBinary()115 MachO::fat_header H= getUniversalBinaryStruct<MachO::fat_header>(Buf.begin()); in MachOUniversalBinary()117 uint32_t MinSize = sizeof(MachO::fat_header) + in MachOUniversalBinary()
197 const struct fat_header* fh_be = buf; in is_macho_object_file()201 if (szB < sizeof(struct fat_header)) in is_macho_object_file()269 { struct fat_header* fh_be; in map_image_aboard()270 struct fat_header fh; in map_image_aboard()279 if (ii->img_szB < sizeof(struct fat_header)) in map_image_aboard()283 fh_be = (struct fat_header *)ii->img; in map_image_aboard()291 if (ii->img_szB < sizeof(struct fat_header) in map_image_aboard()325 assert(ii->img_szB >= sizeof(struct fat_header)); in map_image_aboard()
133 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) in fat_has_cputype()174 struct fat_header *fh = (struct fat_header *)buf; in select_arch()
94 llvm::MachO::fat_header m_header;99 llvm::MachO::fat_header &header,
124 llvm::MachO::fat_header &header, in ParseHeader()291 llvm::MachO::fat_header header; in GetModuleSpecifications()
113 const struct fat_header* fh_be = buf; in ML_()117 if (szB < sizeof(struct fat_header)) in ML_()164 struct fat_header fh_be; in map_image_aboard()165 struct fat_header fh; in map_image_aboard()175 if (ML_(img_size)(sli.img) < sizeof(struct fat_header)) { in map_image_aboard()187 if (ML_(img_size)(sli.img) < sizeof(struct fat_header) in map_image_aboard()194 for (f = 0, arch_be_ioff = sizeof(struct fat_header); in map_image_aboard()239 vg_assert(ML_(img_size)(sli.img) >= sizeof(struct fat_header)); in map_image_aboard()
172 struct fat_header fat; in FindHeader()
206 struct fat_header fh; in __breakpad_fdnlist()
153 …const uint32_t fat_header_and_arch_size = sizeof(struct fat_header) + nfat_arch * sizeof(struct fa… in UniversalMachOFileContainsArchAndUUID()
704 struct fat_header fh; in load_fat_file()
929 struct fat_header { struct
1374 uint64_t big_size = sizeof(struct MachO::fat_header) + in printMachOUniversalHeaders()