]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Update AFL
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 22:16:36 +0000 (00:16 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 22:16:36 +0000 (00:16 +0200)
src/main.c

index 798ffbe114dcceb0b2781c078c8f48b19baf887f..e00a99cee213964b5145ba49c02437171e222025 100644 (file)
@@ -18,6 +18,7 @@ static void sig(int unused NUSED) {
 #ifdef __AFL_HAVE_MANUAL_CONTROL
 
 static void afl_run(const Gwion gwion) {
+  gw_seed(gwion->vm->rand, 0);
   __AFL_INIT();
   while (__AFL_LOOP(100)) {
     FILE* f = fdopen(0, "r");