⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

FuzzTarget

Trait FuzzTarget 

Source
pub trait FuzzTarget {
    // Required methods
    fn name(&self) -> &'static str;
    fn fuzz(&self, data: &[u8]);

    // Provided method
    fn reset(&self) { ... }
}
Expand description

Fuzzing target trait - implement for each subsystem to fuzz

Required Methods§

Source

fn name(&self) -> &'static str

Name of the fuzz target

Source

fn fuzz(&self, data: &[u8])

Run one fuzzing iteration with the given input data

Provided Methods§

Source

fn reset(&self)

Reset state between iterations if needed

Implementors§