eBPF

Instruction

class Instruction : public LIEF::assembly::Instruction

This class represents an eBPF 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 ebpf::Instruction.

Opcodes

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