Sebastian Pipping
a6497c3004
Bump version to 2.7.1
2025-03-27 17:45:25 +01:00
Sebastian Pipping
d8d5b39933
Bump version info from 11:1:10 to 11:2:10
...
See https://verbump.de/ for what these numbers do
2025-03-27 17:45:25 +01:00
Sebastian Pipping
0a6cbff62c
Bump version to 2.7.0
2025-03-13 20:41:33 +01:00
Sebastian Pipping
70b24434c7
Bump version info from 11:0:10 to 11:1:10
...
See https://verbump.de/ for what these numbers do
2025-03-13 20:41:33 +01:00
Sebastian Pipping
d701205f81
CMake: Make use of target_link_options of CMake >=3.13
2025-02-26 01:24:52 +01:00
Sebastian Pipping
6fe87b6116
Drop support for CMake <3.13
...
Because libprotobuf-mutator with tests enabled already
needs CMake >=3.13 in practice
(https://github.com/google/libprotobuf-mutator/pull/276 ).
PS: Near-end-of-life Ubuntu "focal" 20.04 LTS has
CMake 3.16.3 (https://packages.ubuntu.com/focal/cmake )
and Debian "bullseye" old(!)stable has CMake 3.18.4
(https://packages.debian.org/bullseye/cmake ).
2025-02-23 16:43:38 +01:00
Sebastian Pipping
9bfccc4b13
fuzzers|cmake: Forward to libprotobuf-mutator with Ubuntu 20.04 support
2025-02-23 04:40:37 +01:00
Sebastian Pipping
ae1fc71ebb
fuzzers|cmake: Use proper library order for linking xml_lpm_fuzzer
2025-02-23 04:40:21 +01:00
Sebastian Pipping
cf28b6de98
Revert "fuzzers|cmake: Disable xml_lpm_fuzzer for -DEXPAT_OSSFUZZ_BUILD=ON"
...
This reverts commit 392fb29e67
.
2025-02-23 04:25:24 +01:00
Sebastian Pipping
392fb29e67
fuzzers|cmake: Disable xml_lpm_fuzzer for -DEXPAT_OSSFUZZ_BUILD=ON
...
.. to give OSS-Fuzz a chance at a successful build while their
images are based on Ubuntu 20.04 with too-old Protobuf
PS: Display this commit with "-w" to see it best.
2025-02-11 14:24:57 +01:00
Sebastian Pipping
9e906b5bf1
fuzzers|cmake|ci: Save compile time on libprotobuf-mutator examples
...
As a side effect, CI no longer needs to install liblzma-dev.
2025-02-07 19:05:59 +01:00
Sebastian Pipping
14424c70fb
fuzzers|cmake: Bump libprotobuf-mutator to v1.4-8-g75f1720
2025-02-07 19:05:59 +01:00
Sebastian Pipping
78767684c3
fuzzers|cmake: Break up long line (before making it even longer)
2025-02-07 19:05:59 +01:00
valord577
4cb89e6128
fix warning: no -Wno-pedantic-ms-format
for llvm mingw
...
ONLY gcc has `-Wno-pedantic-ms-format`:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wno-pedantic-ms-format
2025-02-07 15:51:26 +08:00
Sebastian Pipping
3e82dcb383
fuzzers|cmake: Stop linking xml_lpm_fuzzer against Abseil, explicitly
...
This reverts commit d7e41e2de8
but also also adjusts CI.
2025-02-06 23:24:49 +01:00
Sebastian Pipping
84ccc3e341
fuzzers|cmake: Check for working protobuf compiler
2025-02-03 18:34:49 +01:00
Sebastian Pipping
a0b8957db2
Sync file headers
2025-02-03 01:37:51 +01:00
Sebastian Pipping
48afe247ce
xml_lpm_fuzzer|cmake: Replace -fsanitize=fuzzer-no-link by -fsanitize=fuzzer
...
Same as commit bf9caf7ac4
, different target.
2025-02-02 22:19:06 +01:00
Sebastian Pipping
5551e205d2
fuzzers|cmake: Drop redundant linker language to simplify
...
The other fuzzers need it for EXPAT_OSSFUZZ_BUILD when C becomes C++
but not this one.
2025-02-02 22:19:05 +01:00
Sebastian Pipping
ba8744ae19
fuzzers|cmake: Fix parallel build for xml_lpm_fuzzer
2025-02-02 22:19:05 +01:00
Sebastian Pipping
d7e41e2de8
fuzzers|cmake: Link xml_lpm_fuzzer against Abseil, explicitly
2025-02-02 22:19:05 +01:00
Sebastian Pipping
2fd3844a7c
fuzzers|cmake: Stop compiling libprotobuf-mutator with tests
2025-02-02 22:19:05 +01:00
Sebastian Pipping
c2fd39564c
fuzzers|cmake: Patch default -Werror out of libprotobuf-mutator
...
.. and make it use C++ 17 for recent Abseil
2025-02-02 22:19:05 +01:00
Sebastian Pipping
eedfa51d99
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(); }
> | ~~~~~~~~~~~ ^
2025-02-02 22:19:05 +01:00
Sebastian Pipping
d9a91c655d
fuzzers|cmake: Compile as C++17 for recent Abseil
2025-02-02 22:19:05 +01:00
Sebastian Pipping
c87f28da40
fuzzers|cmake: Enable C++ for EXPAT_BUILD_FUZZERS
2025-02-02 22:19:05 +01:00
Sebastian Pipping
b1d40decd9
Revert "fuzzers: Pin tagged versions of protobuf and libprotobuf-mutator"
...
This reverts commit 99314b5d946c0b6851c97714a9b4965284843717.
2025-02-02 22:19:05 +01:00
Sebastian Pipping
8fec1ea699
Merge remote-tracking branch 'c01db33f/fuzzer' into pull-617-finish
2025-02-02 22:17:44 +01:00
Sebastian Pipping
22655f6037
Sync file headers
2025-01-26 22:24:16 +01:00
Sebastian Pipping
3feee8fab2
Drop support for CMake <3.10
...
Symptom was:
> CMake Deprecation Warning at CMakeLists.txt:37 (cmake_minimum_required):
> Compatibility with CMake < 3.10 will be removed from a future version of
> CMake.
> Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
> to tell CMake that the project requires at least <min> but has been updated
> to work with policies introduced by <max> or earlier.
2025-01-20 17:37:38 +01:00
Sebastian Pipping
bf9caf7ac4
CMake: Replace -fsanitize=fuzzer-no-link by -fsanitize=fuzzer
...
.. where it is a better fit, semantically.
2025-01-05 21:50:40 +01:00
Sebastian Pipping
09f6faa996
CMake: Merge two adjacent conditionals with overlap
2025-01-05 21:50:40 +01:00
Sebastian Pipping
76935aa308
Fix spelling of OSS-Fuzz
2025-01-05 21:43:53 +01:00
Sebastian Pipping
c15ac3b307
Bump version to 2.6.4
2024-11-06 17:42:20 +01:00
Sebastian Pipping
ad7b7cbe6b
Bump version info from 10:3:9 to 11:0:10
...
See https://verbump.de/ for what these numbers do
2024-11-06 17:42:20 +01:00
Vollstrecker
cd8904c072
Add alias expat::expat
...
As the find module and the config create the expat::expat alias for expat, the build-process should do this also to make it easier to include this in a chainbuild
2024-09-26 19:37:43 +02:00
Sebastian Pipping
8707e02e1f
Bump version to 2.6.3
2024-09-03 18:19:25 +02:00
Sebastian Pipping
93e5971fb5
Bump version info from 10:2:9 to 10:3:9
...
See https://verbump.de/ for what these numbers do
2024-09-03 18:19:25 +02:00
Sebastian Pipping
f8fb85ec8c
Drop support for Visual Studio 15 2017
2024-03-23 17:22:05 +01:00
Sebastian Pipping
13cff445fa
Bump version to 2.6.2
2024-03-13 14:37:05 +01:00
Sebastian Pipping
557f1255f9
Bump version info from 10:1:9 to 10:2:9
...
See https://verbump.de/ for what these numbers do
2024-03-13 14:37:05 +01:00
Sebastian Pipping
dfe043fe6a
Bump version to 2.6.1
2024-02-28 23:41:31 +01:00
Sebastian Pipping
fbe7b9345b
Bump version info from 10:0:9 to 10:1:9
...
See https://verbump.de/ for what these numbers do
2024-02-28 23:41:31 +01:00
Sebastian Pipping
7e2a0da9ba
lib: Hide some test-only code behind new macro XML_TESTING
2024-02-21 13:07:35 +01:00
Sebastian Pipping
2a10e173ab
Sync file headers
2024-02-06 14:13:00 +01:00
Sebastian Pipping
310a1977f4
Bump version to 2.6.0
2024-02-06 14:08:05 +01:00
Sebastian Pipping
b9fd465231
Bump version info from 9:10:8 to 10:0:9
...
See https://verbump.de/ for what these numbers do
2024-02-06 14:08:05 +01:00
Sebastian Pipping
5a3c419e6a
CMake|Autotools: Fix PACKAGE_BUGREPORT variable to something working
2023-12-17 03:34:27 +01:00
Sebastian Pipping
038040447e
CMake: Build tests/benchmark/benchmark.c for EXPAT_BUILD_TESTS
...
.. like the Autotools build system does.
2023-11-21 20:27:24 +01:00
Sebastian Pipping
0f075ec8ec
lib|xmlwf|cmake: Extend scope of billion laughs attack protection
...
.. from "defined(XML_DTD)" to "defined(XML_DTD) || XML_GE==1".
2023-11-06 20:43:09 +01:00