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

Output to file

parent 60b69186
No related branches found
No related tags found
No related merge requests found
Pipeline #56884 failed
......@@ -43,10 +43,6 @@ public class Fuzzer {
FileOutputStream out = null;
PrintWriter pw = null;
// Debugging
System.out.println(generateInput(false, INSTRUCTION_MAX));
System.out.println(Instruction.PUSH);
try {
out = new FileOutputStream(OUTPUT_FILE);
pw = new PrintWriter(out);
......@@ -54,7 +50,7 @@ public class Fuzzer {
/* We just print one instruction.
Hint: you might want to make use of the instruction
grammar which is effectively encoded in Instruction.java */
pw.println("list");
pw.println(generateInput(false, INSTRUCTION_MAX));
}catch (Exception e){
e.printStackTrace(System.err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment