]> granicus.if.org Git - clang/commit
[Docs] Clarify what the object-size sanitizer does.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 25 Apr 2016 19:21:45 +0000 (19:21 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 25 Apr 2016 19:21:45 +0000 (19:21 +0000)
commit6c512830d2ff9f1d9fcf308312fdb3843f17ee59
treef8edc4bee2e9ea1c83c2707cfd79fda91d41d1b2
parent035ee855a953dff86738871f84b0e92627632d76
[Docs] Clarify what the object-size sanitizer does.

Currently, the UBSan docs make it sound like the object-size sanitizer
will only detect out-of-bounds reads/writes. It also catches some
operations that don't necessarily access memory (invalid downcasts,
calls of methods on invalid pointers, ...). This patch adds a note
about this behavior in the docs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267447 91177308-0d34-0410-b5e6-96231b3b80d8
docs/UndefinedBehaviorSanitizer.rst