dtcxzyw wrote:

> Usually we'd want to also insert `-fsanitize=pointer-overflow` 
> instrumentation in places where we respect `-fwrapv-pointer`. I'm not 
> entirely sure whether we want to do this here, as it will probably blow up 
> the amount of inserted instrumentation for little benefit...

A struct GEP is unlikely to overflow. But a null check should be useful.


https://github.com/llvm/llvm-project/pull/134269
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to