Files
kubevpn/vendor/github.com/jsimonetti/rtnetlink/fuzz-shell.nix
naison d141ec869b fix: fix dns on linux (#336)
* fix: fix dns on linux

* feat: detect run in Github action or not to setup DNS
2024-10-09 19:17:50 +08:00

16 lines
546 B
Nix

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 ""
'';
}