MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / FunctionCommand

Interface FunctionCommand

rust/src/command.rs:357–360  ·  view source on GitHub ↗

The trait required for function-associated commands. See [register_command_for_function] for example usage.

Source from the content-addressed store, hash-verified

355
356/// The trait required for function-associated commands. See [register_command_for_function] for example usage.
357pub trait FunctionCommand: 'static + Sync {
358 fn action(&self, view: &BinaryView, func: &Function);
359 fn valid(&self, view: &BinaryView, func: &Function) -> bool;
360}
361
362impl<T> FunctionCommand for T
363where

Callers

nothing calls this directly

Implementers 4

command.rsrust/src/command.rs
plugin.rsplugins/warp/src/plugin.rs
copy.rsplugins/warp/src/plugin/copy.rs
add.rsplugins/warp/src/plugin/add.rs

Calls

no outgoing calls

Tested by

no test coverage detected