Skip to content
Snippets Groups Projects
Commit 838f5f4e authored by Christoph Petrausch's avatar Christoph Petrausch
Browse files

first attempt for fuzzing

parent 6ee4ae92
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