Skip to content

Commit dffa22d

Browse files
committed
ci: use -fsanitize-address-use-after-scope in sanitizer job
Signed-off-by: Christian Göttsche <[email protected]>
1 parent 88ddf82 commit dffa22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
# Test hat debug build works fine
102102
EXPLICIT_MAKE_VARS="DEBUG=1"
103103
elif [ "${{ matrix.python-ruby-version.other }}" = "sanitizers" ] ; then
104-
sanitizers='-fsanitize=address,undefined'
104+
sanitizers='-fsanitize=address,undefined -fsanitize-address-use-after-scope -fno-omit-frame-pointer'
105105
EXPLICIT_MAKE_VARS="CFLAGS='-g -I$DESTDIR/usr/include $sanitizers' LDFLAGS='-L$DESTDIR/usr/lib $sanitizers' LDLIBS= CPPFLAGS= OPT_SUBDIRS='dbus gui mcstrans restorecond semodule-utils'"
106106
echo "ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" >> $GITHUB_ENV
107107
echo "UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1" >> $GITHUB_ENV

0 commit comments

Comments
 (0)