Expand description
Kernel message ring buffer extraction.
Reads the kernel log (printk) ring buffer from __log_buf and
log_buf_len. Each record uses the kernel 3.x+ printk_log format.
Suspicious messages (rootkit indicators, kernel oops) are flagged.
Re-exports§
pub use crate::heuristics::classify_kmsg;
Structs§
- Kmsg
Entry - A single kernel log record.
Functions§
- parse_
printk_ record - Parse raw
printk_logrecord bytes into aKmsgEntry. - walk_
kmsg - Walk the kernel log ring buffer and return parsed entries.