Skip to content

Commit cf3294c

Browse files
committed
Add ASan to Fulminate CI
1 parent f0aa212 commit cf3294c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/libcn/libexec/cn-runtime-single-file.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ while getopts "hnqu" flag; do
2424
QUIET=1
2525
;;
2626
u)
27+
export ASAN_OPTIONS="allocator_may_return_null=1:detect_leaks=0"
2728
export UBSAN_OPTIONS=halt_on_error=1
28-
export CFLAGS="-fsanitize=undefined ${CFLAGS:-}"
29+
export CFLAGS="-fsanitize=address,undefined ${CFLAGS:-}"
2930
;;
3031
\?)
3132
echo_and_err "${USAGE}"

0 commit comments

Comments
 (0)