mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
Fuzzers: Disable debug logging for all fuzzers
Previously, some fuzzers were generating an excessive amount of debug logging. This change explicitly disables debug logging for all fuzzers. This allows higher test throughput and makes the logs easier to read when fuzzing locally.
This commit is contained in:
parent
cdbde1765a
commit
a1f9d2420f
Notes:
sideshowbarker
2024-07-18 03:23:00 +09:00
Author: https://github.com/tcl3
Commit: a1f9d2420f
Pull-request: https://github.com/SerenityOS/serenity/pull/21763
68 changed files with 77 additions and 0 deletions
|
@ -4,12 +4,15 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/Format.h>
|
||||
#include <LibCrypto/Authentication/Poly1305.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
|
||||
if (size < 32)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue