![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include "fuzz_helpers.h"
#include "zstd.h"
Macros | |
#define | ZSTD_STATIC_LINKING_ONLY |
Functions | |
int | LLVMFuzzerTestOneInput (const uint8_t *src, size_t size) |
#define ZSTD_STATIC_LINKING_ONLY |
Copyright (c) Yann Collet, Facebook, Inc. All rights reserved.
This source code is licensed under both the BSD-style license (found in the LICENSE file in the root directory of this source tree) and the GPLv2 (found in the COPYING file in the root directory of this source tree). You may select, at your option, one of the above-listed licenses. This fuzz target attempts to decompress the fuzzed data with the simple decompression function to ensure the decompressor never crashes.
This fuzz target attempts to compress the fuzzed data with the simple compression function with an output buffer that may be too small to ensure that the compressor never crashes.
This fuzz target attempts to decompress the fuzzed data with the simple decompression function to ensure the decompressor never crashes.
This fuzz target performs a lz4 round-trip test (compress & decompress), compares the result with the original, and calls abort() on corruption.