pub struct PathAnalysisResult {
pub path: Vec<String>,
pub has_vulnerable_sink: bool,
pub sink_calls: Vec<SinkCall>,
pub source_calls: Vec<SourceCall>,
pub sanitizer_calls: Vec<SanitizerCall>,
pub return_tainted: bool,
pub final_taint: HashMap<String, TaintState>,
}Expand description
Result of analyzing a single path
Fields§
§path: Vec<String>The execution path (sequence of block IDs)
has_vulnerable_sink: boolWhether this path reaches a sink with tainted data
sink_calls: Vec<SinkCall>Sink calls found on this path
source_calls: Vec<SourceCall>Source calls found on this path
sanitizer_calls: Vec<SanitizerCall>Sanitization calls found on this path
return_tainted: boolWhether the return value (_0) is tainted at the end of the path
final_taint: HashMap<String, TaintState>Final taint state of variables at the end of the path
Trait Implementations§
Source§impl Clone for PathAnalysisResult
impl Clone for PathAnalysisResult
Source§fn clone(&self) -> PathAnalysisResult
fn clone(&self) -> PathAnalysisResult
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 moreAuto Trait Implementations§
impl Freeze for PathAnalysisResult
impl RefUnwindSafe for PathAnalysisResult
impl Send for PathAnalysisResult
impl Sync for PathAnalysisResult
impl Unpin for PathAnalysisResult
impl UnsafeUnpin for PathAnalysisResult
impl UnwindSafe for PathAnalysisResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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