pub struct ExploitTestCase {
pub h_code: String,
pub project_name: String,
pub loss_millions: f64,
pub year: u32,
pub vulnerable_code: String,
pub expected_detections: Vec<String>,
pub min_findings: usize,
}Expand description
Real exploit test case
Fields§
§h_code: StringH-code identifier (e.g., H19, H16)
project_name: StringProject name
loss_millions: f64Loss amount in millions
year: u32Year of exploit
vulnerable_code: StringVulnerable code pattern
expected_detections: Vec<String>Expected detector hits
min_findings: usizeMinimum expected findings
Trait Implementations§
Source§impl Clone for ExploitTestCase
impl Clone for ExploitTestCase
Source§fn clone(&self) -> ExploitTestCase
fn clone(&self) -> ExploitTestCase
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 moreAuto Trait Implementations§
impl Freeze for ExploitTestCase
impl RefUnwindSafe for ExploitTestCase
impl Send for ExploitTestCase
impl Sync for ExploitTestCase
impl Unpin for ExploitTestCase
impl UnsafeUnpin for ExploitTestCase
impl UnwindSafe for ExploitTestCase
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