-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
900 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
# this is loaded in a special way at runtime and so we can't shade it but it should be safe to share between selffuzz | ||
# and normal jazzer. In order to not shade it, we make a rule to transform it to itself and then have the | ||
# general rule because a file will be transformed by the first rule where it fits the filter | ||
rule com.code_intelligence.jazzer.utils.UnsafeProvider com.code_intelligence.jazzer.utils.UnsafeProvider | ||
rule com.code_intelligence.jazzer.** com.code_intelligence.selffuzz.jazzer.@1 |
27 changes: 27 additions & 0 deletions
27
selffuzz/src/test/java/com/code_intelligence/selffuzz/driver/BUILD.bazel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
load("//bazel:fuzz_target.bzl", "java_fuzz_target_test") | ||
|
||
# Mutator fuzz tests define a low `runs` to only start and iterate | ||
# a few times via Bazel. Long running fuzzing is executed in CI Sense through | ||
# the CI pipeline integration. | ||
|
||
java_fuzz_target_test( | ||
name = "FuzzedDataProviderImplFuzzTest", | ||
srcs = ["FuzzedDataProviderImplFuzzTest.java"], | ||
fuzzer_args = [ | ||
"--experimental_mutator", | ||
"-runs=1000", | ||
], | ||
target_class = "com.code_intelligence.selffuzz.driver.FuzzedDataProviderImplFuzzTest", | ||
verify_crash_reproducer = False, | ||
deps = [ | ||
"//selffuzz:jazzer_api_selffuzz", | ||
"//selffuzz:jazzer_selffuzz", | ||
"//src/main/java/com/code_intelligence/jazzer/driver:fuzzed_data_provider_impl", | ||
"//src/main/java/com/code_intelligence/jazzer/junit:fuzz_test", | ||
"//src/main/java/com/code_intelligence/jazzer/mutation/annotation", | ||
"//src/main/native/com/code_intelligence/jazzer/driver:jazzer_fuzzed_data_provider", | ||
"@maven//:org_junit_jupiter_junit_jupiter_api", | ||
"@maven//:org_junit_jupiter_junit_jupiter_engine", | ||
"@maven//:org_junit_platform_junit_platform_launcher", | ||
], | ||
) |
Oops, something went wrong.