Package ghidra.app.util.bin.format.ubi
Class FatHeader
- java.lang.Object
-
- ghidra.app.util.bin.format.ubi.FatHeader
-
public class FatHeader extends java.lang.Object
Represents a fat_header structure.- See Also:
- mach-o/fat.h
-
-
Constructor Summary
Constructors Constructor Description FatHeader()
DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FatHeader
createFatHeader(GenericFactory factory, ByteProvider provider)
java.util.List<FatArch>
getArchitectures()
int
getFatArchitectureCount()
java.util.List<MachHeader>
getMachHeaders()
int
getMagic()
-
-
-
Field Detail
-
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
-
-
Method Detail
-
createFatHeader
public static FatHeader createFatHeader(GenericFactory factory, ByteProvider provider) throws java.io.IOException, UbiException, MachException
- Throws:
java.io.IOException
UbiException
MachException
-
getMagic
public int getMagic()
-
getFatArchitectureCount
public int getFatArchitectureCount()
-
getArchitectures
public java.util.List<FatArch> getArchitectures()
-
getMachHeaders
public java.util.List<MachHeader> getMachHeaders()
-
-