1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Add --asan-fsanitize=... configure flag to the canonical build to optionally set -fsantize flags for the fuzzcheck-asan tool. Teach proj-check-fsanitiz to fail for flags which the compiler emits any warning for, for reasons described in its comments.

FossilOrigin-Name: 013730e9b92af39cb7fd2871df9b4bc81b8990f918892bd79370704421672da0
This commit is contained in:
stephan
2025-03-16 13:09:21 +00:00
parent 539442300c
commit ab68965794
7 changed files with 26 additions and 16 deletions

View File

@ -337,6 +337,10 @@ proc sqlite-configure {buildMode configScript} {
=> {Enable #line macros in the amalgamation}
dynlink-tools
=> {Dynamically link libsqlite3 to certain tools which normally statically embed it}
asan-fsanitize:=auto
=> {Comma- or space-separated list of -fsanitize flags for use with the
fuzzcheck-asan tool. Only those which the compiler claims to support
will actually be used. May be provided multiple times.}
}
{*} {
dump-defines=0