Renato Golin
341d42c270
[AArch64|DFSAN] XPASS custom.cc, as it got fixed by r243686
...
llvm-svn: 243743
2015-07-31 10:50:29 +00:00
Adhemerval Zanella
4e3b4ac241
[dfsan] Enable dfsan for aarch64
...
This patch enable DFSan for AArch64 (39-bit VMA). All tests are passing
but:
* test/dfsan/custom.cc
Due an invalid access in dl_iterate_phdr instrumentation (commenting out
this function make the testcase to pass). The test is XFAIL for aarch64
for now.
llvm-svn: 243688
2015-07-30 21:13:21 +00:00
Lorenzo Martignoni
4879003022
Extend s{,n}printf custom wrappers to support '*' in the format specifiers
...
Differential Revision: http://reviews.llvm.org/D8966
llvm-svn: 234633
2015-04-10 20:58:28 +00:00
Peter Collingbourne
8f9a3f2d7e
Revert r234477, "Differential Revision: http://reviews.llvm.org/D7249 "
...
Should unbreak fuzzer buildbot.
llvm-svn: 234542
2015-04-09 22:42:01 +00:00
Lorenzo Martignoni
59886f3c1a
Differential Revision: http://reviews.llvm.org/D7249
...
llvm-svn: 234477
2015-04-09 11:42:33 +00:00
Alexey Samsonov
3e40703ab5
[DFSan] Remove explicit -m64 from RUN lines.
...
Target-specific flags should usually be configured by CMake/lit.
llvm-svn: 230997
2015-03-02 19:34:06 +00:00
Lorenzo Martignoni
101f1d82ff
[DFSan] Add flag to dump the labels when the program terminates.
...
Differential Revision: http://reviews.llvm.org/D6306
llvm-svn: 222425
2014-11-20 10:01:08 +00:00
Peter Collingbourne
f20091118c
[dfsan] Add runtime function for aborting on indirect calls to
...
uninstrumented vararg functions.
llvm-svn: 221364
2014-11-05 17:21:11 +00:00
Peter Collingbourne
b190e1b74b
Update __dfsw_s{,n}printf custom functions for new calling convention.
...
Differential Revision: http://reviews.llvm.org/D6029
llvm-svn: 220907
2014-10-30 13:23:01 +00:00
Lorenzo Martignoni
60ebffc12f
Custom wrappers for DFSanitizing sprintf & snprintf.
...
Differential Revision: http://reviews.llvm.org/D5561
llvm-svn: 219293
2014-10-08 10:01:42 +00:00
Peter Collingbourne
8501e39a85
[dfsan] Fix the declaration of dfsan_add_label.
...
llvm-svn: 210202
2014-06-04 17:54:51 +00:00
Greg Fitzgerald
b8aae5405b
Add %run to all lit tests
...
llvm-svn: 207709
2014-04-30 21:34:17 +00:00
Peter Collingbourne
16f2f18105
Add user-defined callback on write() calls.
...
Add dfsan_set_write_callback(), which sets a callback to be invoked when
a write() call is invoked within DFSan instrumented code.
Patch by Sam Kerner!
Differential Revision: http://reviews.llvm.org/D3268
llvm-svn: 207131
2014-04-24 17:42:16 +00:00
Peter Collingbourne
5d167dae7d
Add function to get the number of DFSan labels allocated.
...
Expose the number of DFSan labels allocated by adding function dfsan_get_label_count().
Patch by Sam Kerner!
Differential Revision: http://llvm-reviews.chandlerc.com/D3109
llvm-svn: 204854
2014-03-26 21:09:53 +00:00
Alexey Samsonov
5e6d83258e
[CMake] lit tests shouldn't depend on runtimes in standalone build
...
llvm-svn: 201771
2014-02-20 09:47:18 +00:00
Alexey Samsonov
31043152d3
Add rudimentary support for running compiler-rt lit tests with GCC
...
llvm-svn: 201680
2014-02-19 15:13:14 +00:00
Alexey Samsonov
1c9b9bcb5c
Simplify defining Clang compile flags in lit configs
...
llvm-svn: 201513
2014-02-17 13:08:10 +00:00
Alexey Samsonov
f6cf6ab53b
Move DFSan test suite under test/
...
llvm-svn: 201403
2014-02-14 12:05:41 +00:00