Clone this repo:

Branches

  1. 984cef5 Revert "Conditionally include base/logging.h in base/feature_list.h" by luci-bisection@appspot.gserviceaccount.com · 14 hours ago main
  2. 1c0c36f Conditionally include base/logging.h in base/feature_list.h by Lei Zhang · 15 hours ago
  3. 03ee33b Include base/strings/string_view_util.h for base::as_string_view() by Daniel Cheng · 25 hours ago
  4. 163260e fuzztest: fix wrong constness for fuzztest init function by Paul Semel · 5 days ago
  5. af2f76e Reland "fuzztest: add support for BrowserFuzzTest" by Paul Semel · 6 days ago

Fuzz testing in Chromium

go/chrome-fuzzing

Fuzzing is a testing technique that feeds auto-generated inputs to a piece of target code in an attempt to crash the code. It's one of the most effective methods we have for finding security and stability issues (see go/fuzzing-success). You can learn more about the benefits of fuzzing at go/why-fuzz.

This documentation covers the in-process guided fuzzing approach employed by different fuzzing engines, such as libFuzzer or [AFL]. To learn more about out-of-process fuzzers, please refer to the Blackbox fuzzing page in the ClusterFuzz documentation.

Getting Started

In Chromium, you can easily create and submit fuzz targets. The targets are automatically discovered by buildbots, built with different fuzzing engines, then uploaded to the distributed ClusterFuzz fuzzing system to run at scale.

You should fuzz any code which absorbs inputs from untrusted sources, such as the web. If the code parses, decodes, or otherwise manipulates that input, it's an especially good idea to fuzz it.

Create your first fuzz target and submit it by stepping through our Getting Started Guide.

Advanced Topics

Further Reading

Trophies

Other Links