summaryrefslogtreecommitdiffstats
path: root/ossfuzz
diff options
context:
space:
mode:
authorAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2022-06-10 06:37:57 (GMT)
committerAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2022-06-10 06:37:57 (GMT)
commit5c7382798eb9b5af9eaa6c66f018c8efcb62f8d5 (patch)
tree76a0bfb048cd619191d5729e8dde6a41faa2de25 /ossfuzz
parent62f6cef564a9478b92e6dbd0faa81eaa1a90b34f (diff)
downloadlz4-5c7382798eb9b5af9eaa6c66f018c8efcb62f8d5.zip
lz4-5c7382798eb9b5af9eaa6c66f018c8efcb62f8d5.tar.gz
lz4-5c7382798eb9b5af9eaa6c66f018c8efcb62f8d5.tar.bz2
review: Fix review findings
This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'ossfuzz')
-rw-r--r--ossfuzz/fuzz.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ossfuzz/fuzz.h b/ossfuzz/fuzz.h
index eefac63..917a304 100644
--- a/ossfuzz/fuzz.h
+++ b/ossfuzz/fuzz.h
@@ -41,6 +41,11 @@ extern "C" {
int LLVMFuzzerTestOneInput(const uint8_t *src, size_t size);
+/**
+ * Test if injection of uncompressed data into a stream is working properly
+ */
+int LLVMFuzzerUncompressedDataInjection(const uint8_t *data, size_t size)
+
#ifdef __cplusplus
}
#endif