diff --git a/fuzzer/Fuzzer.java b/fuzzer/Fuzzer.java index e792b2e75e3dd001153cff58555d1d39dd38a6ac..62171cf72d4208ca06fa3b4561da82955441fff8 100644 --- a/fuzzer/Fuzzer.java +++ b/fuzzer/Fuzzer.java @@ -22,7 +22,7 @@ public class Fuzzer { // The percentage of inputs that will be incorrect private static final int INPUT_ERROR_PERCENTAGE = 5; // The percentage of instructions that will be incorrect - private static final int LINE_ERROR_PERCENTAGE = 2; + private static final int LINE_ERROR_PERCENTAGE = 1; // Limit on generation of inputs private static final int NUMBER_TO_GENERATE = 10; // Instruction number range for each input @@ -242,7 +242,7 @@ public class Fuzzer { } else { while (counter < numInstructions) { Instruction newInstr; - if (rand.nextInt(1000) < LINE_ERROR_PERCENTAGE){ + if (rand.nextInt(100) < LINE_ERROR_PERCENTAGE){ newInstr = Instruction.getRandomInstruction(2, instructionStack, pathwayProb); result.append(completeInstruction(false, newInstr, longVarNames)); if (dynamicProb) {