Skip to content

Commit

Permalink
Switch to using native go-fuzz for OSS-Fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
geethanjalieswaran committed May 6, 2020
1 parent c16d492 commit add3655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ CXXFLAGS ?=
LIB_FUZZING_ENGINE ?= -libfuzzer
OUT ?= .

$(OUT)/vm-fuzzer: $(GOFILES) | $(GOFUZZBUILD)
$(GOFUZZBUILD) -libfuzzer -o fuzzer.a ./internal/vm
$(OUT)/vm-fuzzer: $(GOFILES) | $(GOFUZZ)
$(GOFUZZ) -o fuzzer.a github.com/google/mtail/internal/vm
$(CXX) $(CXXFLAGS) $(LIB_FUZZING_ENGINE) fuzzer.a -lpthread -o $(OUT)/vm-fuzzer

$(OUT)/vm-fuzzer.dict: mgen
Expand Down

0 comments on commit add3655

Please sign in to comment.