On Mon, Sep 1, 2025 at 6:43 PM Ethan Graham <ethan.w.s.graham@xxxxxxxxx> wrote: > > From: Ethan Graham <ethangraham@xxxxxxxxxx> > > Add two simple fuzz target samples to demonstrate the KFuzzTest API and > provide basic self-tests for the framework. > > These examples showcase how a developer can define a fuzz target using > the FUZZ_TEST(), constraint, and annotation macros, and serve as runtime > sanity checks for the core logic. For example, they test that out-of-bounds > memory accesses into poisoned padding regions are correctly detected in a > KASAN build. > > These have been tested by writing syzkaller-generated inputs into their > debugfs 'input' files and verifying that the correct KASAN reports were > triggered. > > Signed-off-by: Ethan Graham <ethangraham@xxxxxxxxxx> Acked-by: Alexander Potapenko <glider@xxxxxxxxxx>