mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Fuzz: fix forward build (#3200)
* Fuzz: fix forward build Signed-off-by: Miek Gieben <miek@miek.nl> * Flag not released yet, wget quiet Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
2
Makefile
2
Makefile
@@ -55,7 +55,7 @@ ifeq ($(TEST_TYPE),fuzzit)
|
||||
LIBFUZZER=YES $(MAKE) -f Makefile.fuzz all; \
|
||||
$(MAKE) -sf Makefile.fuzz fuzzit; \
|
||||
for i in `$(MAKE) -sf Makefile.fuzz echo`; do echo $$i; \
|
||||
./fuzzit create job --if-not-exists --type $(FUZZIT_TYPE) coredns/$$i ./$$i; \
|
||||
./fuzzit create job --type $(FUZZIT_TYPE) coredns/$$i ./$$i; \
|
||||
done; \
|
||||
fi;
|
||||
endif
|
||||
|
||||
@@ -51,7 +51,7 @@ else
|
||||
endif
|
||||
|
||||
fuzzit:
|
||||
wget -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/$(FUZZIT)/fuzzit_Linux_x86_64 && chmod +x fuzzit
|
||||
wget --quiet -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/$(FUZZIT)/fuzzit_Linux_x86_64 && chmod +x fuzzit
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
@@ -22,7 +22,7 @@ func init() {
|
||||
|
||||
// Fuzz fuzzes forward.
|
||||
func Fuzz(data []byte) int {
|
||||
return fuzz.Do(f, nil, data)
|
||||
return fuzz.Do(f, data)
|
||||
}
|
||||
|
||||
type r struct{}
|
||||
|
||||
Reference in New Issue
Block a user