Create a Fuzzing Project

To enable fuzzing a C++ project with CI Fuzz, open the project in VS Code:

open

If you have our extension installed, you can start it with clicking on our logo in the left sidebar. This will lead you from VS Code’s file browser sidebar to our CI Fuzz sidebar:

open

From here you can create the Fuzzing Project with a click on the Plus button next to “Create Fuzzing Project”. The button shows when hovering over the option. 

open

CI Fuzz will automatically detect most current build systems for C++ including CMake, Autotools, Scons, Bazel, Ninja and of course Unix Makefiles. If it recognizes a build system it will ask to l automatically create a script to build the project with sensible defaults.

open

But even if the build system is not detected you can just enter the steps needed to build the project manually. Click “Yes” on the pop window when informed by CI Fuzz and you should see the following build script

open