summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [asan] add interface function __sanitizer_get_total_unique_coverage; useful ↵Kostya Serebryany2014-11-141-2/+11
| | | | | | for coverage-guided in-process fuzzers llvm-svn: 222060
* Fix -Wcast-qual warnings in sanitizersAlexey Samsonov2014-11-131-1/+1
| | | | llvm-svn: 221936
* [Sanitizer] Get rid of unnecessary allocations in StripModuleName. NFC.Alexey Samsonov2014-11-041-2/+1
| | | | llvm-svn: 221287
* [asan] increase the initial buffer size in caller-callee dumperKostya Serebryany2014-10-311-1/+1
| | | | llvm-svn: 220991
* [asan] run-time part of the caller-callee coverage instrumentationKostya Serebryany2014-10-311-0/+94
| | | | llvm-svn: 220975
* [asan] remove debug printKostya Serebryany2014-09-031-1/+0
| | | | llvm-svn: 217101
* [asan] Fix mmap-ed coverage with coverage=0.Evgeniy Stepanov2014-06-111-2/+2
| | | | llvm-svn: 210655
* [asancov] Faster coverage in memory-mapped mode.Evgeniy Stepanov2014-06-051-6/+6
| | | | | | | | Use caller pc of __sanitizer_cov_module_init to figure out when 2 sequential calls are from the same module; skip .sancov.map file update in this case. llvm-svn: 210267
* [sancov] Handle fork.Evgeniy Stepanov2014-06-041-3/+39
| | | | | | | | | | Reset coverage data on fork(). For memory-mapped mode (coverage_direct=1) this helps avoid loss of data (before this change two processes would write to the same file simultaneously). For normal mode, this reduces coverage dump size, because PCs from the parent process are no longer inherited by the child. llvm-svn: 210180
* [sancov] Delay opening dump file until the first module constructor.Evgeniy Stepanov2014-06-031-8/+9
| | | | llvm-svn: 210109
* [sancov] Fix map update logic on Android.Evgeniy Stepanov2014-06-031-0/+6
| | | | | | | dlopen()/dlclose() are not interceptable on Android, so we update .sancov.map in module constructor callbacks. llvm-svn: 210098
* [sanitizer] Add coverage_dir flag.Evgeniy Stepanov2014-05-291-10/+13
| | | | llvm-svn: 209815
* [asancov] Write coverage directly to a memory-mapped file.Evgeniy Stepanov2014-05-271-0/+334
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
OpenPOWER on IntegriCloud