RISC-V

Instruction

class Instruction : public LIEF::assembly::Instruction

This class represents a RISC-V (32 or 64 bit) instruction.

Public Functions

OPCODE opcode() const

The instruction opcode as defined in LLVM.

virtual ~Instruction() override = default

Public Static Functions

static bool classof(const assembly::Instruction *inst)

True if inst is an effective instance of riscv::Instruction.

Opcodes

See LIEF::assembly::riscv::OPCODE in include/asm/riscv/opcodes.hpp