summaryrefslogtreecommitdiff
path: root/tests/fuzz/another.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/another.c')
-rw-r--r--tests/fuzz/another.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/fuzz/another.c b/tests/fuzz/another.c
new file mode 100644
index 0000000..7fbfe07
--- /dev/null
+++ b/tests/fuzz/another.c
@@ -0,0 +1,17 @@
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+
+static bool
+fuzz_me(const uint8_t *const data, const size_t size) {
+ (void)data;
+ (void)size;
+ return true;
+}
+
+int
+LLVMFuzzerTestOneInput(const uint8_t *const data, const size_t size) {
+ int rc = 0;
+ fuzz_me(data, size);
+ return rc;
+}