pub enum VulnerabilityPattern {
Reentrancy {
call_site: InstructionLocation,
state_changes: Vec<StateChange>,
},
IntegerOverflow {
location: InstructionLocation,
operation: String,
},
UnprotectedTransfer {
location: InstructionLocation,
recipient: String,
},
AccessControl {
function: String,
missing_check: String,
},
TimestampDependence {
location: InstructionLocation,
usage: String,
},
UncheckedReturn {
call_location: InstructionLocation,
ignored_value: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for VulnerabilityPattern
impl Clone for VulnerabilityPattern
Source§fn clone(&self) -> VulnerabilityPattern
fn clone(&self) -> VulnerabilityPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VulnerabilityPattern
impl Debug for VulnerabilityPattern
Source§impl<'de> Deserialize<'de> for VulnerabilityPattern
impl<'de> Deserialize<'de> for VulnerabilityPattern
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 VulnerabilityPattern
impl RefUnwindSafe for VulnerabilityPattern
impl Send for VulnerabilityPattern
impl Sync for VulnerabilityPattern
impl Unpin for VulnerabilityPattern
impl UnsafeUnpin for VulnerabilityPattern
impl UnwindSafe for VulnerabilityPattern
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