1. Documentation
  2. Fuzzing C/C++
  3. Finding your first bug in C++

Run Your First C++ Fuzz Test

Now that the fuzz target is defined, we want to execute the test


This article assumes that you have a fuzz test already. If not, read how to create one.

Upon using “Fuzz This Function” next to the actual fuzz target, a fuzz test entry was automatically created and stored in the CI Fuzz sidebar.

The CONFIG tab contains internal information about how to build the fuzz target. Usually this configuration does not need to be modified at all, but you can inspect it for informational purposes.

To start fuzzing, click the RUNS tab and then the yellow run button.

start fuzzing

This will start the fuzzing process locally. Note that if you start fuzzing locally for the first time, it will take some time before starting up, because CI Fuzz recompiles the whole project multiple times with different instrumentations, in order to leverage all the features of different feedback based fuzzers. The progress of the instrumentation is shown in the pipeline in the dashboard:

Read next: Reporting for C++