Package ghidra.app.util.bin.format.ubi

# Class FatHeader

java.lang.Object
ghidra.app.util.bin.format.ubi.FatHeader

public class FatHeader extends Object
Represents a fat_header structure.

See Also:
  - mach-o/fat.h

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `FAT_CIGAM`
  `static final int`
  `FAT_MAGIC`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FatHeader(ByteProvider provider)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<FatArch>`
  `getArchitectures()`
  `int`
  `getFatArchitectureCount()`
  `List<MachHeader>`
  `getMachHeaders()`
  `int`
  `getMagic()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### FAT_MAGIC

    public static final int FAT_MAGIC
    See Also:
      - Constant Field Values

  - ### FAT_CIGAM

    public static final int FAT_CIGAM
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### FatHeader

    public FatHeader(ByteProvider provider) throws IOException, UbiException, MachException
    Throws:
      `IOException`
      `UbiException`
      `MachException`

- ## Method Details

  - ### getMagic

    public int getMagic()

  - ### getFatArchitectureCount

    public int getFatArchitectureCount()

  - ### getArchitectures

    public List<FatArch> getArchitectures()

  - ### getMachHeaders

    public List<MachHeader> getMachHeaders()