[PATCH] D25199: [ubsan] Sanitize deleted pointers

Kostya Serebryany via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 14:40:16 PDT 2016


kcc added a comment.

>>   will just crash without further reporting

I agree, and we can address that by having special logic in ubsan's segv handler. 
This does not have to be in this patch.

Also, I am not sure about the actual constant. 
DEADBEEF is commonly recognized poison valued, but on a 32-bit system it may actually be a valid pointer.


https://reviews.llvm.org/D25199





More information about the cfe-commits mailing list