History log of /external/compiler-rt/lib/ubsan/ubsan_handlers.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9b5f95f5fe1a24be4dfb7436b64cb0e0f8c00535 20-Oct-2013 Peter Collingbourne <peter@pcc.me.uk> Runtime support for the indirect function call checker.

Differential Revision: http://llvm-reviews.chandlerc.com/D1339

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
d1bf52ecb1211af7fa3fe5f5b05d08033eb1a90c 02-Oct-2013 Nick Lewycky <nicholas@mxc.ca> Make the InvalidValueData take a SourceLocation.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
a0b1e21d72429c3672115b3ddc85240e3b7ac88b 23-Feb-2013 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: Runtime handlers for array indexing checks.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
45a8124a70fa720756c4c40d741b588172879bb7 13-Feb-2013 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11,
base-to-derived casts have undefined behavior if the object is not actually an
instance of the derived type. Runtime library part.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
2af552f98f980178db37eed28a609b6bf55f6df8 09-Jan-2013 Will Dietz <wdietz2@illinois.edu> [ubsan] Add deduplication functionality, always enabled.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
f359dea95de4a17287d11052e9b552100c152287 31-Dec-2012 Will Dietz <wdietz2@illinois.edu> [ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow.

Fixed version of r171273.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
9202515bf430858117d117d98136a865feb1a281 31-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Revert r171273 which doesn't actually compile.

Original commit message:
[ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
7ba7f0d7f2df4a55e376b0477fc3268a82588bf3 31-Dec-2012 Will Dietz <wdietz2@illinois.edu> [ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171273 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
25ee97fe8ada76755c8bd1087fac9cc3cd03b28c 18-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: When diagnosing something wrong somewhere in memory, emit a note
pointing at the bad location and a snippet of nearby memory values. This is
strictly best-effort; reading these bytes to display the note could lead to a
seg fault, and that's explicitly OK.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170415 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
5f1164955fb28a9bcb826abc195aa2119feb0f97 18-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: if the frontend didn't provide us with a source location, try to work
one out from the return address. Currently, we can only resolve this address to
a file and line number if we have an external symbolizer.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170407 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
f2d77d03b75733139c9f0896162bbc7a6fc38385 13-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of
bit-patterns which are not valid values for enumerated or boolean types.
These checks are the ubsan analogue of !range metadata.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
a82a5d360b19080f2b1beae374c12d4f26146450 02-Dec-2012 Will Dietz <wdietz2@illinois.edu> [ubsan] Refactor handlers to have separate entry points for aborting.

If user specifies aborting after a recoverable failed check is
appropriate, frontend should emit call to the _abort variant.

Test this behavior with newly added -fsanitize-recover flag.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
80af605afd0e92a2a128c81898f647207f384e08 27-Nov-2012 Will Dietz <wdietz2@illinois.edu> ubsan: Support unsigned overflows, and divide-by-zero int/float split.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
f4932204d7cf89cc2402b1e30fb728cf84ff7b7f 14-Nov-2012 Richard Smith <richard-llvm@metafoo.co.uk> -fsanitize=undefined: Switch to using sanitizer_common for output. This gets us much closer to not depending on any system headers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
eda8bd0fc07df35c9ad7de5b698bb717b063e7af 25-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> -fcatch-undefined-behavior checking for appropriate vptr value: library side.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
58561700a4abad310911a24a867da49a14fae91e 13-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> -fcatch-undefined-behavior: Runtime library support for trapping conversions to or
from a floating-point type where the source value is not in the range of
representable values of the destination type.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
b04caf1385a4279a7b95d41c3ccefc61842c3633 10-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> -fcatch-undefined-behavior: handler for VLA bound which evaluates to a non-positive value.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc
6ebe45146a2d93eb010b9bb5ea34cb94c6900f83 09-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> Add a runtime diagnostics library for Clang's -fcatch-undefined-behavior.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers.cc