Package ghidra.app.util.bin.format.ubi
Class FatArch
- java.lang.Object
-
- ghidra.app.util.bin.format.ubi.FatArch
-
public class FatArch extends java.lang.Object
Represents a fat_arch structure.- See Also:
- mach-o/fat.h
-
-
Constructor Summary
Constructors Constructor Description FatArch()
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 FatArch
createFatArch(FactoryBundledWithBinaryReader reader)
int
getAlign()
Returns the alignment as a power of 2.int
getCpuSubType()
int
getCpuType()
int
getOffset()
Returns the file offset to this object file.int
getSize()
Returns the size of this object file.java.lang.String
toString()
-
-
-
Method Detail
-
createFatArch
public static FatArch createFatArch(FactoryBundledWithBinaryReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
getCpuType
public int getCpuType()
- See Also:
CpuTypes
-
getCpuSubType
public int getCpuSubType()
- See Also:
CpuSubTypes
-
getOffset
public int getOffset()
Returns the file offset to this object file.- Returns:
- the file offset to this object file
-
getSize
public int getSize()
Returns the size of this object file.- Returns:
- the size of this object file
-
getAlign
public int getAlign()
Returns the alignment as a power of 2.- Returns:
- the alignment as a power of 2
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-