Python

Engine

class lief.assembly.Engine

Bases: object

This class interfaces the assembler/disassembler support

Instruction

class lief.assembly.Instruction

Bases: object

This class represents an assembly instruction

property address int

Address of the instruction

property mnemonic str

Instruction mnemonic (e.g. br)

property raw bytes

Raw bytes of the current instruction

property size int

Size of the instruction in bytes

to_string(self) str

Representation of the current instruction in a pretty assembly way