pub struct TaintPropagation {
pub from: TaintLocation,
pub to: Vec<TaintLocation>,
}Expand description
A single taint propagation rule.
The from field specifies where taint originates (a parameter or return value),
and to specifies where it flows. Both use the TaintLocation enum, which
serializes as "param.N" or "return" for YAML/JSON compatibility.
Fields§
§from: TaintLocationSource of taint (e.g., TaintLocation::Param(0), TaintLocation::Return).
to: Vec<TaintLocation>Destinations where taint flows.
Trait Implementations§
Source§impl Clone for TaintPropagation
impl Clone for TaintPropagation
Source§fn clone(&self) -> TaintPropagation
fn clone(&self) -> TaintPropagation
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 TaintPropagation
impl Debug for TaintPropagation
Source§impl<'de> Deserialize<'de> for TaintPropagation
impl<'de> Deserialize<'de> for TaintPropagation
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
Source§impl PartialEq for TaintPropagation
impl PartialEq for TaintPropagation
Source§impl Serialize for TaintPropagation
impl Serialize for TaintPropagation
impl StructuralPartialEq for TaintPropagation
Auto Trait Implementations§
impl Freeze for TaintPropagation
impl RefUnwindSafe for TaintPropagation
impl Send for TaintPropagation
impl Sync for TaintPropagation
impl Unpin for TaintPropagation
impl UnsafeUnpin for TaintPropagation
impl UnwindSafe for TaintPropagation
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