Home | History | Annotate | Download | only in mac

Lines Matching refs:magic

146   magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags = \
148 return magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags
180 does not have a known magic number or is not of type MH_EXECUTE. The
186 magic = ReadUInt32(file, '<')
187 if magic == MH_MAGIC or magic == MH_MAGIC_64:
189 elif magic == MH_CIGAM or magic == MH_CIGAM_64:
193 'Mach-O file at offset %d has illusion of magic' % offset
196 magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags = \
198 assert magic == MH_MAGIC or magic == MH_MAGIC_64
226 magic = ReadUInt32(file, '>')
227 assert magic == FAT_MAGIC
258 magic = ReadUInt32(executable_file, '<')
259 if magic == FAT_CIGAM:
262 elif magic == MH_MAGIC or magic == MH_CIGAM or \
263 magic == MH_MAGIC_64 or magic == MH_CIGAM_64: