Skip to content

Backport UBSan consumer instrumentation to C++11 - #605

Merged
SRombauts merged 3 commits into
sqlitecpp-3.xfrom
593-fix-ubsan-instrumentation-cxx11
Oct 24, 2026
Merged

SRombauts merged 3 commits into
sqlitecpp-3.xfrom
593-fix-ubsan-instrumentation-cxx11

Conversation

@SRombauts

Copy link
Copy Markdown
Owner

Backport #593 without raising the CMake 3.5 minimum. Propagate UBSan compilation and runtime linkage through SQLiteCpp using target_compile_options(PUBLIC) and target_link_libraries(PUBLIC) instead of CMake 3.13's target_link_options().

CI verifies UBSan compile and link flags for the library, unit tests and example. No source/ABI changes or new C++/SQLite version requirements.

Compile SQLiteCpp and linked consumers with UBSan, and forward
the sanitizer runtime through a compatible link interface.
Check that library, tests, and examples all receive sanitizer flags;
document the CMake 3.5-compatible propagation approach.
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 99.715%. remained the same — 593-fix-ubsan-instrumentation-cxx11 into sqlitecpp-3.x

@SRombauts
SRombauts merged commit 75191d1 into sqlitecpp-3.x Oct 24, 2026
64 checks passed
@SRombauts
SRombauts deleted the 593-fix-ubsan-instrumentation-cxx11 branch October 24, 2026 07:41
@SRombauts SRombauts self-assigned this Oct 24, 2026
@SRombauts SRombauts added the ci label Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants