aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-10-03 21:24:30 +0100
committerGitHub <noreply@github.com>2023-10-03 21:24:30 +0100
commitced662e9db6667069a5255446425ec40d388f7e1 (patch)
tree9841d964156160119c2455a461c4c0a392a1b43d /Makefile
parent52c2972976737a00fce91d7deb1278a6a460cae6 (diff)
parentc135ec2f6a34116f63ebbdfde25001b21d560f24 (diff)
downloadgo-git-ced662e9db6667069a5255446425ec40d388f7e1.tar.gz
Merge pull request #855 from 0x34d/fuzzing
fuzzing : fuzz testing support for oss-fuzz integration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 66adc8c..6c62892 100644
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,13 @@ test-coverage:
clean:
rm -rf $(GIT_DIST_PATH)
+
+fuzz:
+ @go test -fuzz=FuzzParser $(PWD)/internal/revision
+ @go test -fuzz=FuzzParseSignedByte $(PWD)/plumbing/object
+ @go test -fuzz=FuzzDecode $(PWD)/plumbing/object
+ @go test -fuzz=FuzzNewEndpoint $(PWD)/plumbing/transport
+ @go test -fuzz=FuzzDecoder $(PWD)/plumbing/protocol/packp
+ @go test -fuzz=FuzzDecoder $(PWD)/plumbing/format/config
+ @go test -fuzz=FuzzPatchDelta $(PWD)/plumbing/format/packfile
+ @go test -fuzz=FuzzDecodeFile $(PWD)/utils/merkletrie/internal/fsnoder