Skip to content

Commit

Permalink
Enable stricter address sanitizer checks and be more verbose on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Sep 6, 2024
1 parent 2961726 commit 316f1c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ jobs:
- name: Setup Test
run: cd test/setup && ./setup
- name: Test
run: cd build && ./unit
run: |
export ASAN_OPTIONS=fast_unwind_on_malloc=0:strict_string_checks=1:detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
export UBSAN_OPTIONS=print_stacktrace=1
cd build && ./unit

0 comments on commit 316f1c5

Please sign in to comment.