mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
CI: Enable more verbose and strict sanitizer options
Options shamelessly stolen from this article on systemd's website: https://systemd.io/TESTING_WITH_SANITIZERS/ We make ASAN more strict and tell UBSAN to print more verbose output on failure. One of the more interesting ASAN options, detect_stack_use_after_return, sadly causes both UBSAN and ASAN failures in test-js.
This commit is contained in:
parent
6837634f31
commit
d3af011562
Notes:
sideshowbarker
2024-07-18 17:29:04 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/d3af011562a Pull-request: https://github.com/SerenityOS/serenity/pull/7424
1 changed files with 3 additions and 1 deletions
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
|
@ -242,7 +242,9 @@ jobs:
|
|||
timeout-minutes: 4
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
UBSAN_OPTIONS: "halt_on_error=1"
|
||||
# FIXME: enable detect_stack_use_after_return=1 #7420
|
||||
ASAN_OPTIONS: "strict_string_checks=1:check_initialization_order=1:strict_init_order=1"
|
||||
UBSAN_OPTIONS: "print_stacktrace=1:print_summary=1:halt_on_error=1"
|
||||
if: ${{ matrix.with-fuzzers == 'NO_FUZZ' }}
|
||||
|
||||
notify_irc:
|
||||
|
|
Loading…
Reference in a new issue