Header menu logo B2R2

ISA Type

Represents the Instruction Set Architecture (ISA).

Constructors

Constructor Description

ISA(isaName)

Full Usage: ISA(isaName)

Parameters:
    isaName : string

Returns: ISA

Constructs an ISA object from a canonical ISA name string such as "x86", "x86-64", "aarch64", "mips32le", etc. Raises if the string is not recognized.

isaName : string
Returns: ISA

ISA(pythonVer)

Full Usage: ISA(pythonVer)

Parameters:
Returns: ISA

Constructs an ISA object for the given Python version.

pythonVer : PythonVersion
Returns: ISA

ISA(cilKind)

Full Usage: ISA(cilKind)

Parameters:
Returns: ISA

Constructs an ISA object for the given CIL kind.

cilKind : CILKind
Returns: ISA

ISA(arch, wordSize)

Full Usage: ISA(arch, wordSize)

Parameters:
Returns: ISA

Constructs an ISA object with the given architecture and word size. The endianness is set to the default value for the given architecture. Raises if the combination is not recognized.

arch : Architecture
wordSize : WordSize
Returns: ISA

ISA(arch, endian)

Full Usage: ISA(arch, endian)

Parameters:
Returns: ISA

Constructs an ISA object with the given architecture and endianness. The word size is set to the default value for the given architecture and endianness. Raises if the combination is not recognized.

arch : Architecture
endian : Endian
Returns: ISA

ISA(arch)

Full Usage: ISA(arch)

Parameters:
Returns: ISA

Constructs an ISA object with the given architecture. The endianness and word size are set to the default values for the given architecture. Raises if the architecture is not recognized.

arch : Architecture
Returns: ISA

ISA(arch, endian, wordSize)

Full Usage: ISA(arch, endian, wordSize)

Parameters:
Returns: ISA

Constructs an ISA object with the given architecture, endianness, and word size. The flags are set to 0.

arch : Architecture
endian : Endian
wordSize : WordSize
Returns: ISA

ISA(arch, endian, wordSize, flags)

Full Usage: ISA(arch, endian, wordSize, flags)

Parameters:
Returns: ISA
arch : Architecture
endian : Endian
wordSize : WordSize
flags : int
Returns: ISA

Instance members

Instance member Description

this.Arch

Full Usage: this.Arch

Returns: Architecture

CPU Architecture.

Returns: Architecture

this.Endian

Full Usage: this.Endian

Returns: Endian

Endianness.

Returns: Endian

this.Flags

Full Usage: this.Flags

Returns: int

Architecture-specific flags. Not every architecture has this.

Returns: int

this.IsAArch64

Full Usage: this.IsAArch64

Returns: bool

Returns true if this ISA is AArch64.

Returns: bool

this.IsARM32

Full Usage: this.IsARM32

Returns: bool

Returns true if this ISA is 32-bit ARM (ARMv7 or AArch32).

Returns: bool

this.IsARMv7

Full Usage: this.IsARMv7

Returns: bool

Returns true if this ISA is ARMv7 (any endianness).

Returns: bool

this.IsAVR

Full Usage: this.IsAVR

Returns: bool

Returns true if this ISA is AVR.

Returns: bool

this.IsCIL

Full Usage: this.IsCIL

Returns: bool

Returns true if this ISA is Common Intermediate Language (CIL).

Returns: bool

this.IsEVM

Full Usage: this.IsEVM

Returns: bool

Returns true if this ISA is Ethereum Virtual Machine (EVM).

Returns: bool

this.IsMIPS

Full Usage: this.IsMIPS

Returns: bool

Returns true if this ISA is MIPS (any word size or endianness).

Returns: bool

this.IsMIPS32

Full Usage: this.IsMIPS32

Returns: bool

Returns true if this ISA is 32-bit MIPS.

Returns: bool

this.IsMIPS64

Full Usage: this.IsMIPS64

Returns: bool

Returns true if this ISA is 64-bit MIPS.

Returns: bool

this.IsPARISC

Full Usage: this.IsPARISC

Returns: bool

Returns true if this ISA is PA-RISC (any word size).

Returns: bool

this.IsPPC

Full Usage: this.IsPPC

Returns: bool

Returns true if this ISA is PowerPC (any word size or endianness).

Returns: bool

this.IsPPC32

Full Usage: this.IsPPC32

Returns: bool

Returns true if this ISA is 32-bit PowerPC.

Returns: bool

this.IsPython

Full Usage: this.IsPython

Returns: bool

Returns true if this ISA is Python bytecode.

Returns: bool

this.IsRISCV64

Full Usage: this.IsRISCV64

Returns: bool

Returns true if this ISA is RISC-V 64-bit.

Returns: bool

this.IsS390

Full Usage: this.IsS390

Returns: bool

Returns true if this ISA is IBM System/390 (any word size).

Returns: bool

this.IsSH4

Full Usage: this.IsSH4

Returns: bool

Returns true if this ISA is SH4.

Returns: bool

this.IsSPARC

Full Usage: this.IsSPARC

Returns: bool

Returns true if this ISA is SPARC (any word size).

Returns: bool

this.IsTMS320C6000

Full Usage: this.IsTMS320C6000

Returns: bool

Returns true if this ISA is TMS320C6000.

Returns: bool

this.IsWASM

Full Usage: this.IsWASM

Returns: bool

Returns true if this ISA is WebAssembly (WASM).

Returns: bool

this.IsX64

Full Usage: this.IsX64

Returns: bool

Returns true if this ISA is Intel x86-64.

Returns: bool

this.IsX86

Full Usage: this.IsX86

Returns: bool

Returns true if this ISA is Intel x86.

Returns: bool

this.WordSize

Full Usage: this.WordSize

Returns: WordSize

Word size.

Returns: WordSize

Type something to start searching.