aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-07Snap for 10453563 from ba37c2e361c2ba91bacc47fcae5383c52e50f6be to ↵aml_ips_341611000aml_ips_341510000aml_ips_340914280aml_ips_340914200aml_ips_340914000Android Build Coastguard Worker
mainline-ipsec-release Change-Id: Iedc9511248b59155c8dde69147d9712672d5009e
2022-10-14Add a wrapper for jazzer_setup am: 73ef01c299 am: ed019db506 am: 91b3c3ac28android-14.0.0_r45android-14.0.0_r44android-14.0.0_r43android-14.0.0_r42android-14.0.0_r41android-14.0.0_r40android-14.0.0_r39android-14.0.0_r38android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16aml_rkp_341510000aml_rkp_341311000aml_rkp_341114000aml_rkp_341015010aml_rkp_341012000aml_hef_341717050aml_hef_341613000aml_hef_341512030aml_hef_341415040aml_hef_341311010aml_hef_341114030aml_cfg_341510000android14-qpr1-s2-releaseandroid14-qpr1-releaseandroid14-mainline-healthfitness-releaseandroid14-devandroid14-d2-s5-releaseandroid14-d2-s4-releaseandroid14-d2-s3-releaseandroid14-d2-s2-releaseandroid14-d2-s1-releaseandroid14-d2-releaseZi Wang
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2254074 Change-Id: Ie153775e477a8b63170efe72d9253964537700f7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14Add a wrapper for jazzer_setup am: 73ef01c299 am: ed019db506android-u-beta-1-gplZi Wang
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2254074 Change-Id: I065251834c62d56d3a9341e0704635a6b48f803e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14Add a wrapper for jazzer_setup am: 73ef01c299main-16k-with-phonesZi Wang
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2254074 Change-Id: I0d82f1ab7f4dbbfa4fc0dc6ceaf36fd550033174 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14Add a wrapper for jazzer_setupZi Wang
Without a proper wrapper and a wrapper property showing where the wrapper is in bp, the build for jazzer_setup module is incorrect. This change fixes this problem. Owners of jazzer_setup feel free to modify the wrapper to their needs after this change. Test: m nothing and treehugger Change-Id: I4f7e7de6047095019455039c0395c73d0b512239
2022-10-10Adding JazzerSetup target to build everything needed for Java development. ↵Cory Barker
There are Jazzer scripts that need these built am: 4d5be65020 am: 82509c040c am: 3a90ed25b5 Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2242320 Change-Id: I105a18aedc6cbaf805274dad486414c001f20ad1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10Adding JazzerSetup target to build everything needed for Java development. ↵Cory Barker
There are Jazzer scripts that need these built am: 4d5be65020 am: 82509c040c Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2242320 Change-Id: If1b8b35260a76f6adb7423a29b684456cf24c306 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10Adding JazzerSetup target to build everything needed for Java development. ↵Cory Barker
There are Jazzer scripts that need these built am: 4d5be65020 Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2242320 Change-Id: I08165d0941588336061f6aa9c9f03d9f57ed24af Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06Adding JazzerSetup target to build everything needed for Java development. ↵Cory Barker
There are Jazzer scripts that need these built Test: Built locally and tested scenario Bug: 249123010 Change-Id: I4627b4298f8f3a3903cf2d59571eb9b01a9ede34
2022-10-06Mark tm-qpr-dev-plus-aosp-without-vendor@9129937 as merged am: 7c161f549f ↵Xin Li
am: aa63773c0d Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jazzer-api/+/20130332 Change-Id: I630ed60b9199e5de7fc4740fb869c7eb1e03520a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06Mark tm-qpr-dev-plus-aosp-without-vendor@9129937 as merged am: 7c161f549fXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jazzer-api/+/20130332 Change-Id: Iccb9366586240ef986effe94cfc5e00b1b875759 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06Mark tm-qpr-dev-plus-aosp-without-vendor@9129937 as mergedXin Li
Change-Id: Idd0749b250d3ecb04a655fcea91e454a63a8daf8
2022-10-05Make Jazzer API device supported am: baa144a7a4 am: cd45b4e81d am: ↵Muhammad Haseeb Ahmad
5b274f9163 am: f38a2070ae am: b72d5ca23d Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2233266 Change-Id: I97ba3ccbdb88c10ea3a0e08a8f285c1f57017d46 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05Make Jazzer API device supported am: baa144a7a4 am: cd45b4e81d am: ↵Muhammad Haseeb Ahmad
5b274f9163 am: f38a2070ae Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2233266 Change-Id: Ibfc693da6a9d591718fd0d5c2843710a7a2a613a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05Make Jazzer API device supported am: baa144a7a4 am: cd45b4e81d am: 5b274f9163Muhammad Haseeb Ahmad
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2233266 Change-Id: Ie7a03f185ca86c5e93ef4877a6ee361ae1e9def0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05Make Jazzer API device supported am: baa144a7a4 am: cd45b4e81dMuhammad Haseeb Ahmad
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2233266 Change-Id: I868ba5fb7e3357d37aa8f60c96b8ba976310b7f5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05Make Jazzer API device supported am: baa144a7a4Muhammad Haseeb Ahmad
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2233266 Change-Id: I69a556716bd6c8404935c19c8b32689901bfe8bb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26Make Jazzer API device supportedMuhammad Haseeb Ahmad
Bug: 246398305 Test: m jazzer Change-Id: Iec54adfc7741ff18d51a38affdf8f4ddd6c3e296
2022-09-16Sync AOSP fork to Jazzer upstream am: 743c872a15 am: 39fddb782b am: ↵Mark
9310e5cea4 am: 26df23e6e9 am: 56442253b3 Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2218561 Change-Id: I6f3d3ddd15d7628380807c3dae667ecd5ac6b613 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15Sync AOSP fork to Jazzer upstream am: 743c872a15 am: 39fddb782b am: ↵Mark
9310e5cea4 am: 26df23e6e9 Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2218561 Change-Id: Ic1b431e5c257109a1dd271215d4d05917a405ccf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15Sync AOSP fork to Jazzer upstream am: 743c872a15 am: 39fddb782b am: 9310e5cea4Mark
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2218561 Change-Id: I2219b78d4576cd3d96b17af5ca79fcb4fd2098e2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15Sync AOSP fork to Jazzer upstream am: 743c872a15 am: 39fddb782bMark
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2218561 Change-Id: I90bae1823535bbd845e31fe54c08adb9d9dde644 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15Sync AOSP fork to Jazzer upstream am: 743c872a15Mark
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/2218561 Change-Id: Iccc5825ec542198ec7d6e270db2eb9df8c16541c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15Sync AOSP fork to Jazzer upstreamMark
Test: m jazzer Change-Id: Iea46316bc76ec168db8385a953739d44d7f07842
2022-08-22all: Make global state in FuzzedDataProviderImpl localFabian Meumertzheim
An instance of FuzzedDataProviderImpl can now be one of the following: * backed by an automatically created native copy of a Java array that is freed by `close()`; * backed by a preexisting native array whose lifetime is managed elsewhere. All instances now maintain their own internal, non-global state and can thus be used concurrently.
2022-08-19driver: Remove dependency on Abseil StrFormatFabian Meumertzheim
Checking the bounds in Java allows for better error messages and we reduce the binary size of the driver JNI library by almost 200 kiB.
2022-08-19driver: Remove glogFabian Meumertzheim
Two `LOG(ERROR)` usages are converted to ordinary prints, one `LOG(INFO)` usage is dropped without replacement since the `JAVA_FUZZER_CLASSPATH` variable isn't even documented.
2022-08-19driver: Restore compatibility with C++11Fabian Meumertzheim
With most of the driver rewritten in Java, we were barely using any C++14/17 features anymore. By reverting to C++11, we get better compatibility for our upcoming Maven version of Jazzer and a simplified build structure by no longer having to transition our cc_library targets.
2022-08-19driver: Remove unused sanitizer hook declarationsFabian Meumertzheim
2022-08-19all: Refactor Jazzer driver into a JNI shared libraryFabian Meumertzheim
For the case of Java-only fuzzing, which only requires the JNI shared library and no driver binary, this change is a pure refactoring. Fuzzing native libraries requires some structural changes since loading libFuzzer from a shared library has implications on the behavior of the dynamic linker: 1. __sanitizer_set_death_callback now has to be looked up via dlsym since it isn't contained in the same object as libFuzzer itself anymore. 2. All sanitizer hooks and libc functions to hook have to be defined in the driver executable. They delegate to the real hooks defined in the shared library as soon as it has been loaded.
2022-08-19tests: Temporarily disable ASan tests on WindowsFabian Meumertzheim
Implementing the hook forwarding required for native library fuzzing on Windows requires quite a bit of effort - it seems reasonable to focus on the test runner integration first.
2022-08-19tests: Verify that value profiling works in native librariesFabian Meumertzheim
2022-08-18driver: Document that Opt is loaded in two class loadersFabian Meumertzheim
2022-08-18driver: Load fuzz target with Driver's class loaderFabian Meumertzheim
This ensures that the fuzz target is found even if Driver is loaded by a custom class loader.
2022-08-18driver: Fix --keep_going not enabled implicitly for AutofuzzFabian Meumertzheim
Makes `--keep_going` a proper uint64 flag as it was before the Java rewrite and ensures that the default value defined in Java is honored.
2022-08-18deps: Update Bazel to 5.3.0rc1Fabian Meumertzheim
2022-08-18ci: Use recommended BuildBuddy settingsFabian Meumertzheim
2022-08-18driver: Increase default -rss_limit_mbFabian Meumertzheim
With -Xmx512m, the ExampleOutOfMemoryFuzzer ran into this failure on macOS: ==19173== ERROR: libFuzzer: out-of-memory (used: 961Mb; limit: 911Mb)
2022-08-17driver: Fix driver crash when not supplying -seedFabian Meumertzheim
The reduce function was misused - prev was always the first CLI argument, not an empty Optional.
2022-08-17driver: Fix condition for adding explicit -seed flagFabian Meumertzheim
The condition was inverted.
2022-08-17examples: Speculative fix for Windows CI failureFabian Meumertzheim
2022-08-15driver: Set a default -rss_limit_mbFabian Meumertzheim
This is necessary for a pure Java driver as we can no longer set -Xmx in that situation. It is also much cleaner than hand-tuning -Xmx, but we still keep the max heap size in the native driver for backwards compatibility with existing crashing inputs.
2022-08-15driver: Enable assertions in JavaFabian Meumertzheim
2022-08-15all: Apply code cleanup fixesFabian Meumertzheim
2022-08-15all: Move SignalHandler initialization into the driverFabian Meumertzheim
Ensures that Ctrl+C works even with `--nohooks`.
2022-08-15all: Parse agent arguments in OptFabian Meumertzheim
Centralizes all options parsing in Opt.
2022-08-15all: Handle argument pre-processing in the Java driverFabian Meumertzheim
2022-08-15driver: Attach the agent at runtimeFabian Meumertzheim
This functionality is needed to launch Jazzer in an already running JVM.
2022-08-15api: Fix paragraphs and links in JavadocFabian Meumertzheim
<p> is required to begin a new paragraph, empty lines aren't enough.
2022-08-15tests: Verify that the driver indirectly sets Jazzer.SEEDFabian Meumertzheim