IndexX86 Backendasmjit::x86::InstDB::InstSignature

asmjit::x86::InstDB::InstSignature Struct Reference [¶]

Instruction signature.

Contains a sequence of operands' combinations and other metadata that defines a single instruction. This data is used by instruction validator.

Public Members

Members

Member Functions

Accessors

Mode x86::InstDB::InstSignature::mode() constnodiscardnoexcept[¶]

Returns instruction operation mode.

bool x86::InstDB::InstSignature::supports_mode(
Mode mode
) constnodiscardnoexcept[¶]

Tests whether the instruction supports the given operating mode.

uint32_t x86::InstDB::InstSignature::op_count() constnodiscardnoexcept[¶]

Returns the number of operands of this signature.

uint32_t x86::InstDB::InstSignature::implicit_op_count() constnodiscardnoexcept[¶]

Returns the number of implicit operands this signature has.

bool x86::InstDB::InstSignature::has_implicit_operands() constnodiscardnoexcept[¶]

Tests whether this instruction signature has at least one implicit operand.

const uint8_t* x86::InstDB::InstSignature::op_signature_indexes() constnodiscardnoexcept[¶]

Returns indexes to _op_signature_table for each operand of the instruction.

Note

The returned array always provides indexes for all operands (see Globals::kMaxOpCount) even if the instruction provides less operands. Undefined operands have always index of zero.

uint8_t x86::InstDB::InstSignature::op_signature_index(
size_t index
) constnodiscardnoexcept[¶]

Returns index to _op_signature_table, corresponding to the requested operand index of the instruction.

const OpSignature& x86::InstDB::InstSignature::op_signature(
size_t index
) constnodiscardnoexcept[¶]

Returns OpSignature corresponding to the requested operand index of the instruction.

uint8_t x86::InstDB::InstSignature::_op_count[¶]

Count of operands in op_index (0..6).

uint8_t x86::InstDB::InstSignature::_mode[¶]

Architecture modes supported (X86 / X64).

uint8_t x86::InstDB::InstSignature::_implicit_op_count[¶]

Number of implicit operands.

uint8_t x86::InstDB::InstSignature::_reserved[¶]

Reserved for future use.

uint8_t x86::InstDB::InstSignature::_op_signature_indexes[Globals::kMaxOpCount][¶]

Indexes to OpSignature table.