diff --git a/fuzzer/Fuzzer.java b/fuzzer/Fuzzer.java index ebc131982009f1ee7c0476465a71c9cb67971e73..7e80788e33568a8a41ab863f0e992ad09d5eb887 100644 --- a/fuzzer/Fuzzer.java +++ b/fuzzer/Fuzzer.java @@ -31,10 +31,9 @@ public class Fuzzer { pw.println("ADD R"+(x+1)+" R"+x +" R"+x); }; pw.println("RET R31");*/ + pw.println("JZ R0 -2"); pw.println("RET R0"); - pw.println("RET R0"); - pw.println("RET R0"); - pw.println("RET R0"); + }catch (Exception e){ e.printStackTrace(System.err); System.exit(1); diff --git a/src/machine-vuln4.c b/src/machine-vuln4.c index 4f9a210d16e4d6b4d81d480ba40d2cf82d9f418d..28dd68aa8fb23cd90ea0ca3f4cd9d0d84bbf8f76 100644 --- a/src/machine-vuln4.c +++ b/src/machine-vuln4.c @@ -385,7 +385,7 @@ int execute(const unsigned int progLength, const int cycles, int32_t * res){ /* this should never overflow given constraints on both pc and offs */ pc = pc + offs; count++; - continue; /* avoid default increment of pc below */ + // continue; /* avoid default increment of pc below */ }else{ return -1; }