pub struct ObfuscationReport {
pub score: f32,
pub detections: Vec<String>,
pub normalized_input: String,
}Expand description
Summary of pre-Stage-1 obfuscation detections from the normalizer pass.
Fields§
§score: f320.0 = clean input, 1.0 = heavily obfuscated. Threshold ~0.25 for action.
detections: Vec<String>Human-readable list of detected obfuscation events, e.g. [“homoglyph (3)”, “base64”].
normalized_input: StringThe normalized (deobfuscated) text that was passed to Stage 1.
Trait Implementations§
Source§impl Clone for ObfuscationReport
impl Clone for ObfuscationReport
Source§fn clone(&self) -> ObfuscationReport
fn clone(&self) -> ObfuscationReport
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 ObfuscationReport
impl Debug for ObfuscationReport
Source§impl Default for ObfuscationReport
impl Default for ObfuscationReport
Source§fn default() -> ObfuscationReport
fn default() -> ObfuscationReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObfuscationReport
impl<'de> Deserialize<'de> for ObfuscationReport
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 ObfuscationReport
impl RefUnwindSafe for ObfuscationReport
impl Send for ObfuscationReport
impl Sync for ObfuscationReport
impl Unpin for ObfuscationReport
impl UnsafeUnpin for ObfuscationReport
impl UnwindSafe for ObfuscationReport
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