Hey @Sahil Vaidya here are a couple fuzzing examples I got working last year: fuzz_test1.cxx fuzz_test2.cxx
They're not particularly "good" examples as they don't really test anything, but they do sort through some useful constructs and were working examples.
at least they don't test anything I'd consider "useful" just yet
@starseeker and I were talking last week about what we had in mind that would be more along a useful lines, but I'd suggest first just seeing if you can get either/both of those examples to compile, link, and run
@Sahil Vaidya I think what will be the most useful that will also not be too hard to set up is a fuzzing test that randomly explores and runs all of our libged commands (there are hundreds). I'm working on an example now that you should be able to easily extend and work with.
Okay perfect
@Sahil Vaidya let me know if you need help with any of that. I think it probably makes sense to put it all in regress/fuzz for now and to get one of them working.
Saw the ninja msvc error, and just pushed a change that hopefully accommodates both without an MSVC toggle. Should have fixing per msvc docs, just not a link flag so they need the other flag for cl.
Last updated: May 14 2026 at 02:10 UTC