From df73b25de218833588a9770f6beb9e4a2908bcb7 Mon Sep 17 00:00:00 2001 From: Petr Štetiar Date: Fri, 19 Mar 2021 17:04:29 +0100 Subject: tests: add more tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add cram based tests * test under either valgrind or LLVM sanitizers * add libFuzzer template Signed-off-by: Petr Štetiar --- tests/fuzz/test-fuzz.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/fuzz/test-fuzz.c (limited to 'tests/fuzz/test-fuzz.c') diff --git a/tests/fuzz/test-fuzz.c b/tests/fuzz/test-fuzz.c new file mode 100644 index 0000000..40649e2 --- /dev/null +++ b/tests/fuzz/test-fuzz.c @@ -0,0 +1,9 @@ +#include +#include +#include +#include + +int LLVMFuzzerTestOneInput(const uint8_t *input, size_t size) +{ + return 0; +} -- cgit v1.2.3