summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* [sanitizer] fix 'sancov.py merge' and add a test for itKostya Serebryany2015-03-191-9/+11
| | | | llvm-svn: 232763
* [sanitizer] trying to fix sancov.py with 32-bit pythonKostya Serebryany2015-03-191-7/+18
| | | | llvm-svn: 232754
* [sanitizer] change the sanitizer coverage format once again, this time ↵Kostya Serebryany2015-03-181-34/+53
| | | | | | adding a magic to the beginning of the file llvm-svn: 232679
* [sanitizer] add run-time a flag coverage_order_pcs. When true, the PCs are ↵Kostya Serebryany2015-03-181-3/+6
| | | | | | dumped in the order of their appearance llvm-svn: 232573
* [sanitizer] change the format of coverage dump: instead of always dumping ↵Kostya Serebryany2015-03-171-33/+44
| | | | | | 32-bit offsets dump 32-bit offsets on 32-bit arch and 64-bit offsets on 64-bit arch. Also add the 'bits' parameter to sancov.py. This is a user-visible interface change. llvm-svn: 232555
* Exclude LLVM sources from lint check.Alexey Samsonov2015-03-041-4/+0
| | | | | | | Checking files from different repository is not nice, and LLVM code follows its own style guide anyway. llvm-svn: 231289
* [sanitizer] Fix bashism in check_lint.sh.Evgeniy Stepanov2015-01-161-1/+1
| | | | llvm-svn: 226267
* [sanitizer] Cleanup linter temporary files.Evgeniy Stepanov2015-01-161-1/+8
| | | | llvm-svn: 226266
* [sanitizer] Tweak sancov.py output.Evgeniy Stepanov2014-12-251-1/+1
| | | | llvm-svn: 224841
* [sanitizer] sancov.py: print status to stderrEvgeniy Stepanov2014-12-251-1/+1
| | | | llvm-svn: 224840
* Custom wrappers for DFSanitizing sprintf & snprintf.Lorenzo Martignoni2014-10-081-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D5561 llvm-svn: 219293
* Avoid bashisms and switch to /bin/shEd Maste2014-10-071-14/+23
| | | | | | | | Bash may not be installed on some systems by default, like FreeBSD. Differential Revision: http://reviews.llvm.org/D5654 llvm-svn: 219231
* Adjust gen_dynamic_list for PowerPC function descriptorsAlexey Samsonov2014-07-211-1/+5
| | | | llvm-svn: 213577
* Don't check lint for SpecialCaseList.cppAlexey Samsonov2014-07-091-2/+1
| | | | llvm-svn: 212642
* [sancov] Handle spaces in module name.Evgeniy Stepanov2014-06-031-2/+1
| | | | llvm-svn: 210108
* [sancov] Remove debug leftovers and update usage text.Evgeniy Stepanov2014-06-021-4/+2
| | | | llvm-svn: 210009
* [asancov] Write coverage directly to a memory-mapped file.Evgeniy Stepanov2014-05-271-0/+61
| | | | | | | | | | | This way does not require a __sanitizer_cov_dump() call. That's important on Android, where apps can be killed at arbitrary time. We write raw PCs to disk instead of module offsets; we also write memory layout to a separate file. This increases dump size by the factor of 2 on 64-bit systems. llvm-svn: 209653
* [sanitizer] Support sandboxing in sanitizer coverage.Sergey Matveev2014-05-191-7/+40
| | | | | | | | | | | Summary: Sandboxed code may now pass additional arguments to __sanitizer_sandbox_on_notify() to force all coverage data to be dumped to a single file (the default is one file per module). The user may supply a file or socket to write to. The latter option can be used to broker out the file writing functionality. If -1 is passed, we pre-open a file. llvm-svn: 209121
* cleanup and test litlintGreg Fitzgerald2014-05-152-13/+82
| | | | llvm-svn: 208907
* Fix typosAlp Toker2014-05-151-2/+2
| | | | llvm-svn: 208841
* migrate litlint from argparse to optparse. reenabledGreg Fitzgerald2014-05-142-8/+6
| | | | llvm-svn: 208826
* Disabled litlint. It requires Python 2.7 or laterGreg Fitzgerald2014-05-141-1/+2
| | | | llvm-svn: 208823
* add script to ensure lit test contains %runGreg Fitzgerald2014-05-142-1/+31
| | | | llvm-svn: 208819
* fixed check_lint.sh in standalone buildGreg Fitzgerald2014-03-211-1/+3
| | | | | Change-Id: I30d340bbe6b2028cc0f831399b62521912dcac60 llvm-svn: 204419
* Update sanitizers' bash scripts.Alexey Samsonov2014-02-251-7/+7
| | | | | | | * Fix bash scripts to work on FreeBSD (patch by Viktor Kutuzov) * Update locations of lit tests in check_lint script. llvm-svn: 202145
* [sanitizer] Support most ioctls from /usr/include/sound/.Sergey Matveev2014-01-311-1/+1
| | | | llvm-svn: 200544
* Fix gen_dynamic_list.py for Python 3. Patch by Marcoen Hirschberg.Alexey Samsonov2013-12-171-4/+4
| | | | llvm-svn: 197493
* Implement a bunch of custom glibc wrappers & corresponding testsLorenzo Martignoni2013-11-261-0/+6
| | | | llvm-svn: 195749
* Revert r195381, "Implement a bunch of custom glibc wrappers & corresponding ↵Peter Collingbourne2013-11-211-8/+0
| | | | | | | | tests." It broke a buildbot. llvm-svn: 195392
* Implement a bunch of custom glibc wrappers & corresponding tests.Peter Collingbourne2013-11-211-0/+8
| | | | | | | | | | | | | - 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 llvm-svn: 195381
* [asan] helper script to dump/merge coverage dataKostya Serebryany2013-11-151-0/+56
| | | | llvm-svn: 194809
* [Sanitizer] Add pthread_attr_getaffinity_np to the list of versioned functionsAlexey Samsonov2013-10-261-1/+2
| | | | llvm-svn: 193470
* [Sanitizer] Fix lint checker script on MacAlexey Samsonov2013-10-161-4/+4
| | | | llvm-svn: 192791
* tsan: do not leave trash source files in source dirDmitry Vyukov2013-10-151-1/+1
| | | | llvm-svn: 192700
* [libsanitizer] Pass an explicit template to mktemp. Running mktemp without a ↵Alexander Potapenko2013-09-201-3/+3
| | | | | | template doesn't work on Darwin. llvm-svn: 191084
* [Sanitizer] Add pthread_cond_init to the list of versioned functionsAlexey Samsonov2013-09-201-3/+4
| | | | llvm-svn: 191078
* Minor updates to gen_dynamic_list script suggested by gliderAlexey Samsonov2013-08-291-42/+49
| | | | llvm-svn: 189588
* [sanitizer] Parallelize lint checker scriptAlexey Samsonov2013-08-291-28/+36
| | | | llvm-svn: 189578
* sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.Will Dietz2013-08-281-1/+3
| | | | | | Fixes build on systems where 'python' is not python2. llvm-svn: 189486
* Make lint checker script more robustAlexey Samsonov2013-08-281-3/+4
| | | | llvm-svn: 189479
* Check code style in check-sanitizer commandAlexey Samsonov2013-08-282-9/+4035
| | | | llvm-svn: 189475
* Properly generate lists of exported symbols for sanitizer runtimesAlexey Samsonov2013-08-271-0/+76
| | | | | | | | | 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. llvm-svn: 189356
* Slightly improve lint checker script and fix a few style issuesAlexey Samsonov2013-08-231-28/+32
| | | | llvm-svn: 189092
* Add a FIXME to check_lintTimur Iskhodzhanov2013-08-131-0/+3
| | | | llvm-svn: 188266
* Lint fixesAlexey Samsonov2013-08-051-2/+2
| | | | llvm-svn: 187726
* [Sanitizer] support running external llvm-symbolizer on MacAlexey Samsonov2013-06-111-4/+2
| | | | llvm-svn: 183730
* [lsan] Convert the remaining LSan tests to output tests.Sergey Matveev2013-05-291-1/+2
| | | | llvm-svn: 182839
* [lsan] Begin converting LSan tests to output tests.Sergey Matveev2013-05-271-0/+2
| | | | | | In this CL all old tests are removed and one LIT test is added. llvm-svn: 182730
* [lsan] Tests for LeakSanitizer.Sergey Matveev2013-05-201-0/+6
| | | | llvm-svn: 182250
* [sanitizer] Fix lint.Evgeniy Stepanov2013-04-221-1/+2
| | | | llvm-svn: 180012
OpenPOWER on IntegriCloud