Use the dawn wire client procs directly in command buffer fuzzer

APIChannel::GetProcs will be removed soon

Bug: chromium:40195122
Change-Id: I1bd4a98fb583fe073047cf3e30f2748b18c8d5a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5478368
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1291717}
NOKEYCHECK=True
GitOrigin-RevId: 7b7cdbc28f3ff21374d01e0129d1f159a16b0e83
2 files changed
tree: 73c560b53ce56982215a04ac5df2d58d14b0bac5
  1. fuzzer_support_ios/
  2. fuzzers/
  3. proto/
  4. renderer_fuzzing/
  5. research/
  6. tests/
  7. AFL_integration.md
  8. archive_corpus.py
  9. BUILD.gn
  10. confirm_fuzztests.py
  11. dictionary_generator.py
  12. efficient_fuzzing.md
  13. fuzzer_test.gni
  14. fuzzing_browsertests.md
  15. fuzztest_wrapper.cpp
  16. gen_fuzzer_config.py
  17. gen_fuzzer_owners.py
  18. getting_started.md
  19. getting_started_with_libfuzzer.md
  20. libfuzzer_exports.h
  21. libFuzzer_integration.md
  22. libprotobuf-mutator.md
  23. OWNERS
  24. README.md
  25. reference.md
  26. reproducing.md
  27. unittest_main.cc
  28. 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.

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