Skip to content

Commit 0616138

Browse files
tests: Remove no longer needed UBSan suppressions (issues fixed). Add documentation.
1 parent a22b624 commit 0616138

File tree

1 file changed

+11
-2
lines changed
  • test/sanitizer_suppressions

1 file changed

+11
-2
lines changed

test/sanitizer_suppressions/ubsan

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1+
# -fsanitize=undefined suppressions
2+
# =================================
13
alignment:move.h
24
alignment:prevector.h
3-
bool:wallet/wallet.cpp
45
float-divide-by-zero:policy/fees.cpp
56
float-divide-by-zero:validation.cpp
67
float-divide-by-zero:wallet/wallet.cpp
8+
9+
# -fsanitize=integer suppressions
10+
# ===============================
11+
# Unsigned integer overflow occurs when the result of an unsigned integer
12+
# computation cannot be represented in its type. Unlike signed integer overflow,
13+
# this is not undefined behavior, but it is often unintentional. The list below
14+
# contains files in which we expect unsigned integer overflows to occur. The
15+
# list is used to suppress -fsanitize=integer warnings when running our CI UBSan
16+
# job.
717
unsigned-integer-overflow:arith_uint256.h
818
unsigned-integer-overflow:basic_string.h
919
unsigned-integer-overflow:bench/bench.h
@@ -32,4 +42,3 @@ unsigned-integer-overflow:stl_bvector.h
3242
unsigned-integer-overflow:txmempool.cpp
3343
unsigned-integer-overflow:util/strencodings.cpp
3444
unsigned-integer-overflow:validation.cpp
35-
vptr:fs.cpp

0 commit comments

Comments
 (0)