ref: fe556bc09c97f41f2990abd4ff55958f7470031a
parent: 9b11c9c7e5ad09ebf58dc7e821851a792f527d94
author: Anthony House <[email protected]>
date: Sun Nov 25 14:36:08 EST 2018
fixed those other shift errors
--- a/mutate.c
+++ b/mutate.c
@@ -31,8 +31,8 @@
}
else
{
- (**in_val) << (rng() % (4 + 1 - 0) + 0);
- (**in_val) |= (rng() % (15 + 1 - 0) + 0);
+ **in_val = **in_val << (rng() % (4 + 1 - 0) + 0);
+ **in_val = **in_val |= (rng() % (15 + 1 - 0) + 0);
}
}
@@ -45,8 +45,8 @@
}
else
{
- (*in_val) << (rng() % (4 + 1 - 0) + 0);
- (*in_val) |= (rng() % (15 + 1 - 0) + 0);
+ *in_val = *in_val << (rng() % (4 + 1 - 0) + 0);
+ *in_val = *in_val |= (rng() % (15 + 1 - 0) + 0);
}
}
@@ -111,8 +111,8 @@
}
else
{
- (*in_val) << (rng() % (4 + 1 - 0) + 0);
- (*in_val) |= (rng() % (15 + 1 - 0) + 0);
+ *in_val = *in_val << (rng() % (4 + 1 - 0) + 0);
+ *in_val = *in_val |= (rng() % (15 + 1 - 0) + 0);
}
}
@@ -128,9 +128,9 @@
}
else
{
- (**in_val) << (rng() % (4 + 1 - 0) + 0);
+ **in_val = **in_val << (rng() % (4 + 1 - 0) + 0);
// Segfaults when fuzzing sleep ↓
- (**in_val) |= (rng() % (15 + 1 - 0 ) + 0);
+ **in_val = **in_val |= (rng() % (15 + 1 - 0 ) + 0);
}
}
@@ -143,8 +143,8 @@
}
else
{
- (*in_val) << (rng() % (4 + 1 - 0) + 0);
- (*in_val) |= (rng() % (15 + 1 - 0) + 0);
+ *in_val = *in_val << (rng() % (4 + 1 - 0) + 0);
+ *in_val = *in_val |= (rng() % (15 + 1 - 0) + 0);
}
}
@@ -157,8 +157,8 @@
}
else
{
- (*in_val) << (rng() % (4 + 1 - 0) + 0);
- (*in_val) |= (rng() % (15 + 1 - 0) + 0);
+ *in_val = *in_val << (rng() % (4 + 1 - 0) + 0);
+ *in_val = *in_val |= (rng() % (15 + 1 - 0) + 0);
}
}