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.ObjectRepresents 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 FatArchcreateFatArch(FactoryBundledWithBinaryReader reader)intgetAlign()Returns the alignment as a power of 2.intgetCpuSubType()intgetCpuType()intgetOffset()Returns the file offset to this object file.intgetSize()Returns the size of this object file.java.lang.StringtoString() 
 - 
 
- 
- 
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:
 toStringin classjava.lang.Object
 
 - 
 
 -