aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-11-16 19:58:17 +0000
committerAnna Zaks <ganna@apple.com>2011-11-16 19:58:17 +0000
commit9b0970f2c7fdc070b18e113f0bbd96e7f77b4f54 (patch)
tree0a9158cf1321a76cc4694cd93846f8d8a23d83f9 /include/clang/Basic/SourceManager.h
parentdf18c5ae6c48d3b56f7f9550875c53dc46eb8d78 (diff)
[analyzer] Catch the first taint propagation implied buffer overflow.
Change the ArrayBoundCheckerV2 to be more aggressive in reporting buffer overflows when the offset is tainted. Previously, we did not report bugs when the state was underconstrained (not enough information about the bound to determine if there is an overflow) to avoid false positives. However, if we know that the buffer offset is tainted - comes in from the user space and can be anything, we should report it as a bug. + The very first example of us catching a taint related bug. This is the only example we can currently handle. More to come... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
0 files changed, 0 insertions, 0 deletions