Coverage alone cannot distinguish kernel executions that follow the same path with different argument values. KCOV-DATAFLOW extends Linux KCOV with IR-only LLVM instrumentation that records function arguments, return values, and selected memory accesses per task. It snapshots pointees only when IR guarantees readability and can also capture values from existing loads and stores without adding memory reads. In one x86-64 kernel build, IR guarantees permitted snapshots for 42% of Rust object pointer arguments (318/756) and none of the 23,810 plain C pointer arguments.
翻译:暂无翻译