commit | 0eeaa46a8afc4ce50ecc17163932b5f88c01f90c | [log] [tgz] |
---|---|---|
author | Dan McArdle <dmcardle@chromium.org> | Mon Jul 08 14:31:33 2024 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jul 08 14:38:04 2024 |
tree | 8c6d960ca81714282f57ed5b7cf6cda6dabfa608 | |
parent | b9591b329e926ee2735740f7a9ce8cb02ff76113 [diff] |
testing: Add IWYU pragma to lpm_interface.h This change eliminates a clangd "unused-includes" warning in sql/fuzzers/recovery_lpm_fuzzer.cc on the line that includes "testing/libfuzzer/proto/lpm_interface.h". Change-Id: Ib64e198187d7433b2cec9cf2f2ff0b2415dbf3f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5593328 Reviewed-by: Titouan Rigoudy <titouan@chromium.org> Commit-Queue: Dan McArdle <dmcardle@chromium.org> Cr-Commit-Position: refs/heads/main@{#1324214} NOKEYCHECK=True GitOrigin-RevId: 303dc1b98f9b48ee802b5002c8d2b568e41b0b5c
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.