mirror of
https://github.com/RGBCube/serenity
synced 2025-06-04 04:28:12 +00:00
14 lines
326 B
C++
14 lines
326 B
C++
/*
|
|
* Copyright (c) 2021, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibCompress/Zlib.h>
|
|
#include <stdio.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
|
{
|
|
(void)Compress::ZlibDecompressor::decompress_all(ReadonlyBytes { data, size });
|
|
return 0;
|
|
}
|