pub enum Command {
Show 16 variants
ListFunctions {
limit: Option<usize>,
filter: Option<String>,
},
Decompile {
address: String,
},
ListStrings {
limit: Option<usize>,
},
ListImports,
ListExports,
MemoryMap,
ProgramInfo,
XRefsTo {
address: String,
},
XRefsFrom {
address: String,
},
Import {
binary_path: String,
project: String,
program: Option<String>,
},
Analyze {
project: String,
program: String,
},
Ping,
Status,
ClearCache,
Shutdown,
ExecuteCli {
command_json: String,
},
}Expand description
Commands that can be sent from CLI to daemon.
These are separate from CLI Commands to decouple IPC from argument parsing.
Variants§
ListFunctions
List functions in the program
Decompile
Decompile a function at address
ListStrings
List strings in the program
ListImports
List imports
ListExports
List exports
MemoryMap
Get memory map
ProgramInfo
Get program info
XRefsTo
Get cross-references to an address
XRefsFrom
Get cross-references from an address
Import
Import a binary into a project
Analyze
Analyze a program in a project
Ping
Health check
Status
Get daemon status
ClearCache
Clear result cache
Shutdown
Shutdown the daemon
ExecuteCli
Execute a CLI command through the daemon’s queue
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more