Class DyldArchitecture
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.dyld.DyldArchitecture
-
public final class DyldArchitecture extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static DyldArchitecture[]
ARCHITECTURES
static DyldArchitecture
ARMV6
static DyldArchitecture
ARMV7
static DyldArchitecture
ARMV7F
static DyldArchitecture
ARMV7K
static DyldArchitecture
ARMV7S
static DyldArchitecture
ARMV8A
static DyldArchitecture
ARMV8Ae
static int
DYLD_V1_SIGNATURE_LEN
Maximum length of any signaturestatic java.lang.String
DYLD_V1_SIGNATURE_PREFIX
Magic value prefixstatic DyldArchitecture
POWERPC
static DyldArchitecture
X86
static DyldArchitecture
X86_64
static DyldArchitecture
X86_64h
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DyldArchitecture
getArchitecture(ByteProvider provider)
static DyldArchitecture
getArchitecture(java.lang.String signature)
Returns the architecture object with the given signature.int
getCpuSubType()
int
getCpuType()
Endian
getEndianness()
LanguageCompilerSpecPair
getLanguageCompilerSpecPair(LanguageService languageService)
java.lang.String
getProcessor()
java.lang.String
getSignature()
java.lang.String
toString()
-
-
-
Field Detail
-
DYLD_V1_SIGNATURE_PREFIX
public static final java.lang.String DYLD_V1_SIGNATURE_PREFIX
Magic value prefix- See Also:
- Constant Field Values
-
DYLD_V1_SIGNATURE_LEN
public static final int DYLD_V1_SIGNATURE_LEN
Maximum length of any signature- See Also:
- Constant Field Values
-
X86
public static final DyldArchitecture X86
-
X86_64
public static final DyldArchitecture X86_64
-
X86_64h
public static final DyldArchitecture X86_64h
-
POWERPC
public static final DyldArchitecture POWERPC
-
ARMV6
public static final DyldArchitecture ARMV6
-
ARMV7
public static final DyldArchitecture ARMV7
-
ARMV7F
public static final DyldArchitecture ARMV7F
-
ARMV7S
public static final DyldArchitecture ARMV7S
-
ARMV7K
public static final DyldArchitecture ARMV7K
-
ARMV8A
public static final DyldArchitecture ARMV8A
-
ARMV8Ae
public static final DyldArchitecture ARMV8Ae
-
ARCHITECTURES
public static final DyldArchitecture[] ARCHITECTURES
-
-
Method Detail
-
getArchitecture
public static final DyldArchitecture getArchitecture(java.lang.String signature)
Returns the architecture object with the given signature. Returns NULL if one does not exist.- Parameters:
signature
- the signature string- Returns:
- the architecture object with the given signature or NULL
-
getArchitecture
public static final DyldArchitecture getArchitecture(ByteProvider provider) throws java.io.IOException
- Throws:
java.io.IOException
-
getCpuType
public int getCpuType()
-
getCpuSubType
public int getCpuSubType()
-
getSignature
public java.lang.String getSignature()
-
getProcessor
public java.lang.String getProcessor()
-
getEndianness
public Endian getEndianness()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLanguageCompilerSpecPair
public LanguageCompilerSpecPair getLanguageCompilerSpecPair(LanguageService languageService) throws java.io.IOException
- Throws:
java.io.IOException
-
-