Trait binaryninja::command::FunctionCommand
source · [−]pub trait FunctionCommand: 'static + Sync {
fn action(&self, view: &BinaryView, func: &Function);
fn valid(&self, view: &BinaryView, func: &Function) -> bool;
}
Expand description
The trait required for function-associated commands. See register_for_function for example usage.