mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
fuzzers|cmake: Downgrade and pin libprotobuf-mutator to v1.1-7-g50ef915
On Ubuntu 24.04 the symptom with more recent 1.3 was: > [ 37%] Building CXX object src/CMakeFiles/protobuf-mutator.dir/text_format.cc.o > cd /home/runner/work/libexpat-private/libexpat-private/expat/build/libprotobuf-mutator/src/libprotobuf-mutator-build/src && /usr/lib/llvm-19/bin/clang++ -I/home/runner/work/libexpat-private/libexpat-private/expat/build/libprotobuf-mutator/src/libprotobuf-mutator -I/home/runner/work/libexpat-private/libexpat-private/expat/build/libprotobuf-mutator/src/libprotobuf-mutator-build -fno-exceptions -Wno-deprecated-declarations -Wall -Wstring-conversion -std=c++17 -fsanitize-coverage=0 -MD -MT src/CMakeFiles/protobuf-mutator.dir/text_format.cc.o -MF CMakeFiles/protobuf-mutator.dir/text_format.cc.o.d -o CMakeFiles/protobuf-mutator.dir/text_format.cc.o -c /home/runner/work/libexpat-private/libexpat-private/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/text_format.cc > In file included from /home/runner/work/libexpat-private/libexpat-private/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/mutator.cc:27: > /home/runner/work/libexpat-private/libexpat-private/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/field_instance.h:193:50: error: no member named 'requires_utf8_validation' in 'google::protobuf::FieldDescriptor' > 193 | bool EnforceUtf8() const { return descriptor_->requires_utf8_validation(); } > | ~~~~~~~~~~~ ^
This commit is contained in:
parent
d9a91c655d
commit
eedfa51d99
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ if(EXPAT_BUILD_FUZZERS)
|
|||
${ProtobufMutator_PREFIX}
|
||||
PREFIX ${ProtobufMutator_PREFIX}
|
||||
GIT_REPOSITORY https://github.com/google/libprotobuf-mutator.git
|
||||
GIT_TAG master
|
||||
GIT_TAG 50ef9159bb838931d83e5bbd77eeec05fc50f57d # v1.1-7-g50ef915, last before commit "Switch to requires_utf8_validation"
|
||||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
|
||||
CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
|
||||
BUILD_BYPRODUCTS ${ProtobufMutator_LIBRARIES}
|
||||
|
|
Loading…
Add table
Reference in a new issue