tree: a36f8259c760d6ee449849a2be21f893cd977add [path history] [tgz]
  1. fuzzers/
  2. proto/
  3. tests/
  4. AFL_integration.md
  5. archive_corpus.py
  6. BUILD.gn
  7. dictionary_generator.py
  8. efficient_fuzzing.md
  9. fuzzer_test.gni
  10. gen_fuzzer_config.py
  11. gen_fuzzer_owners.py
  12. getting_started.md
  13. libfuzzer_exports.h
  14. libFuzzer_integration.md
  15. libprotobuf-mutator.md
  16. OWNERS
  17. README.md
  18. reference.md
  19. reproducing.md
  20. unittest_main.cc
  21. zip_sources.py
testing/libfuzzer/README.md

Fuzzing in Chromium

go/chrome-fuzzing (Googler only)

Fuzzing is a testing technique that feeds randomized inputs to a target code in an attempt to crash it. It's one of the most effective methods we have for finding security and stability issues (go/fuzzing-success).

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.

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

Advanced Topics

  • Improving fuzz target effectiveness: Efficient Fuzzing Guide.

  • Creating a fuzz target that expects a protobuf (instead of a byte steam) as input: Guide to libprotobuf-mutator (LPM).

    Note: you can also use LPM to fuzz code that needs multiple mutated inputs, or to generate inputs defined by a grammar.
  • Reproducing bugs found by libFuzzer/AFL and reported by ClusterFuzz: Reproducing Bugs.

Further Reading

Trophies

  • Issues found with in-process fuzzing and automatically filed by ClusterFuzz: ClusterFuzz Bugs.
  • Issues filed manually after running fuzz targets: Manual Bugs.
  • Bugs found in PDFium by manual fuzzing: PDFium Bugs.
  • Bugs found with libFuzzer in open-source projects: OSS Trophies.

Other Links