sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
//! Hidden helpers for fuzzing. Not part of the stable API.

/// Fuzzes the DMI memory-device parser.
pub fn dmi(data: &[u8]) -> usize {
    crate::sys::hardware::fuzz_dmi(data)
}

/// Fuzzes the EDID parser.
pub fn edid(data: &[u8]) -> bool {
    crate::sys::hardware::fuzz_edid(data)
}

/// Fuzzes the `/proc/<pid>/stat` parser.
pub fn proc_stat(data: &[u8]) {
    crate::sys::process::fuzz_parse_stat(data)
}

/// Fuzzes the `/proc/diskstats` parser.
pub fn diskstats(data: &str) -> usize {
    crate::sys::disk::fuzz_diskstats(data)
}