summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/scripts
AgeCommit message (Collapse)Author
2013-11-21Implement a bunch of custom glibc wrappers & corresponding tests.Peter Collingbourne
- Introduce several new custom glibc wrappers - Implement some of the not yet implemented wrappers - Refactor and extend the tests - Add script to make sure all declare custom glibc wrappers are implemented & tested. Patch by Lorenzo Martignoni! Differential Revision: http://llvm-reviews.chandlerc.com/D2234 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195381 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-15[asan] helper script to dump/merge coverage dataKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194809 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-26[Sanitizer] Add pthread_attr_getaffinity_np to the list of versioned functionsAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193470 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-16[Sanitizer] Fix lint checker script on MacAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192791 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-15tsan: do not leave trash source files in source dirDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192700 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-20[libsanitizer] Pass an explicit template to mktemp. Running mktemp without a ↵Alexander Potapenko
template doesn't work on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191084 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-20[Sanitizer] Add pthread_cond_init to the list of versioned functionsAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191078 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-29Minor updates to gen_dynamic_list script suggested by gliderAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189588 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-29[sanitizer] Parallelize lint checker scriptAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189578 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-28sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.Will Dietz
Fixes build on systems where 'python' is not python2. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189486 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-28Make lint checker script more robustAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189479 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-28Check code style in check-sanitizer commandAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189475 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-27Properly generate lists of exported symbols for sanitizer runtimesAlexey Samsonov
This change adds a Python script that is invoked for the just-built sanitizer runtime to generate the list of exported symbols passed to the linker. By default, it contains interceptors and sanitizer interface functions, but can be extended with tool-specific lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189356 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-23Slightly improve lint checker script and fix a few style issuesAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189092 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-13Add a FIXME to check_lintTimur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188266 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-05Lint fixesAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187726 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-11[Sanitizer] support running external llvm-symbolizer on MacAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183730 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-29[lsan] Convert the remaining LSan tests to output tests.Sergey Matveev
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182839 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-27[lsan] Begin converting LSan tests to output tests.Sergey Matveev
In this CL all old tests are removed and one LIT test is added. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182730 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-20[lsan] Tests for LeakSanitizer.Sergey Matveev
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182250 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-22[sanitizer] Fix lint.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180012 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-05[sanitizer] found a bug by code inspection: CHECK(a=b) instead of ↵Kostya Serebryany
CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178872 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-26[asan] a bit stricter lint for CHECK vs CHECK_XX (these CHECK_XX really help ↵Kostya Serebryany
debugging!) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176085 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-20[sanitizer] Fix lint.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175615 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-12[sanitizer] Intercept __isoc99_*scanf.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174960 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-08[sanitizer] Fix lint.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174708 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-30[Sanitizer] update style checker script and fix namespace style warningsAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173910 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-18[sanitizer] Workaround broken mktemp on certain platforms.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172827 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-18[sanitizer] Enable cpplint for .inc files.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172825 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-28[TSan] Blacklist test: Rename blacklisted function. Make this test work for ↵Alexey Samsonov
custom TSan testing script. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171186 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-14Add MemorySanitizer.cpp to the lint script.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170204 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-13[Sanitizer] disable lint check for line length in ASan output testsAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170123 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-11Add MemorySanitizer runtime to check_lint.sh.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169861 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-07Switch to r83 of cpplint.Evgeniy Stepanov
Ubuntu Precise compatibility. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169597 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-18[Sanitizer] update lint checker scriptAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164111 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-11[Sanitizer] fix warnings reported by gcc. Update the list of targets to ↵Alexey Samsonov
check lint for git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163608 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-05[asan] added tests for asan-initialization-order, patch by Reid WatsonKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163207 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-31[Sanitizer] Make lint checking a standalone script in sanitizer_commonAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162982 91177308-0d34-0410-b5e6-96231b3b80d8