[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suppressing sanitizer in sha256.c

From: Bruno Haible
Subject: Re: Suppressing sanitizer in sha256.c
Date: Tue, 03 Apr 2018 23:45:25 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-116-generic; KDE/5.18.0; x86_64; ; )

Eric Blake wrote:
> What are the clang developers using as their justification
> for this warning?

Quoting the clang documentation [1]:

   Unsigned integer overflows. Note that unlike signed integer overflow,
   unsigned integer is not undefined behavior. However, while it has well-
   defined semantics, it is often unintentional, so UBSan offers to catch it."


[1] https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]