File: fuzz-shell.nix

package info (click to toggle)
golang-github-jsimonetti-rtnetlink 2.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,264 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
with import <nixpkgs> { };
pkgs.mkShell {
  name = "go-fuzz";
  buildInputs = [ go ];
  shellHook = ''
    echo "Fuzz with commands:"
    echo ""
    echo "go test -fuzz=AddressMessage - will start fuzzing Address Messages"
    echo "go test -fuzz=LinkMessage    - will start fuzzing Link Messages"
    echo "go test -fuzz=NeighMessage   - will start fuzzing Neigh Messages"
    echo "go test -fuzz=RouteMessage   - will start fuzzing Route Messages"
    echo "go test -fuzz=RuleMessage    - will start fuzzing Rule Messages"
    echo ""
  '';
}