pub struct SecurityDefensiveControl {
pub kind: SecurityControlKind,
pub path: PathBuf,
pub line: u32,
pub col: u32,
pub callee: String,
}Expand description
Control pattern observed in a file on an attack-surface import trace. Its presence does not prove that it executes before the sink or protects the same input.
Fields§
§kind: SecurityControlKindControl family.
path: PathBufFile of the control site. Absolute internally; JSON strips the project root.
line: u321-based line of the control site.
col: u320-based byte column of the control site.
callee: StringFlattened callee path or a stable synthetic guard name.
Trait Implementations§
Source§impl Clone for SecurityDefensiveControl
impl Clone for SecurityDefensiveControl
Source§impl Debug for SecurityDefensiveControl
impl Debug for SecurityDefensiveControl
Source§impl<'de> Deserialize<'de> for SecurityDefensiveControl
impl<'de> Deserialize<'de> for SecurityDefensiveControl
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
impl Eq for SecurityDefensiveControl
Source§impl PartialEq for SecurityDefensiveControl
impl PartialEq for SecurityDefensiveControl
Source§impl Serialize for SecurityDefensiveControl
impl Serialize for SecurityDefensiveControl
impl StructuralPartialEq for SecurityDefensiveControl
Auto Trait Implementations§
impl Freeze for SecurityDefensiveControl
impl RefUnwindSafe for SecurityDefensiveControl
impl Send for SecurityDefensiveControl
impl Sync for SecurityDefensiveControl
impl Unpin for SecurityDefensiveControl
impl UnsafeUnpin for SecurityDefensiveControl
impl UnwindSafe for SecurityDefensiveControl
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.