aboutsummaryrefslogtreecommitdiff
path: root/agent
AgeCommit message (Collapse)Author
2021-12-13Report Map lookups as comparisonsFabian Meumertzheim
If map.get(currentKey) returns null, the new hook finds a valid key targetKey in map that is closest to currentKey and invokes a suitable compare hook.
2021-12-10Disable GEP instrumentation by default (#248)Fabian Meumertzheim
2021-11-18Explicitly list source files instead of using globFabian Meumertzheim
2021-11-18Print generated code when JAZZER_AUTOFUZZ_DEBUG is setFabian Meumertzheim
2021-11-18Implement code generation for consume and autofuzzFabian Meumertzheim
Method/Constructor are not yet implemented.
2021-11-18Fix invalid object creation method invocationFabian Meumertzheim
The builder method may accept parameters and thus needs to be autofuzzed rather than invoked.
2021-11-15Silence sun.misc.Signal warningFabian Meumertzheim
2021-11-12Extract JavaNoThrowMethods logic into a JaCoCo forkFabian Meumertzheim
The fork of JaCoCo is compatible with the exec files generated by Jazzer's dumpCoverage. This also reduces the size of the patches maintained in this repo.
2021-11-12Port JavaNoThrowMethods to JavaFabian Meumertzheim
2021-10-25Update rules_jni to v0.2.0Fabian Meumertzheim
2021-10-21Rename parameters in FunctionNFabian Meumertzheim
Also adds a missing @Overrides annotation.
2021-10-21Add Jazzer.autofuzz(FuzzedDataProvider, Consumer{1,2,3,4,5}) to the APIFabian Meumertzheim
Also add a test to catch potential copy&paste issues.
2021-10-21Add Jazzer.autofuzz(FuzzedDataProvider, Function{2,3,4,5}) to the APIFabian Meumertzheim
2021-10-21Add Jazzer.autofuzz(FuzzedDataProvider, Function1) to the Jazzer APIFabian Meumertzheim
Also moves AutofuzzInvocationException to the api package.
2021-10-21Move ConsumerN and FunctionN to api packageFabian Meumertzheim
2021-10-21Add ConsumerN, FunctionN and autofuzz methods up to N=5Fabian Meumertzheim
2021-10-21Add Jazzer.consume to the Jazzer APIFabian Meumertzheim
This requires moving AutofuzzConstructionException to api package.
2021-10-21Remove remaining loads of @rules_javaFabian Meumertzheim
2021-10-21Make rules_jvm_external a dev dependencyFabian Meumertzheim
2021-10-21Remove dependency on bazel_commonFabian Meumertzheim
bazel_common has no releases and rules_jvm_external exposes the only part of it that we need, javadoc generation.
2021-10-20Enable globbing for exceptions to be ignored, e.g., ↵Khaled Yakdan
--autofuzz_ignore="java.lang.*"
2021-10-20Improve error messages in Autofuzz fuzz targetFabian Meumertzheim
2021-10-20Only rescan classpath once before erroring outFabian Meumertzheim
Previously, this would rescan for classes on every run after reaching half the error threshold.
2021-10-20Make Jazzer constructor privateFabian Meumertzheim
2021-10-19Improve Autofuzz' fuzzer byte budget handlingFabian Meumertzheim
Before determining the length of an array to be created in consume, compute or estimate the number of bytes required to create a single object of the component type.
2021-10-19Rescan the classpath when seeing many AutofillConstructionExceptionsFabian Meumertzheim
2021-10-19Explain the purpose of YourAverageJavaClassFabian Meumertzheim
2021-10-19Sort the return values of reflection methodsFabian Meumertzheim
We sort by name (and descriptor, if necessary) to ensure that the order and thus our picks are a deterministic function of the fuzzer input across all JVMs.
2021-10-19Replace isAssignableFrom checks with explicit classesFabian Meumertzheim
Otherwise, we would e.g. only return string when a Serializable is requested.
2021-10-19Prevent early libFuzzer exits by replaying initial coverage for two runsFabian Meumertzheim
2021-10-19Return meaningful Class, Method, and Constructor instancesFabian Meumertzheim
2021-10-19Explicitly use system ClassLoader to load classesFabian Meumertzheim
2021-10-19Add a call-to-action trailer to all AutofuzzErrorsFabian Meumertzheim
2021-10-19Autoclose Closeables returned by autofuzzFabian Meumertzheim
2021-10-19Allow fuzzing constructorsFabian Meumertzheim
Syntax is String::new, just like for method references.
2021-10-19Add an --autofuzz_ignore flag to ignore exception classesFabian Meumertzheim
2021-10-19Do not find our own classesFabian Meumertzheim
This could pretty wild AutofillErrors.
2021-10-19Fix NullPointerException when autofuzzing member functionsFabian Meumertzheim
2021-10-19Clean the stack traces of findingsFabian Meumertzheim
2021-10-19Add autofuzz debug modeFabian Meumertzheim
This mode prints detailed information in failure cases and can be enabled by setting the JAZZER_AUTOFUZZ_DEBUG env variable to a non-empty value.
2021-10-19Cache more things in the builder caseFabian Meumertzheim
Also improves some error checks
2021-10-19More informative error message in case of no implementing classFabian Meumertzheim
2021-10-19Sometimes return null for non-primitive typesFabian Meumertzheim
2021-10-19Allow selecting a particular method for AutofuzzFabian Meumertzheim
2021-10-19Handle creating classes with a default constructor and setter methodsKhaled Yakdan
2021-10-19add the functionality to pick multiple values from a collection or array to ↵Khaled Yakdan
the FuzzedDataProvider
2021-10-19Create object with nested builder classKhaled Yakdan
2021-10-19Implement the autofuzz fuzz targetFabian Meumertzheim
2021-10-19Create Objects from classes implementing an interfaceKhaled Yakdan
2021-10-19refactor CannedFuzzedDataProvider so that it can is useful for multiple testsKhaled Yakdan