add afl-fuzzer

the more, the fuzzier
This commit is contained in:
nora 2021-11-06 21:34:13 +01:00
parent 8952e8082a
commit 4361e36997
6 changed files with 260 additions and 19 deletions

20
test.sl
View file

@ -1,19 +1 @@
fn fizzbuzz() {
let i = 0;
while i < 100 {
let out = single_fizzbuzz(i);
print(out);
}
}
fn single_fizzbuzz(n) {
if n % 15 == 0 {
return "FizzBuzz";
} else if n % 5 == 0 {
return "Buzz";
} else if n % 3 == 0 {
return "Fizz";
} else {
return n;
}
}
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[=f