]> granicus.if.org Git - clang/commit
ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Feb 2013 02:53:19 +0000 (02:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Feb 2013 02:53:19 +0000 (02:53 +0000)
commita0a628f839cf50844cc0f226bd9cb72485f98f91
tree321e7ec506b6d97ff2d46889c5dbe7eb3ed4f505
parent1c8278b4bc83fafd29eead80ff4e5814fce7fd9b
ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple cases) pointer arithmetic. This augments the existing bounds checking with language-level array bounds information.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175949 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenFunction.h
lib/Driver/SanitizerArgs.h
test/CodeGenCXX/catch-undef-behavior.cpp
test/Driver/darwin-sanitizer-ld.c
test/Driver/ubsan-ld.c