bazelbuild / rules_fuzzing

Bazel Starlark extensions for defining fuzz tests in Bazel projects
Apache License 2.0
82 stars 19 forks source link

Fix native library handling #195

Closed fmeum closed 2 years ago

fmeum commented 2 years ago

See the individual commit messages.

fmeum commented 2 years ago

This PR fixes the underlying issue in the java_fuzz_test logic, but fails to provide Bazel 5 support due to a separate issue that only shows up on macOS. I will debug this later.

@stefanbucur The bug is only relevant when fuzzing Java mixed with native libraries. If that's not super urgent to fix, you could hold the 0.3.1 release until I have fixed this Bazel 5 issue. Otherwise, feel free to cherry-pick the first commit.

fmeum commented 2 years ago

@stefanbucur This is ready for review now and fixes the two bugs I am aware of.