summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/fuzz.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gomarkdown/markdown/fuzz.go')
-rw-r--r--vendor/github.com/gomarkdown/markdown/fuzz.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/gomarkdown/markdown/fuzz.go b/vendor/github.com/gomarkdown/markdown/fuzz.go
new file mode 100644
index 00000000..704182b8
--- /dev/null
+++ b/vendor/github.com/gomarkdown/markdown/fuzz.go
@@ -0,0 +1,9 @@
+// +build gofuzz
+
+package markdown
+
+// Fuzz is to be used by https://github.com/dvyukov/go-fuzz
+func Fuzz(data []byte) int {
+ Parse(data, nil)
+ return 0
+}