Pointer Overflow Checking is in LLVM
https://blog.regehr.org/archives/1518 [blog.regehr.org]
2017-06-05 15:02
Today’s quick post is about another piece of the puzzle that very recently landed in LLVM: pointer overflow checking. At the machine level a pointer overflow looks just like an unsigned integer overflow, but of course at the language level the overflowing operation is pointer arithmetic, not unsigned integer arithmetic.
Been floating around for a while. See also: https://wdtz.org/catching-pointer-overflow-bugs.html