[PATCH] D98798: Produce warning for performing pointer arithmetic on a null pointer.

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 3 16:31:48 PDT 2021


nickdesaulniers added a comment.

In D98798#2734598 <https://reviews.llvm.org/D98798#2734598>, @xbolva00 wrote:

> Maybe Nick could try this patch with linux kernel?

Yes! Thank you of thinking of me for this; we're currently sorting issues identified by this warning (as implemented today, for addition only IIUC) in:
https://lore.kernel.org/lkml/20210430111641.1911207-1-schnelle@linux.ibm.com/

I ran out of time today, but I'll give this a shot tomorrow and see if this catches anything that looks like a false positive.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98798/new/

https://reviews.llvm.org/D98798



More information about the cfe-commits mailing list