Skip to content

Commit

Permalink
ci: Run asan and add more sanitizer/valgrind jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed May 14, 2021
1 parent bf0ac46 commit b80e84f
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,30 @@ task:
- env: {CPPFLAGS: -DDETERMINISTIC}
- env: {CFLAGS: -O0, CTIMETEST: no}
- env:
CFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer"
LDFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer"
CFLAGS: "-fsanitize=undefined,address"
LDFLAGS: "-fsanitize=undefined,address"
CFLAGS_FOR_BUILD: "-fsanitize=undefined,address"
LDFLAGS_FOR_BUILD: "-fsanitize=undefined,address"
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
ASAN_OPTIONS: "strict_string_checks=1:detect_stack_use_after_return=1:detect_leaks=1"
LSAN_OPTIONS: "use_unaligned=0"
ASM: x86_64
STATICPRECOMPUTATION: yes
ECDH: yes
RECOVERY: yes
EXPERIMENTAL: yes
SCHNORRSIG: yes
CTIMETEST: no
- env:
CFLAGS: "-fsanitize=undefined,address"
LDFLAGS: "-fsanitize=undefined,address"
CFLAGS_FOR_BUILD: "-fsanitize=undefined,address"
LDFLAGS_FOR_BUILD: "-fsanitize=undefined,address"
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
ASAN_OPTIONS: "strict_string_checks=1:detect_stack_use_after_return=1:detect_leaks=1"
LSAN_OPTIONS: "use_unaligned=0"
ASM: no
STATICPRECOMPUTATION: no
ECDH: yes
RECOVERY: yes
EXPERIMENTAL: yes
Expand All @@ -78,6 +98,17 @@ task:
- env:
RUN_VALGRIND: yes
ASM: x86_64
STATICPRECOMPUTATION: no
ECDH: yes
RECOVERY: yes
EXPERIMENTAL: yes
SCHNORRSIG: yes
EXTRAFLAGS: "--disable-openssl-tests"
BUILD:
- env:
RUN_VALGRIND: yes
ASM: no
STATICPRECOMPUTATION: yes
ECDH: yes
RECOVERY: yes
EXPERIMENTAL: yes
Expand Down

0 comments on commit b80e84f

Please sign in to comment.