go/src/debug/macho/fat.go

type FatFile

type FatArchHeader

const fatArchHeaderSize

type FatArch

var ErrNotFat

// NewFatFile creates a new [FatFile] for accessing all the Mach-O images in a
// universal binary. The Mach-O binary is expected to start at position 0 in
// the ReaderAt.
func NewFatFile(r io.ReaderAt) (*FatFile, error) {}

// OpenFat opens the named file using [os.Open] and prepares it for use as a Mach-O
// universal binary.
func OpenFat(name string) (*FatFile, error) {}

func (ff *FatFile) Close() error {}