Searched refs:fat_header (Results 1 – 9 of 9) 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()
198 const struct fat_header* fh_be = buf; in is_macho_object_file()202 if (szB < sizeof(struct fat_header)) in is_macho_object_file()270 { struct fat_header* fh_be; in map_image_aboard()271 struct fat_header fh; in map_image_aboard()280 if (ii->img_szB < sizeof(struct fat_header)) in map_image_aboard()284 fh_be = (struct fat_header *)ii->img; in map_image_aboard()292 if (ii->img_szB < sizeof(struct fat_header) in map_image_aboard()326 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()
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()
708 struct fat_header fh; in load_fat_file()
925 struct fat_header { struct
1330 uint64_t big_size = sizeof(struct MachO::fat_header) + in printMachOUniversalHeaders()