liblisa::arch

Trait Scope

pub trait Scope:
    Clone
    + Debug
    + Send
    + Sync {
    // Required method
    fn is_instr_in_scope(&self, instr: &[u8]) -> bool;
}
Expand description

Defines an instruction scope for an architecture. This can be used to limit which parts of the instruction space are enumerated.

Required Methods§

fn is_instr_in_scope(&self, instr: &[u8]) -> bool

Returns true if and only if instr should be enumerated.

Object Safety§

This trait is not object safe.

Implementors§