Clone this repo:

Branches

  1. 795d546 Wrap libfuzzer_base_wrappers under use_fuzztest_wrapper by Jeremy Leconte · 3 days ago main
  2. ada2061 Add local code coverage guide for fuzz tests by Jocelyn Tran · 3 days ago
  3. 7015e96 Add blackbox fuzzer crash reproduction steps by Jocelyn Tran · 4 days ago
  4. 18a885b Add macro for wrapping LLVMFuzzerTestOneInput with spanified inputs by Andrew Paseltiner · 4 days ago
  5. abf7376 fuzzing: Implement Mojo Fuzzer Profile and Resources by Giovanni Ortuño Urquidi · 7 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