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§
Sourcefn ready_for_install(&self, dbg: &Debugger) -> bool
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
Sourcefn spy_points(self: Arc<Self>) -> Vec<CreateTransparentBreakpointRequest>
fn spy_points(self: Arc<Self>) -> Vec<CreateTransparentBreakpointRequest>
A list of spy-points using by oracle. In debugger spy-point implemented by transparent breakpoints.