Softwaretechnik-II/testing/AufgabeEmailMatcher/reports/Crash_c0c78c8c6f8468424cdf48dfd39a28e04e0ec416.java

28 lines
1.4 KiB
Java
Raw Normal View History

2024-11-27 13:09:22 +01:00
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class Crash_c0c78c8c6f8468424cdf48dfd39a28e04e0ec416 {
static final String base64Bytes = String.join("", "rO0ABXNyABNqYXZhLnV0aWwuQXJyYXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHAAAAABdwQAAAABdAAOeXl5eXlNQHkueXl5eU14");
public static void main(String[] args) throws Throwable {
Crash_c0c78c8c6f8468424cdf48dfd39a28e04e0ec416.class.getClassLoader().setDefaultAssertionStatus(true);
try {
Method fuzzerInitialize = EmailMatcherFuzzTest.class.getMethod("fuzzerInitialize");
fuzzerInitialize.invoke(null);
} catch (NoSuchMethodException ignored) {
try {
Method fuzzerInitialize = EmailMatcherFuzzTest.class.getMethod("fuzzerInitialize", String[].class);
fuzzerInitialize.invoke(null, (Object) args);
} catch (NoSuchMethodException ignored1) {
} catch (IllegalAccessException | InvocationTargetException e) {
e.printStackTrace();
System.exit(1);
}
} catch (IllegalAccessException | InvocationTargetException e) {
e.printStackTrace();
System.exit(1);
}
com.code_intelligence.jazzer.api.CannedFuzzedDataProvider input = new com.code_intelligence.jazzer.api.CannedFuzzedDataProvider(base64Bytes);
EmailMatcherFuzzTest.fuzzerTestOneInput(input);
}
}