mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
f0973db6dd
These variants make the choice to terminate the process a compile-time decision rather than a runtime-configurable setting through `UBSAN_OPTIONS`. As the compiler can treat any code following these UBSan handler calls as dead code, it allows for significant optimizations, such as removing redundant UBSan checks and not needing to worry about saving volatile registers before calling these. Generation of this kind of instrumentation can be enabled with `-fsanitize=undefined -fno-sanitize-recover=undefined`. Build system support will come in a separate PR. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
UBSanitizer.cpp |