summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/IntEqClasses.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-12-28 15:24:16 +0000
committerKostya Serebryany <kcc@google.com>2012-12-28 15:24:16 +0000
commitcb510e50e2c8d2b8b54e0bd221e3ce0881827544 (patch)
treeecaac7fd8599de0f4f73a5479cb9cc714f3d0145 /llvm/lib/Support/IntEqClasses.cpp
parent405d6813402cf933ef171b06dac8a86550eaee3c (diff)
downloadbcm5719-llvm-cb510e50e2c8d2b8b54e0bd221e3ce0881827544.tar.gz
bcm5719-llvm-cb510e50e2c8d2b8b54e0bd221e3ce0881827544.zip
[asan] implement more strict checking for memset/etc parameters. Instead of checking the first and the last byte, we check the entire shadow region. This costs ~10 slowdown for the instrumented functions. Motivated by a nasty memset-buffer-overflow-by-140-bytes in chrome which was reported as a use-after-free or not at all
llvm-svn: 171198
Diffstat (limited to 'llvm/lib/Support/IntEqClasses.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud