parameters: (file, options, fat_offset=0)
docstring: Seeks the file-like |file| object to |offset| and loops over its
    |fat_header| entries, calling HandleMachOFile for each.
docstring_summary: Seeks the file-like |file| object to |offset| and loops over its
    |fat_header| entries, calling HandleMachOFile for each.
docstring_tokens: Seeks the file - like |file| object to |offset| and loops over its |fat_header| entries calling HandleMachOFile for each .
function: def HandleFatFile(file, options, fat_offset=0):
    """Seeks the file-like |file| object to |offset| and loops over its
    |fat_header| entries, calling HandleMachOFile for each."""
  
    CheckedSeek(file, fat_offset)
    magic = ReadUInt32(file, '>')
    assert magic == FAT_MAGIC
  
    nfat_arch = ReadUInt32(file, '>')
  
    for index in xrange(0, nfat_arch):
      cputype, cpusubtype, offset, size, align = ReadFatArch(file)
      assert size >= 28
  
      # HandleMachOFile will seek around. Come back here after calling it, in
      # case it sought.
      fat_arch_offset = file.tell()
      HandleMachOFile(file, options, offset)
      CheckedSeek(file, fat_arch_offset)
function_tokens: def HandleFatFile ( file , options , fat_offset = 0 ) : CheckedSeek ( file , fat_offset ) magic = ReadUInt32 ( file , '>' ) assert magic == FAT_MAGIC nfat_arch = ReadUInt32 ( file , '>' ) for index in xrange ( 0 , nfat_arch ) : cputype , cpusubtype , offset , size , align = ReadFatArch ( file ) assert size >= 28 # HandleMachOFile will seek around. Come back here after calling it, in # case it sought. fat_arch_offset = file . tell ( ) HandleMachOFile ( file , options , offset ) CheckedSeek ( file , fat_arch_offset )