shithub: fuzz

Download patch

ref: 75322a9fa8904be2c25a4bdcdc926d9b31fd2e02
parent: 4c18c946dea79f8d7ca262cbf9cb7cf15a4c42b4
parent: 59a88eb64ce981dba6a986bb4214c52a5a9dd5b9
author: Steven Sleder <ssleder@iastate.edu>
date: Sat Nov 24 00:37:12 EST 2018

Merged Anthonys stuff

--- a/mutate.c
+++ b/mutate.c
@@ -86,9 +86,10 @@
 }
 
 /*
-void
+int
 mut_charstar_arr(char*[]* in_val, int *round)
 {
+    length = (rand() % (64 + 1 - 1) + 1);
     if(*round == ROUND_NUM)
     {
         *in_val = rand();
@@ -97,6 +98,8 @@
     {
 	int shifter = rand() % (4 + 1 - 0) + 0;
 	(*in_val) << shifter;
+    }
+    return length
 }*/
 
 void
--- a/mutate.h
+++ b/mutate.h
@@ -16,7 +16,7 @@
 
 void mut_ucharstar(unsigned char**, int*);
 
-//void mut_char_star_arr(char*[]*, int*);
+//int mut_char_star_arr(char*[]*, int*);
 
 void mut_long(long*, int*);