Skip to content
Snippets Groups Projects
Commit b6103849 authored by Ewen Smith's avatar Ewen Smith
Browse files

Fixed Long var name implementation

parent 12c57c93
Branches
No related tags found
No related merge requests found
Pipeline #58399 passed
......@@ -181,7 +181,7 @@ public class Fuzzer {
StringBuilder result = new StringBuilder();
for ( int i = 0 ; i < stackPreload ; i++ ) {
result.append(completeInstruction(true, Instruction.PUSH, longVarNames));
result.append(completeInstruction(true, Instruction.PUSH, false));
stackSize++;
}
......@@ -189,7 +189,7 @@ public class Fuzzer {
while (counter < numInstructions) {
Instruction newInstr = Instruction.getRandomInstruction(stackSize, addProb);
stackSize = stackSize + newInstr.getStackChange();
result.append(completeInstruction(true, newInstr, longVarNames));
result.append(completeInstruction(true, newInstr, false));
if (dynamicProb) {
addCountProb(newInstr);
}
......@@ -206,7 +206,7 @@ public class Fuzzer {
}
} else {
newInstr = Instruction.getRandomInstruction(stackSize, addProb);
result.append(completeInstruction(true, newInstr, longVarNames));
result.append(completeInstruction(true, newInstr, false));
if (dynamicProb) {
addCountProb(newInstr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment