aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-30Ensure that escapes are honored by fork and mergeFabian Meumertzheim
Fixes https://github.com/google/oss-fuzz/issues/6926.
2021-11-30Make crash-reproducers compile properlyDominik Stadler
There is a nested catch in the crash-template which uses the same name "ignored" for the caught Exception as the catch on the outer level. This does not compile in Java and thus currently requires changes to crash-reproducers. When using a unique name, this is resolved.
2021-11-23Make trampoline smaller (#243)Fabian Meumertzheim
Since libFuzzer's integer compare hooks only feed the lowest 9 bits of the address of the compare instruction into the value profile map, we can reduce the size of the trampoline from 2^12 to 2^9.
2021-11-22Document `--jvm_args` in the READMEFabian Meumertzheim
2021-11-19Update JaCoCo forkFabian 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-15Suppress javac warnings on JaCoCoFabian Meumertzheim
2021-11-15Update abseil-cpp to fix compiler warningsFabian Meumertzheim
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-11-12Make actions fully hermeticFabian Meumertzheim
Without this flag, actions and test runs share /tmp, which can lead to JVM crashes.
2021-11-05Update rules_jni to 0.3.0Fabian Meumertzheim
2021-11-02Update rules_jni to v0.2.1Fabian Meumertzheim
2021-10-29Update formatters and reformatFabian Meumertzheim
The ktlint update is required for Java 17 compatibility.
2021-10-25Map rootpath to rlocation path in fuzz target test wrapperFabian Meumertzheim
2021-10-25Update rules_jni to v0.2.0Fabian Meumertzheim
2021-10-25Make //:clang_on_linux publicFabian Meumertzheim
Fixes breakage with future incompatible changes.
2021-10-22Move java_export to separate packageFabian Meumertzheim
Since repositories.bzl no longer declares rules_jvm_external, depending Bazel projects otherwise fail to parse the top-level BUILD.bazel.
2021-10-21Bring back toolchain configFabian Meumertzheim
This is used in the Dockerfiles.
2021-10-21Do not use the disk cache for release buildsFabian Meumertzheim
2021-10-21Build a release in CIFabian Meumertzheim
2021-10-21Bump API version to 0.10.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-21Run CI tests against OpenJDK 17Fabian Meumertzheim
Now that 17 is the most recent LTS version, we should test against it. We keep a single run of ubuntu-latest/JDK 15 to cover OSS-Fuzz.
2021-10-21Update ClassGraphFabian Meumertzheim
2021-10-21Update bazel_skylibFabian 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-21README for autofuzzKhaled Yakdan
Co-authored-by: Fabian Meumertzheim <meumertzheim@code-intelligence.com>
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-20Remove unused Maven dependencyFabian 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-19Adapt replayer test for WindowsFabian Meumertzheim
Also removes a copy-pasted check for a crash file that is not created by the replayer.
2021-10-19Rescan the classpath when seeing many AutofillConstructionExceptionsFabian Meumertzheim
2021-10-19Explain the purpose of YourAverageJavaClassFabian Meumertzheim
2021-10-19Improve flag descriptions of --autofuzz and --keep_goingFabian Meumertzheim
More accurately describe the interaction between the two.