lix/doc/manual/rl-next/sanitizers.md
2024-08-09 23:22:11 -07:00

704 B

synopsis cls credits category
Lix now supports building with UndefinedBehaviorSanitizer
1483
1481
1669
jade
Development

You can now build Lix with the configuration option -Db_sanitize=undefined,address and it will both work and pass tests with both AddressSanitizer and UndefinedBehaviorSanitizer enabled. To use ASan specifically, you have to set -Dgc=disabled, which an error message will tell you to do if necessary anyhow.

Furthermore, tests passing with Clang ASan+UBSan is checked on every change in CI.

For a list of undefined behaviour found by tooling usage, see the gerrit topic "undefined-behaviour".