ubsan raw

   1  # Suppressions should use `sanitize-type:ClassName::MethodName`.
   2  
   3  # -fsanitize=undefined suppressions
   4  # =================================
   5  
   6  # -fsanitize=integer suppressions
   7  # ===============================
   8  # Dependencies
   9  # ------------
  10  # Suppressions in dependencies that are developed outside this repository.
  11  unsigned-integer-overflow:*/include/c++/
  12  unsigned-integer-overflow:FuzzedDataProvider::ConsumeIntegralInRange
  13  unsigned-integer-overflow:leveldb/
  14  unsigned-integer-overflow:minisketch/
  15  unsigned-integer-overflow:secp256k1/
  16  unsigned-integer-overflow:test/fuzz/crypto_diff_fuzz_chacha20.cpp
  17  implicit-integer-sign-change:*/include/boost/
  18  implicit-integer-sign-change:*/include/c++/
  19  implicit-integer-sign-change:*/new_allocator.h
  20  implicit-integer-sign-change:crc32c/
  21  implicit-integer-sign-change:minisketch/
  22  implicit-integer-sign-change:secp256k1/
  23  implicit-signed-integer-truncation:*/include/c++/
  24  implicit-signed-integer-truncation:leveldb/
  25  implicit-signed-integer-truncation:secp256k1/
  26  implicit-signed-integer-truncation,implicit-integer-sign-change:secp256k1_modinv64_posdivsteps_62_var
  27  implicit-unsigned-integer-truncation:*/include/c++/
  28  implicit-unsigned-integer-truncation:leveldb/
  29  implicit-unsigned-integer-truncation:secp256k1/
  30  implicit-unsigned-integer-truncation:test/fuzz/crypto_diff_fuzz_chacha20.cpp
  31  shift-base:*/include/c++/
  32  shift-base:leveldb/
  33  shift-base:minisketch/
  34  shift-base:secp256k1/
  35  shift-base:test/fuzz/crypto_diff_fuzz_chacha20.cpp
  36  # Unsigned integer overflow occurs when the result of an unsigned integer
  37  # computation cannot be represented in its type. Unlike signed integer overflow,
  38  # this is not undefined behavior, but it is often unintentional. The list below
  39  # contains files in which we expect unsigned integer overflows to occur. The
  40  # list is used to suppress -fsanitize=integer warnings when running our CI UBSan
  41  # job.
  42  unsigned-integer-overflow:arith_uint256.h
  43  unsigned-integer-overflow:CBloomFilter::Hash
  44  unsigned-integer-overflow:CRollingBloomFilter::insert
  45  unsigned-integer-overflow:RollingBloomHash
  46  unsigned-integer-overflow:CCoinsViewCache::AddCoin
  47  unsigned-integer-overflow:CCoinsViewCache::BatchWrite
  48  unsigned-integer-overflow:CCoinsViewCache::DynamicMemoryUsage
  49  unsigned-integer-overflow:CCoinsViewCache::SpendCoin
  50  unsigned-integer-overflow:CCoinsViewCache::Uncache
  51  unsigned-integer-overflow:CompressAmount
  52  unsigned-integer-overflow:DecompressAmount
  53  unsigned-integer-overflow:crypto/
  54  unsigned-integer-overflow:MurmurHash3
  55  unsigned-integer-overflow:CBlockPolicyEstimator::processBlockTx
  56  unsigned-integer-overflow:TxConfirmStats::EstimateMedianVal
  57  unsigned-integer-overflow:prevector.h
  58  unsigned-integer-overflow:InsecureRandomContext::rand64
  59  unsigned-integer-overflow:InsecureRandomContext::SplitMix64
  60  unsigned-integer-overflow:bitset_detail::PopCount
  61  implicit-integer-sign-change:CBlockPolicyEstimator::processBlockTx
  62  implicit-integer-sign-change:SetStdinEcho
  63  implicit-integer-sign-change:compressor.h
  64  implicit-integer-sign-change:crypto/
  65  implicit-integer-sign-change:TxConfirmStats::removeTx
  66  implicit-integer-sign-change:prevector.h
  67  implicit-integer-sign-change:verify_flags
  68  implicit-integer-sign-change:EvalScript
  69  implicit-integer-sign-change:serialize.h
  70  implicit-signed-integer-truncation:crypto/
  71  implicit-unsigned-integer-truncation:crypto/
  72  shift-base:arith_uint256.cpp
  73  shift-base:crypto/
  74  shift-base:streams.h
  75  shift-base:FormatHDKeypath
  76  shift-base:InsecureRandomContext::rand64
  77  shift-base:RandomMixin<*>::randbits
  78  shift-base:RandomMixin<*>::randbits<*>
  79