[ubsan] nonnull and returns_nonnull sanitization

Alexey Samsonov vonosmas at gmail.com
Tue Jul 29 19:43:33 PDT 2014


Once again, sorry for the delay =/

I hope to get to this patch this/next week.


On Tue, Jul 1, 2014 at 6:41 PM, Chandler Carruth <chandlerc at google.com>
wrote:

>
> On Tue, Jul 1, 2014 at 6:33 PM, Richard Trieu <rtrieu at google.com> wrote:
>
>> -Wnonnull already warns when it is known at compiler time that a null is
>> used in these places.  Nick will know if Clang marks parameters and return
>> values as non-null for optimization purposes.
>
>
> The key would be to annotate them with non-null UBSan checks even if we
> aren't sufficiently confident to do so for the optimizer.
>



-- 
Alexey Samsonov
vonosmas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140729/7c18b30e/attachment.html>


More information about the llvm-commits mailing list