Once the project has been created, it is time to initialize it. In this step, we are simply building the project, without any modification. This allows us to identify which parts of the code end up in which libraries and helps us to automate the internal configuration of the fuzz tests.
To run the initialization, click on the Play button next to “Initialize Project”:
Depending on the size of your project, this might take a while, since we are building the whole project by default. You can of course disable compilation of parts of the code that are not relevant for the fuzz tests, like already existing unit tests. For CMake, this can be done by adding
-DBUILD_TESTING=OFF to the cmake call. CI Fuzz makes use of the build system caching capabilities. That means, future re-initializations of the same project are done faster