CI: Enable detect_stack_use_after_return ASAN option

This commit is contained in:
Andrew Kaster 2023-06-30 20:53:34 -06:00 committed by Andreas Kling
parent 31440687a3
commit e0cf52b024
Notes: sideshowbarker 2024-07-17 03:25:24 +09:00

View file

@ -146,8 +146,7 @@ jobs:
env: env:
SERENITY_SOURCE_DIR: '$(Build.SourcesDirectory)' SERENITY_SOURCE_DIR: '$(Build.SourcesDirectory)'
CTEST_OUTPUT_ON_FAILURE: 1 CTEST_OUTPUT_ON_FAILURE: 1
# FIXME: enable detect_stack_use_after_return=1 #7420 ASAN_OPTIONS: 'strict_string_checks=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1'
ASAN_OPTIONS: 'strict_string_checks=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=0'
UBSAN_OPTIONS: 'print_stacktrace=1:print_summary=1:halt_on_error=1' UBSAN_OPTIONS: 'print_stacktrace=1:print_summary=1:halt_on_error=1'
- ${{ if and(eq(parameters.fuzzer, 'NoFuzz'), eq(parameters.os, 'Linux') ) }}: - ${{ if and(eq(parameters.fuzzer, 'NoFuzz'), eq(parameters.os, 'Linux') ) }}: