Package ghidra.app.util.bin.format.macho
Class CpuTypes
java.lang.Object
ghidra.app.util.bin.format.macho.CpuTypes
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
64 bit ABIstatic final int
ABI for 64-bit hardware with 32-bit types; LP32static final int
mask for architecture bitsstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getMagicString
(int cpuType, int cpuSubtype) static final Processor
getProcessor
(int cpuType, int cpuSubtype) Returns the processor name of the given CPU type value.static final int
getProcessorBitSize
(int cpuType)
-
Field Details
-
CPU_ARCH_MASK
public static final int CPU_ARCH_MASKmask for architecture bits- See Also:
-
CPU_ARCH_ABI64
public static final int CPU_ARCH_ABI6464 bit ABI- See Also:
-
CPU_ARCH_ABI64_32
public static final int CPU_ARCH_ABI64_32ABI for 64-bit hardware with 32-bit types; LP32- See Also:
-
CPU_TYPE_ANY
public static final int CPU_TYPE_ANY- See Also:
-
CPU_TYPE_VAX
public static final int CPU_TYPE_VAX- See Also:
-
CPU_TYPE_MC680x0
public static final int CPU_TYPE_MC680x0- See Also:
-
CPU_TYPE_X86
public static final int CPU_TYPE_X86- See Also:
-
CPU_TYPE_I386
public static final int CPU_TYPE_I386- See Also:
-
CPU_TYPE_MC98000
public static final int CPU_TYPE_MC98000- See Also:
-
CPU_TYPE_HPPA
public static final int CPU_TYPE_HPPA- See Also:
-
CPU_TYPE_ARM
public static final int CPU_TYPE_ARM- See Also:
-
CPU_TYPE_MC88000
public static final int CPU_TYPE_MC88000- See Also:
-
CPU_TYPE_SPARC
public static final int CPU_TYPE_SPARC- See Also:
-
CPU_TYPE_I860
public static final int CPU_TYPE_I860- See Also:
-
CPU_TYPE_POWERPC
public static final int CPU_TYPE_POWERPC- See Also:
-
CPU_TYPE_POWERPC64
public static final int CPU_TYPE_POWERPC64- See Also:
-
CPU_TYPE_X86_64
public static final int CPU_TYPE_X86_64- See Also:
-
CPU_TYPE_ARM_64
public static final int CPU_TYPE_ARM_64- See Also:
-
CPU_TYPE_ARM64_32
public static final int CPU_TYPE_ARM64_32- See Also:
-
-
Constructor Details
-
CpuTypes
public CpuTypes()
-
-
Method Details
-
getProcessor
Returns the processor name of the given CPU type value.- Parameters:
cpuType
- the CPU type valuecpuSubtype
- the CPU subtype value- Returns:
- the processor name of the given CPU type value
-
getProcessorBitSize
public static final int getProcessorBitSize(int cpuType) -
getMagicString
-