Filipe Cabecinhas
3ccd23e116
Use %run for running CFI tests
...
Reviewers: pcc, krasin, eugenis
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D38412
llvm-svn: 314659
2017-10-02 10:21:26 +00:00
Peter Collingbourne
c79ad577fb
cfi: Start testing CFI in both standalone and devirtualization modes.
...
Differential Revision: http://reviews.llvm.org/D21123
llvm-svn: 273758
2016-06-25 00:24:22 +00:00
Peter Collingbourne
ea087056ae
CFI: Update tests for various bit vector sizes following lowerbitsets optzns.
...
Also add a test to ensure that this doesn't regress.
Differential Revision: http://reviews.llvm.org/D11584
llvm-svn: 243547
2015-07-29 18:12:45 +00:00
Peter Collingbourne
702548d9ea
CFI: Get check-cfi passing on Windows.
...
Specifically:
- Start using %expect_crash.
- Provide an implementation of __ubsan::getDynamicTypeInfoFromVtable
for the Microsoft C++ ABI. This is all that is needed for CFI
diagnostics; UBSan's -fsanitize=vptr also requires an implementation of
__ubsan::checkDynamicType.
- Build the sanitizer runtimes against the release version of the C
runtime, even in debug builds.
- Accommodate demangling differences in tests.
Differential Revision: http://reviews.llvm.org/D11029
llvm-svn: 241745
2015-07-08 22:10:34 +00:00
Alexey Samsonov
a084e16e4b
[CFI] Run tests that use cfi diagnostic mode only if cxxabi parts of UBSan are available.
...
llvm-svn: 240671
2015-06-25 18:45:30 +00:00
Peter Collingbourne
175d633271
Add control flow integrity diagnosis function to UBSan runtime library.
...
Also includes execution tests for the feature.
Differential Revision: http://reviews.llvm.org/D10269
llvm-svn: 240111
2015-06-19 01:52:55 +00:00
Peter Collingbourne
f1d13da249
CFI: Add tests for 32-bit, 64-bit and memory bitsets. Break optimization in more places.
...
llvm-svn: 230116
2015-02-21 01:36:08 +00:00
Peter Collingbourne
e0c4f7eb81
Add test suite for the Control Flow Integrity feature.
...
Differential Revision: http://reviews.llvm.org/D7738
llvm-svn: 230056
2015-02-20 20:31:18 +00:00