pub struct PathSensitiveResult {
pub path_results: Vec<PathAnalysisResult>,
pub has_any_vulnerable_path: bool,
pub total_paths: usize,
}Expand description
Result of path-sensitive analysis
Fields§
§path_results: Vec<PathAnalysisResult>Results for each path
has_any_vulnerable_path: boolTrue if at least one path is vulnerable
total_paths: usizeTotal number of paths analyzed
Implementations§
Source§impl PathSensitiveResult
impl PathSensitiveResult
Sourcepub fn vulnerable_paths(&self) -> Vec<&PathAnalysisResult>
pub fn vulnerable_paths(&self) -> Vec<&PathAnalysisResult>
Get vulnerable paths
Sourcepub fn safe_paths(&self) -> Vec<&PathAnalysisResult>
pub fn safe_paths(&self) -> Vec<&PathAnalysisResult>
Get safe paths
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathSensitiveResult
impl RefUnwindSafe for PathSensitiveResult
impl Send for PathSensitiveResult
impl Sync for PathSensitiveResult
impl Unpin for PathSensitiveResult
impl UnsafeUnpin for PathSensitiveResult
impl UnwindSafe for PathSensitiveResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more