Files
onefuzz/src/integration-tests/git-bisect

git-bisect regression source

This assumes you have a working clang with libfuzzer, bash, and git.

This makes a git repo test with 9 commits. Each commit after the first adds a bug.

  • commit 0 has no bugs.
  • commit 1 will additionally cause an abort if the input is 1.
  • commit 2 will additionally cause an abort if the input is 2.
  • commit 3 will additionally cause an abort if the input is 3.
  • etc.

This directory provides exemplar scripts that demonstrate how to perform git bisect with libfuzzer.

With each project having their own unique paradigm for building, this model allows plugging OneFuzz as a bisect command in whatever fashion your project requires.