aboutsummaryrefslogtreecommitdiff
path: root/Makefile.fuzz
blob: 2a97d67f0acd330c39405c0103ab4860fe0739c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Makefile for fuzzing
#
# Use go-fuzz and needs the tools installed. For each fuzz.go in a plugin's directory
# you can start the fuzzing with: make -f Makefile.fuzz <plugin>
# e.g.
#
# 	make -f Makefile.fuzz proxy
# 
# Each plugin that wants to join the fuzzing fray only needs to add a fuzz.go that calls
# the plugins's ServeDNS and used the plugin/pkg/fuzz for the Do function.
#
# Installing go-fuzz
#$ go get github.com/dvyukov/go-fuzz/go-fuzz
#$ go get github.com/dvyukov/go-fuzz/go-fuzz-build

REPO:="github.com/coredns/coredns/plugin"

FUZZ:=$(dir $(wildcard plugin/*/fuzz.go)) # plugin/cache/
PLUGINS:=$(foreach f,$(FUZZ),$(subst plugin, ,$(f:/=))) # > /cache
PLUGINS:=$(foreach f,$(PLUGINS),$(subst /, ,$(f))) # > cache

.PHONY: echo
echo:
	@echo fuzz targets: $(PLUGINS)

.PHONY: $(PLUGINS)
$(PLUGINS): echo
	go-fuzz-build -tags fuzz $(REPO)/$(@)
	go-fuzz -bin=./$(@)-fuzz.zip -workdir=fuzz/$(@)

.PHONY: clean
clean:
	rm *-fuzz.zip
value='jarred/pg'>jarred/pg Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-10-16Make debug logs configurableGravatar Jarred Sumner 1-3/+28
2022-10-16Name the threadGravatar Jarred Sumner 1-0/+1
2022-10-16Changed apiGravatar Jarred Sumner 1-4/+64
2022-10-16snapshotsGravatar Jarred Sumner 43-142/+142
2022-10-16Update uwsGravatar Jarred Sumner 1-0/+0
2022-10-16Set `Date` headerGravatar Jarred Sumner 1-0/+0
2022-10-16Make more sure we know what the types we are sending areGravatar Jarred Sumner 1-5/+5
2022-10-16Fix WebSocket server sending invalid data at the endGravatar Jarred Sumner 1-8/+10
2022-10-16Fail earlier when there are encoding errorsGravatar Jarred Sumner 1-25/+37
2022-10-15Disable some loggingGravatar Jarred Sumner 2-2/+2
2022-10-15More careful code generatorGravatar Jarred Sumner 1-5/+10
2022-10-15Simplify code that turns a fetch() response into a JSResponseGravatar Jarred Sumner 1-18/+24
2022-10-15Simplify the code that reads HTTP client request bodiesGravatar Jarred Sumner 2-136/+22