mirror of
https://github.com/go-gitea/gitea
synced 2024-10-31 23:34:25 +00:00
d2ea21d0d8
* use certmagic for more extensible/robust ACME cert handling * accept TOS based on config option Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
34 lines
671 B
Makefile
Vendored
34 lines
671 B
Makefile
Vendored
# Makefile for fuzzing
|
|
#
|
|
# Use go-fuzz and needs the tools installed.
|
|
# See https://blog.cloudflare.com/dns-parser-meet-go-fuzzer/
|
|
#
|
|
# Installing go-fuzz:
|
|
# $ make -f Makefile.fuzz get
|
|
# Installs:
|
|
# * github.com/dvyukov/go-fuzz/go-fuzz
|
|
# * get github.com/dvyukov/go-fuzz/go-fuzz-build
|
|
|
|
all: build
|
|
|
|
.PHONY: build
|
|
build:
|
|
go-fuzz-build -tags fuzz github.com/miekg/dns
|
|
|
|
.PHONY: build-newrr
|
|
build-newrr:
|
|
go-fuzz-build -func FuzzNewRR -tags fuzz github.com/miekg/dns
|
|
|
|
.PHONY: fuzz
|
|
fuzz:
|
|
go-fuzz -bin=dns-fuzz.zip -workdir=fuzz
|
|
|
|
.PHONY: get
|
|
get:
|
|
go get github.com/dvyukov/go-fuzz/go-fuzz
|
|
go get github.com/dvyukov/go-fuzz/go-fuzz-build
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm *-fuzz.zip
|