Oracle

Trait Oracle 

Source
pub trait Oracle: ConsolePlugin + TuiPlugin {
    // Required methods
    fn name(&self) -> &'static str;
    fn ready_for_install(&self, dbg: &Debugger) -> bool;
    fn spy_points(self: Arc<Self>) -> Vec<CreateTransparentBreakpointRequest>;
}

Required Methods§

Source

fn name(&self) -> &'static str

Return oracle name.

Source

fn ready_for_install(&self, dbg: &Debugger) -> bool

True if oracle is ready for install on specific debugee. If false, then the debugger will not use this oracle. Typically, in this method, oracle will check some symbols and make a decision about the possibility of further work.

§Arguments
  • dbg: debugger instance
Source

fn spy_points(self: Arc<Self>) -> Vec<CreateTransparentBreakpointRequest>

A list of spy-points using by oracle. In debugger spy-point implemented by transparent breakpoints.

Implementors§