Sebastian Pipping
6933ee68f1
xml_lpm_fuzzer: Resolve dead code
2025-02-02 22:19:06 +01:00
Sebastian Pipping
d7736d9cfa
xml_lpm_fuzzer: Resolve unused function parameter
2025-02-02 22:19:06 +01:00
Sebastian Pipping
4962f317d2
xml_lpm_fuzzer: Rename function to better match its nature
2025-02-02 22:19:06 +01:00
Sebastian Pipping
e183cb9811
xml_lpm_fuzzer: Be more thorough in model validation
2025-02-02 22:19:06 +01:00
Sebastian Pipping
5f42436e02
xml_lpm_fuzzer: Fix mistaken use of XML_Char
2025-02-02 22:19:06 +01:00
Sebastian Pipping
da8219b9af
xml_lpm_fuzzer: Mark variable "fail_allocations" as global
2025-02-02 22:19:05 +01:00
Sebastian Pipping
2bb8a29428
xml_lpm_fuzzer: Mark variable "allocation_count" as global
2025-02-02 22:19:05 +01:00
Sebastian Pipping
59771b8f7f
xml_lpm_fuzzer: Mark variables external_entity{,_size} as global
2025-02-02 22:19:05 +01:00
Sebastian Pipping
2b73e1bc00
xml_lpm_fuzzer: Mark variable "encoding" as global
...
This resolves variable shadowing in a few places also,
e.g. in XmlDeclHandler and UnknownEncodingHandler.
2025-02-02 22:19:05 +01:00
Sebastian Pipping
2ca8b39167
xml_lpm_fuzzer: Protect assert(...) from NDEBUG
2025-02-02 22:19:05 +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
1ddd2ef11d
Merge pull request #947 from libexpat/extend-changelog
...
Extend changelog (i.e. early bits of preparation for release 2.6.5)
2025-01-27 02:05:45 +01:00
Sebastian Pipping
deef285f28
Changes: Promote needs of Python and Perl bindings
2025-01-26 22:24:16 +01:00
Sebastian Pipping
0d0b5a5ae2
Changes: Document changes since release Expat 2.6.4
2025-01-26 22:24:16 +01:00
Sebastian Pipping
cf2a34129f
Sync project lifetime info
2025-01-26 22:24:16 +01:00
Sebastian Pipping
22655f6037
Sync file headers
2025-01-26 22:24:16 +01:00
Sebastian Pipping
d4dcf05382
Merge pull request #946 from libexpat/github-actions-windows-ci
...
Make GitHub Actions build using MSVC on Windows + produce 32bit and 64bit Windows binaries
2025-01-20 22:36:25 +01:00
Sebastian Pipping
61d3bf9c0f
Changes: Drop windows binaries off "help needed" list as completed
2025-01-20 21:56:15 +01:00
Sebastian Pipping
12f53b0828
Drop AppVeyor CI now that GitHub Actions is building for Windows
2025-01-20 21:56:15 +01:00
Sebastian Pipping
22766182f0
Make GitHub Actions build Windows binaries
2025-01-20 21:56:03 +01:00
Sebastian Pipping
6c4cf020f9
Make GitHub Actions compile cover compilation with MSVC on Windows
2025-01-20 21:51:33 +01:00
Sebastian Pipping
b3bd79b391
Merge pull request #945 from libexpat/require-cmake-3-10
...
Drop support for CMake <3.10
2025-01-20 18:57:50 +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
531f10f74f
Merge pull request #944 from libexpat/fix-win32bin-compilation
...
`win32/expat.iss`: Fix target location of `xmlwf.xml` for CMake
2025-01-20 15:00:57 +01:00
Sebastian Pipping
2ff156596d
win32/expat.iss: Fix target location of xmlwf.xml for CMake
2025-01-20 13:50:55 +01:00
Sebastian Pipping
fd1a3bc9fe
Merge pull request #943 from libexpat/dependabot/github_actions/actions/upload-artifact-4.6.0
...
Actions(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0
2025-01-13 15:31:39 +01:00
dependabot[bot]
8d2cc5955a
Actions(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](6f51ac03b9...65c4c4a1dd
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 12:52:36 +00:00
Sebastian Pipping
aac7eae660
Merge pull request #942 from libexpat/small-fuzzing-related-improvements
...
Small fuzzing related improvements
2025-01-05 23:41:03 +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
2892a39feb
fuzzing.yml: Start storing fuzzing logs
2025-01-05 21:50:40 +01:00
Sebastian Pipping
2a894f438d
fuzzing.yml: Stop trying to upload "crash-*" files
...
.. when regression testing against existing files
form a fuzzing corpus just does not produce these files.
2025-01-05 21:43:53 +01:00
Sebastian Pipping
76935aa308
Fix spelling of OSS-Fuzz
2025-01-05 21:43:53 +01:00
Sebastian Pipping
5321c113f1
Merge pull request #941 from libexpat/document-cxx11-header-requirement
...
`README.md` and `Changes`: Document need for C++11 compiler for use from C++
2025-01-05 20:31:45 +01:00
Sebastian Pipping
23a696c539
README.md|Changes: Document need for C++11 compiler for use from C++
2025-01-05 19:17:21 +01:00
Sebastian Pipping
c1c1677657
Merge pull request #938 from libexpat/dependabot/github_actions/actions/upload-artifact-4.5.0
...
Actions(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0
2024-12-23 16:33:52 +01:00
dependabot[bot]
402786d8eb
Actions(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](b4b15b8c7c...6f51ac03b9
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 12:26:09 +00:00
Sebastian Pipping
493406dbcc
Merge pull request #936 from libexpat/coverage-sh-quiet-lcov
...
`coverage.sh`: Pass `-q -q` for LCOV >=2.1
2024-12-17 21:05:18 +01:00
Sebastian Pipping
a39eb0ea8f
Merge pull request #937 from libexpat/issue-935-autotools-fix-generated-cmake-files-for-macos
...
Make Autotools-generated CMake files look for `libexpat.@SO_MAJOR@.dylib` (fixes #935 )
2024-12-17 21:04:53 +01:00
Sebastian Pipping
b791ba36d6
Make Autotools-generated CMake files look for libexpat.@SO_MAJOR@.dylib
...
.. to match what Autotools is producing in reality at build time.
Unlike CMake, Autotools does not produce file
"libexpat.@SO_MAJOR@.@SO_MINOR@.@SO_PATCH@.dylib" when compiling on macOS.
What the commit does on the CI side is closely mimicking a similar thing
with MinGW that existed until 7731dd5b90621a9e4696d1c467bca2b6ece6e3e6^ .
2024-12-17 19:31:13 +01:00
Sebastian Pipping
2f0b95661d
coverage.sh: Pass "-q -q" for LCOV >=2.1
...
.. to suppress output "no messages were reported".
2024-12-16 19:57:04 +01:00