pub struct ExploitabilityAnalysis {
pub is_reachable: bool,
pub path: Option<Vec<String>>,
pub sink: String,
pub confidence: f32,
pub attack_vectors: Vec<AttackVector>,
}Expand description
Separate exploitability analysis that uses the CFG
Fields§
§is_reachable: bool§path: Option<Vec<String>>§sink: String§confidence: f32§attack_vectors: Vec<AttackVector>Implementations§
Source§impl ExploitabilityAnalysis
impl ExploitabilityAnalysis
pub fn analyze(cfg: &ControlFlowGraph, sources: &[String], sink: &str) -> Self
Trait Implementations§
Source§impl Clone for ExploitabilityAnalysis
impl Clone for ExploitabilityAnalysis
Source§fn clone(&self) -> ExploitabilityAnalysis
fn clone(&self) -> ExploitabilityAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExploitabilityAnalysis
impl Debug for ExploitabilityAnalysis
Source§impl<'de> Deserialize<'de> for ExploitabilityAnalysis
impl<'de> Deserialize<'de> for ExploitabilityAnalysis
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 ExploitabilityAnalysis
impl RefUnwindSafe for ExploitabilityAnalysis
impl Send for ExploitabilityAnalysis
impl Sync for ExploitabilityAnalysis
impl Unpin for ExploitabilityAnalysis
impl UnwindSafe for ExploitabilityAnalysis
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