Displaying 2 results from an estimated 2 matches for "1ae013e6".
2014 Dec 20
2
[LLVMdev] [cfe-dev] ubsan - active member check for unions
...ers will find
> such errors useless.
Well, given that this is the bug that the sanitizer is built to detect,
such maintainers should not turn it on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141219/1ae013e6/attachment.html>
2014 Dec 18
2
[LLVMdev] ubsan - active member check for unions
On 12/16/2014 02:43 AM, Yury Gribov wrote:
> On 12/15/2014 10:24 PM, Ismail Pazarbasi wrote:
>> s.d = 42.0;
>> if (s.l > 100) // fire here
>
> Note that code like this is frequently used to convert integers to
> floats so you'll get tons of false positives.
True positives. The fix is to use memcpy instead.
Emitting error for
> accessing differently