To enable fuzzing a C++ project with CI Fuzz, open the project in VS Code:
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:
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.
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.
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