pub struct StealthIntegrity { /* private fields */ }Expand description
Stealth Integrity - Minimizes system footprint
Moves logic between WASM memory slots to avoid detection.
Implementations§
Source§impl StealthIntegrity
impl StealthIntegrity
Sourcepub fn tick(&self) -> MemorySlot
pub fn tick(&self) -> MemorySlot
Record an operation and potentially rotate slots
Sourcepub fn verify_canaries(&self) -> bool
pub fn verify_canaries(&self) -> bool
Verify all canaries are intact
Sourcepub fn is_compromised(&self) -> bool
pub fn is_compromised(&self) -> bool
Check if integrity is compromised
Sourcepub fn current_slot(&self) -> MemorySlot
pub fn current_slot(&self) -> MemorySlot
Get current slot
Sourcepub fn rotation_count(&self) -> u64
pub fn rotation_count(&self) -> u64
Get rotation count
Sourcepub fn disable_stealth(&self)
pub fn disable_stealth(&self)
Disable stealth mode
Sourcepub fn enable_stealth(&self)
pub fn enable_stealth(&self)
Enable stealth mode
Sourcepub fn slot_index(&self) -> usize
pub fn slot_index(&self) -> usize
Get slot index (for WASM memory operations)
Auto Trait Implementations§
impl !Freeze for StealthIntegrity
impl !RefUnwindSafe for StealthIntegrity
impl Send for StealthIntegrity
impl Sync for StealthIntegrity
impl Unpin for StealthIntegrity
impl UnwindSafe for StealthIntegrity
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