You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, we demonstrate how you can use CI Fuzz to integrate fuzz testing into your C/C++ projects. The example project uses [CMake](https://cmake.org/) as the build system and contains the following use cases:
A more complex example that triggers a use-after-free bug when the input parameters satisfy
24
-
certain criteria. In this example, the checks are more complex and involve Base64 encoding
25
-
and XORing with constant value, making it more challenging to find the correct combination of
26
-
input parameters that trigger the bug.
27
-
*[Automotive Example](src/automotive):
28
-
An example that demonstrates the challenges of creating high-quality fuzz tests for complex
29
-
projects with a large public API. We demonstrate how we can automate most of this task with CI Spark.
21
+
A more complex example that triggers a use-after-free bug when the input parameters satisfy certain criteria. In this example, the checks are more complex and involve Base64 encoding and XORing with constant value, making it more challenging to find the correct combination of input parameters that trigger the bug.
22
+
*[Stateful Example](src/state_example):
23
+
An example that demonstrates the challenges of creating high-quality fuzz tests for complex projects with a large public API. This fuzz test was created with an early version of Code Intelligence auto-generation features, but it is still an excellent example on how to test a large API that keeps state between the calls.
An example that is build on top of the [Structure Aware Inputs Example](src/advanced_examples/explore_me.cpp#L8) and shows how to utilize custom mutators to change how the inputs are mutated.
29
+
30
+
If you want to use the devcontainer environment then export your cifuzz download token to a environment var called "CIFUZZ_CREDENTIALS" like `export CIFUZZ_CREDENTIALS=[my_token]`.
0 commit comments