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:
parent
295be732ac
commit
2332467b87
3 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -55,7 +55,7 @@ ifeq ($(TEST_TYPE),fuzzit)
|
||||||
LIBFUZZER=YES $(MAKE) -f Makefile.fuzz all; \
|
LIBFUZZER=YES $(MAKE) -f Makefile.fuzz all; \
|
||||||
$(MAKE) -sf Makefile.fuzz fuzzit; \
|
$(MAKE) -sf Makefile.fuzz fuzzit; \
|
||||||
for i in `$(MAKE) -sf Makefile.fuzz echo`; do echo $$i; \
|
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; \
|
done; \
|
||||||
fi;
|
fi;
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -51,7 +51,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
fuzzit:
|
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
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -22,7 +22,7 @@ func init() {
|
||||||
|
|
||||||
// Fuzz fuzzes forward.
|
// Fuzz fuzzes forward.
|
||||||
func Fuzz(data []byte) int {
|
func Fuzz(data []byte) int {
|
||||||
return fuzz.Do(f, nil, data)
|
return fuzz.Do(f, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
type r struct{}
|
type r struct{}
|
||||||
|
|
Loading…
Add table
Reference in a new issue