Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Sanitizer] Fix OnPrint weak hook. Disable weak hooks for gotsan. | Alexey Samsonov | 2013-04-03 | 1 | -6/+6 | |
| | | | | llvm-svn: 178640 | |||||
* | asan/tsan: change SANITIZER_GO to more general SANITIZER_SUPPORTS_WEAK_HOOKS | Dmitry Vyukov | 2013-03-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 178009 | |||||
* | asan/tsan: add Printf/Report hook | Dmitry Vyukov | 2013-03-25 | 1 | -4/+17 | |
| | | | | | | The hook can be overriden in frontend to print to e.g. a file. llvm-svn: 177864 | |||||
* | Break a >80 char line. | Evgeniy Stepanov | 2013-03-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 176937 | |||||
* | [ASan] Reduce the local buffer size in Report() not to fail the check ↵ | Alexander Potapenko | 2013-03-11 | 1 | -2/+5 | |
| | | | | | | enforced when building TSan runtime. llvm-svn: 176804 | |||||
* | [ASan] Try to use a small (512 bytes) stack-local buffer in Report() for ↵ | Alexander Potapenko | 2013-03-11 | 1 | -13/+42 | |
| | | | | | | | | short messages, fall back to MmapOrDie() in the case of a failure. This shall eliminate most of the cryptic "ERROR: failed to mmap" messages caused by recursively calling MmapOrDie() from MmapOrDie(). llvm-svn: 176802 | |||||
* | Don't escape %s in printf usage message; it's not written by printf. | Richard Smith | 2012-12-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 170413 | |||||
* | [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵ | Kostya Serebryany | 2012-11-21 | 1 | -1/+1 | |
| | | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424 | |||||
* | [Sanitizer] replace while with internal_memset to make sure compiler won't ↵ | Alexey Samsonov | 2012-11-21 | 1 | -1/+6 | |
| | | | | | | replace it with library memset llvm-svn: 168422 | |||||
* | -fsanitize=undefined: Switch to using sanitizer_common for output. This gets ↵ | Richard Smith | 2012-11-13 | 1 | -14/+30 | |
| | | | | | | us much closer to not depending on any system headers. llvm-svn: 167888 | |||||
* | [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common | Alexey Samsonov | 2012-11-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 167294 | |||||
* | [asan] fix the va_arg usage | Kostya Serebryany | 2012-09-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 163879 | |||||
* | [asan] add asan option log_path=PATH to let users redirect asan reports to a ↵ | Kostya Serebryany | 2012-09-14 | 1 | -1/+6 | |
| | | | | | | file PATH.PID instead of stderr llvm-svn: 163872 | |||||
* | [asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap ↵ | Kostya Serebryany | 2012-08-29 | 1 | -12/+11 | |
| | | | | | | inseted of InternalAlloc in InternalScopedBuffer llvm-svn: 162834 | |||||
* | [asan] get rid of AsanPrintf in favor of Printf from sanitizer_common | Kostya Serebryany | 2012-08-28 | 1 | -0/+9 | |
| | | | | llvm-svn: 162746 | |||||
* | [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to ↵ | Alexey Samsonov | 2012-06-19 | 1 | -2/+2 | |
| | | | | | | sanitizer libc) llvm-svn: 158710 | |||||
* | [Sanitizer] Switch to common mmap/munmap routines in ASan run-time. | Alexey Samsonov | 2012-06-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 158078 | |||||
* | [Sanitizer]: Introduce a common internal printf function. For now, also use ↵ | Alexey Samsonov | 2012-06-06 | 1 | -0/+185 | |
tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). llvm-svn: 158065 |