Skip to content

Commit d42f775

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
# Test hat debug build works fine
9393
EXPLICIT_MAKE_VARS="DEBUG=1"
9494
elif [ "${{ matrix.python-ruby-version.other }}" = "sanitizers" ] ; then
95-
sanitizers='-fsanitize=address,undefined'
95+
sanitizers='-fsanitize=address,undefined -fsanitize-address-use-after-scope -fno-omit-frame-pointer'
9696
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'"
9797
echo "ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" >> $GITHUB_ENV
9898
echo "UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1" >> $GITHUB_ENV

0 commit comments

Comments
 (0)