rtnetlink/fuzz-shell.nix
Jeroen Simonetti 79fb2fc9e6
go-native fuzz (#140)
* Add first attempt at native fuzzing

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2022-04-12 17:42:36 +02: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 ""
'';
}