aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/fuzzing.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-13 19:15:26 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-19 15:34:55 -0500
commitb96c70d668f96550401057834bb9caafb5d0e412 (patch)
tree28ebfdf7347eebf92e9b3716baca1d10fcbd3b9a /src/test/fuzz/fuzzing.h
parentfca91a7793f24fc5f2d043167317fd47dd58f1ed (diff)
downloadtor-b96c70d668f96550401057834bb9caafb5d0e412.tar.gz
tor-b96c70d668f96550401057834bb9caafb5d0e412.zip
Fuzzing: Add an initial fuzzing tool, for descriptors.
This will need some refactoring and mocking.
Diffstat (limited to 'src/test/fuzz/fuzzing.h')
-rw-r--r--src/test/fuzz/fuzzing.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzzing.h b/src/test/fuzz/fuzzing.h
new file mode 100644
index 0000000000..fbd54dafa0
--- /dev/null
+++ b/src/test/fuzz/fuzzing.h
@@ -0,0 +1,7 @@
+#ifndef FUZZING_H
+#define FUZZING_H
+
+int fuzz_init(void);
+int fuzz_main(const uint8_t *data, size_t sz);
+
+#endif /* FUZZING_H */