libfuzzer/gen_fuzzer_owners: find closest OWNERS file for third_party

Previously only OWNERS file in the shape of third_party/<libname>/OWNERS
would be found. For recursive dependencies this would find only the
OWNERS of the parent dependency and not the child one, leading to
incorrect folks being CCed on fuzzer issues.

Change-Id: Ibe76cd4110e4273a1b7a266a5d3dd29228486441
Bug: None
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3039004
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Oliver Chang <ochang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903821}
NOKEYCHECK=True
GitOrigin-RevId: 3f7cbc1f052e20756096fdd930df12033aceecd6
1 file changed
tree: fb05dc849b7251f9ef8cb946716666cb4eba31c1
  1. AFL_integration.md
  2. BUILD.gn
  3. OWNERS
  4. README.md
  5. archive_corpus.py
  6. dictionary_generator.py
  7. efficient_fuzzing.md
  8. fuzzer_test.gni
  9. fuzzers/
  10. gen_fuzzer_config.py
  11. gen_fuzzer_owners.py
  12. getting_started.md
  13. libFuzzer_integration.md
  14. libfuzzer_exports.h
  15. libprotobuf-mutator.md
  16. proto/
  17. reference.md
  18. reproducing.md
  19. tests/
  20. unittest_main.cc
  21. 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