pub struct MutationEngine { /* private fields */ }Expand description
Mutation Engine - Creates polymorphic variants of filters
The same logic, different binary representation. Makes reverse-engineering nearly impossible.
Implementations§
Source§impl MutationEngine
impl MutationEngine
Sourcepub fn mutate(&self, filter: &PolymorphicFilter) -> PolymorphicFilter
pub fn mutate(&self, filter: &PolymorphicFilter) -> PolymorphicFilter
Mutate a filter to create a new variant
Preserves semantics, changes representation.
Sourcepub fn mutation_count(&self) -> u64
pub fn mutation_count(&self) -> u64
Get mutation count
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MutationEngine
impl RefUnwindSafe for MutationEngine
impl Send for MutationEngine
impl Sync for MutationEngine
impl Unpin for MutationEngine
impl UnwindSafe for MutationEngine
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