Trait lief::assembly::Instruction
pub trait Instruction {
// Provided methods
fn address(&self) -> u64 { ... }
fn size(&self) -> u64 { ... }
fn raw(&self) -> &[u8] ⓘ { ... }
fn mnemonic(&self) -> String { ... }
fn to_string(&self) -> String { ... }
fn is_call(&self) -> bool { ... }
fn is_terminator(&self) -> bool { ... }
fn is_branch(&self) -> bool { ... }
fn is_syscall(&self) -> bool { ... }
}
Expand description
This trait is shared by all Instructions
supported by LIEF
Provided Methods§
fn is_terminator(&self) -> bool
fn is_terminator(&self) -> bool
True if the instruction marks the end of a basic block
fn is_syscall(&self) -> bool
fn is_syscall(&self) -> bool
True if the instruction is a syscall