Skip to content

Commit

Permalink
deps: Bump rules_fuzzing -> 0.5.2 (envoyproxy#34167)
Browse files Browse the repository at this point in the history
* deps: Bump `rules_fuzzing` -> 0.5.2
* patch-fix

Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
Co-authored-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com>
Co-authored-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
dependency-envoy[bot] and phlax authored May 15, 2024
1 parent 5357e7d commit 1ae1aa9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ REPOSITORY_LOCATIONS_SPEC = dict(
project_desc = "Bazel rules for fuzz tests",
project_url = "https://github.com/bazelbuild/rules_fuzzing",
# Patch contains workaround for https://github.com/bazelbuild/rules_python/issues/1221
version = "0.4.1",
sha256 = "f6f3f42c48576acd5653bf07637deee2ae4ebb77ccdb0dacc67c184508bedc8c",
version = "0.5.2",
sha256 = "3ec0eee05b243552cc4a784b30323d088bf73cb2177ddda02c827e68981933f1",
strip_prefix = "rules_fuzzing-{version}",
urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v{version}.tar.gz"],
release_date = "2023-10-19",
release_date = "2024-05-14",
use_category = ["test_only"],
implied_untracked_deps = [
# This is a repository rule generated to define an OSS-Fuzz fuzzing
Expand Down
17 changes: 8 additions & 9 deletions bazel/rules_fuzzing.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/fuzzing/private/oss_fuzz/package.bzl b/fuzzing/private/oss_fuzz/package.bzl
index e5e9dc4..a3bb1b8 100644
index 4f4e636..a1add46 100644
--- a/fuzzing/private/oss_fuzz/package.bzl
+++ b/fuzzing/private/oss_fuzz/package.bzl
@@ -71,7 +71,7 @@ def _oss_fuzz_package_impl(ctx):
@@ -79,7 +79,7 @@ def _oss_fuzz_package_impl(ctx):
if [[ -n "{options_path}" ]]; then
ln -s "$(pwd)/{options_path}" "$STAGING_DIR/{base_name}.options"
fi
Expand All @@ -12,18 +12,17 @@ index e5e9dc4..a3bb1b8 100644
base_name = ctx.attr.base_name,
binary_path = binary_info.binary_file.path,
diff --git a/fuzzing/tools/validate_dict.py b/fuzzing/tools/validate_dict.py
index d561e68..24e3adc 100644
index 52cbcb8..dac313a 100644
--- a/fuzzing/tools/validate_dict.py
+++ b/fuzzing/tools/validate_dict.py
@@ -19,6 +19,11 @@ Validates and merges a set of fuzzing dictionary files into a single output.
@@ -22,6 +22,10 @@ from absl import flags
from fuzzing.tools.dict_validation import validate_line
from sys import stderr

from absl import app
from absl import flags
+
+import os
+import sys
+sys.path += [os.path.dirname(__file__)]
+
from dict_validation import validate_line
from sys import stderr
FLAGS = flags.FLAGS

flags.DEFINE_list("dict_list", [],

0 comments on commit 1ae1aa9

Please sign in to comment.