Skip to content

Commit c6312d3

Browse files
ci: Add job with -fsanitize-memory-param-retval
1 parent 9c6f975 commit c6312d3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -485,18 +485,24 @@ jobs:
485485
matrix:
486486
configuration:
487487
- env_vars:
488+
CTIMETESTS: 'yes'
488489
CFLAGS: '-fsanitize=memory -fsanitize-recover=memory -g'
489490
- env_vars:
490491
ECMULTGENKB: 2
491492
ECMULTWINDOW: 2
493+
CTIMETESTS: 'yes'
492494
CFLAGS: '-fsanitize=memory -fsanitize-recover=memory -g -O3'
495+
- env_vars:
496+
# -fsanitize-memory-param-retval is clang's default, but our build system disables it
497+
# when ctime_tests when enabled.
498+
CFLAGS: '-fsanitize=memory -fsanitize-recover=memory -fsanitize-memory-param-retval -g'
499+
CTIMETESTS: 'no'
493500

494501
env:
495502
ECDH: 'yes'
496503
RECOVERY: 'yes'
497504
SCHNORRSIG: 'yes'
498505
ELLSWIFT: 'yes'
499-
CTIMETESTS: 'yes'
500506
CC: 'clang'
501507
SECP256K1_TEST_ITERS: 32
502508
ASM: 'no'

0 commit comments

Comments
 (0)