commit | 097a27e43a6dbd432d4713c6cc7dd22b17f7102a | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Mon Jul 08 21:20:29 2024 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jul 08 21:39:01 2024 |
tree | b2b89d93d8ca8c89e577ff2f8e591558603c5634 | |
parent | 0eeaa46a8afc4ce50ecc17163932b5f88c01f90c [diff] |
[dawn] Use new device callback types in fuzzers Bug: 42241461, 42241415 Change-Id: If510a3b26da80ca3bc98020d549d7529be2ea757 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5664880 Reviewed-by: Ali Hijazi <ahijazi@chromium.org> Reviewed-by: Chris Bookholt <bookholt@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Cr-Commit-Position: refs/heads/main@{#1324500} NOKEYCHECK=True GitOrigin-RevId: b5f10dd0354555847993c853a6ca4bd054e29db0
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.
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.
Creating a fuzz target that expects a protobuf instead of a byte stream as input.
Reproducing bugs found by libFuzzer/AFL and reported by ClusterFuzz.
Fuzzing mojo interfaces using automatically generated libprotobuf-mutator fuzzers.