Skip to content

Commit 88289d7

Browse files
committed
ci: add ubsan suppression for simplicity sha256.c
ubsan detects when a left shift would overflow an integer type. This is not UB (it would be if you tried to shift more than the type's width in one shot) but "may be unintentional" and is therefore detected. Add a whitelist to the giant list of whitelists.
1 parent e0d7097 commit 88289d7

File tree

1 file changed

+1
-0
lines changed
  • test/sanitizer_suppressions

1 file changed

+1
-0
lines changed

test/sanitizer_suppressions/ubsan

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ implicit-integer-sign-change:blech32.cpp
7979
implicit-integer-sign-change:primitives/block.h
8080
implicit-integer-sign-change:primitives/confidential.cpp
8181
implicit-integer-sign-change:primitives/confidential.h
82+
shift-base:simplicity/sha256.c

0 commit comments

Comments
 (0)