v/cmd/tools/fuzz/fuzz_v_parser_with_radamsa.sh

10 lines
285 B
Bash
Executable file

#!/usr/bin/env bash
## Note: radamsa is a fuzzer, available from https://gitlab.com/akihe/radamsa
## ./v -g cmd/tools/measure/parser_speed.v
while true; do
radamsa --meta autofuzz.log examples/hello_world.v > x.v;
VFUZZER=true cmd/tools/measure/parser_speed x.v || break;
done