Uncomment prevent_unsafe_narrowing and change from opt-out to opt-in.

This config will take extreme effort to apply, so it makes sense to
start by opting in individual targets.

Bug: 1292951
Change-Id: Ida311bdc17fde8b8adf2c6a231a676d253cf5d8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669207
Reviewed-by: danakj <danakj@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Owners-Override: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1007928}
NOKEYCHECK=True
GitOrigin-RevId: cc7469c57a25759c39251ca260018be893f686af
1 file changed
tree: e1eafa00b08646d682a445ae39f7a5f6b5a07f0b
  1. fuzzer_support_ios/
  2. fuzzers/
  3. proto/
  4. tests/
  5. AFL_integration.md
  6. archive_corpus.py
  7. BUILD.gn
  8. dictionary_generator.py
  9. efficient_fuzzing.md
  10. fuzzer_test.gni
  11. gen_fuzzer_config.py
  12. gen_fuzzer_owners.py
  13. getting_started.md
  14. libfuzzer_exports.h
  15. libFuzzer_integration.md
  16. libprotobuf-mutator.md
  17. OWNERS
  18. README.md
  19. reference.md
  20. reproducing.md
  21. unittest_main.cc
  22. zip_sources.py
README.md

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.

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

Advanced Topics

Further Reading

Trophies

Other Links