shithub: fuzz

Download patch

ref: 1d644139584f257efafa1bc4574dc313d2c2d121
parent: 08f8933bc4b72a882359a94f4fcc1d71cfe062e0
author: seh <seh@localhost>
date: Tue Nov 6 13:33:48 EST 2018

fix list, now is pointer to syscalls table entry

--- a/main.c
+++ b/main.c
@@ -37,7 +37,7 @@
 		int index;
 		if(index = name2index(*argv) > 0){
 			print("Loading call: %s\n", *argv);
-			ladd(&tofuzz, &index); // Might be dangerous, pls fix
+			ladd(&tofuzz, &syscalls[index]); // Might be dangerous, pls fix
 		}else{
 			print("Error: Invalid system call: %s\n", *argv);
 			exits("Encountered invalid syscall");