Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ build --cxxopt=-Wc++17-compat-pedantic
build --host_cxxopt=-std=c++17
build --host_cxxopt=-Wc++17-compat-pedantic

# Abseil emits a warning on clang <16 that's treated as an error by default.
# See https://github.com/abseil/abseil-cpp/issues/2073.
build --per_file_copt=-external/.*@-Wno-invalid-partial-specialization

# Build GoogleTest with ABSL support.
build --define absl=1

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.5.0
8.7.0
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bazel_dep(
)
bazel_dep(
name = "abseil-cpp",
version = "20260107.1",
version = "20260526.0",
)
bazel_dep(
name = "re2",
Expand Down
6 changes: 3 additions & 3 deletions cmake/BuildDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cmake_minimum_required(VERSION 3.19)
include(FetchContent)

set(absl_URL https://github.com/abseil/abseil-cpp.git)
set(absl_TAG 20260107.1)
set(absl_TAG 20260526.0)

set(re2_URL https://github.com/google/re2.git)
set(re2_TAG 2025-11-05)
Expand All @@ -39,8 +39,8 @@ set(flatbuffers_URL https://github.com/google/flatbuffers.git)
set(flatbuffers_TAG v25.12.19)

if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0135 NEW)
cmake_policy(SET CMP0135 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0135 NEW)
endif()

FetchContent_Declare(
Expand Down
2 changes: 1 addition & 1 deletion fuzztest/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ cc_library(
"@abseil-cpp//absl/container:flat_hash_map",
"@abseil-cpp//absl/numeric:bits",
"@abseil-cpp//absl/numeric:int128",
"@abseil-cpp//absl/random:bit_gen_ref",
"@abseil-cpp//absl/random:mocking_access",
"@abseil-cpp//absl/types:span",
"@com_google_fuzztest//fuzztest/internal:fuzzing_mock_stream",
"@com_google_fuzztest//fuzztest/internal:register_absl_fuzzing_mocks",
Expand Down
2 changes: 1 addition & 1 deletion fuzztest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fuzztest_cc_library(
absl::flat_hash_map
absl::bits
absl::int128
absl::random_bit_gen_ref
absl::random_mocking_access
absl::span
fuzztest::fuzzing_mock_stream
fuzztest::register_absl_fuzzing_mocks
Expand Down
7 changes: 2 additions & 5 deletions fuzztest/fuzzing_bit_gen.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "absl/base/attributes.h"
#include "absl/base/fast_type_id.h"
#include "absl/numeric/int128.h"
#include "absl/random/bit_gen_ref.h"
#include "absl/random/mocking_access.h"
#include "absl/types/span.h"

namespace fuzztest {
Expand Down Expand Up @@ -99,10 +99,7 @@ class FuzzingBitGen {
absl::Span<const uint8_t> control_stream_;
absl::Span<const uint8_t> data_stream_;

template <typename>
friend struct ::absl::random_internal::DistributionCaller; // for InvokeMock
friend class ::absl::random_internal::MockHelpers; // for InvokeMock
friend class ::absl::BitGenRef; // for InvokeMock
friend class ::absl::RandomMockingAccess; // for InvokeMock
};

} // namespace fuzztest
Expand Down
Loading