code-intelligence.com/cifuzz@v0.40.0/examples/maven/src/main/java/com/example/ExploreMe.java (about) 1 package com.example; 2 3 public class ExploreMe { 4 private int a; 5 6 public ExploreMe(int a) { 7 this.a = a; 8 } 9 10 // Function with multiple paths that can be discovered by a fuzzer. 11 public void exploreMe(int b, String c) { 12 if (a >= 20000) { 13 if (b >= 2000000) { 14 if (b - a < 100000) { 15 // Trigger Remote Code Execution Bug 16 if (c.startsWith("@")) { 17 String className = c.substring(1); 18 try { 19 Class.forName(className).newInstance(); 20 } catch (ClassNotFoundException | InstantiationException | IllegalAccessException ignored) { 21 } 22 } 23 } 24 } 25 } 26 } 27 }