aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/libchewing/chewing_fuzzer_common.h
diff options
context:
space:
mode:
authorGravatar Abhishek Arya <inferno@chromium.org>2016-11-29 10:58:16 -0800
committerGravatar Abhishek Arya <inferno@chromium.org>2016-11-29 10:58:31 -0800
commitc03c92cce0b04ba2be95a8ac421c9d41777e8e7d (patch)
treea53a87674514234812f01a4c95208cc4554c6c84 /projects/libchewing/chewing_fuzzer_common.h
parentea87305a11ab9654ea315c666f581785a862dcb6 (diff)
parentef765503cb3bbf7d2f82cdf01ccc033f6008ac91 (diff)
Merge branch 'master' of https://github.com/google/oss-fuzz
Diffstat (limited to 'projects/libchewing/chewing_fuzzer_common.h')
-rw-r--r--projects/libchewing/chewing_fuzzer_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/projects/libchewing/chewing_fuzzer_common.h b/projects/libchewing/chewing_fuzzer_common.h
new file mode 100644
index 00000000..5032d655
--- /dev/null
+++ b/projects/libchewing/chewing_fuzzer_common.h
@@ -0,0 +1,13 @@
+#ifndef CHEWING_FUZZER_COMMON_H
+#define CHEWING_FUZZER_COMMON_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+const uint8_t* fuzz_ptr;
+const uint8_t* fuzz_input;
+size_t fuzz_size;
+
+int stress_main(int argc, char** argv);
+
+#endif