Skip to content
Snippets Groups Projects
Unverified Commit b7d5aa4d authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Merge pull request #43 from hikhvar/test/add-fuzzing

First attempt of fuzzing
parents 6a15247f e2be5936
No related branches found
No related tags found
No related merge requests found
Showing
with 25 additions and 0 deletions
packet-fuzz.zip
$(GOPATH)/bin/go-fuzz-build:
go get -u github.com/dvyukov/go-fuzz/...
$(GOPATH)/bin/go-fuzz:
go get -u github.com/dvyukov/go-fuzz/...
packet-fuzz.zip: $(GOPATH)/bin/go-fuzz-build
$(GOPATH)/bin/go-fuzz-build github.com/bio-routing/bio-rd/protocols/bgp/packet
corpus:
mkdir -p corpus
go run gen_initial_corpus.go
fuzz: packet-fuzz.zip corpus $(GOPATH)/bin/go-fuzz
$(GOPATH)/bin/go-fuzz -bin=./packet-fuzz.zip -workdir=.
# Fuzzing
To start a new fuzzing run, execute:
```bash
make fuzz
```
This will create an initial corpus if there is no corpus, download the fuzzing tool and build all required
assets.
\ No newline at end of file
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment