summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_interface_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
* [libFuzzer] Report at most one crash per input.Matt Morehouse2018-05-011-0/+6
| | | | | | | | | | | | | | | | | | Summary: Fixes https://github.com/google/sanitizers/issues/788/, a deadlock caused by multiple crashes happening at the same time. Before printing a crash report, we now test and set an atomic flag. If the flag was already set, the crash handler returns immediately. Reviewers: kcc Reviewed By: kcc Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D46277 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331310 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer_common] Update sanitizers w.r.t. the new comparisons ↵Alexander Potapenko2017-08-101-0/+8
| | | | | | | | | | | | instrumentation API Added declarations of __sanitizer_cov_trace_const_cmp[1248] callbacks. For more details, please see https://reviews.llvm.org/D36465. Patch by Victor Chibotaru. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@310596 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer-coverage] Fix Windows build broken by r309655Vitaly Buka2017-08-011-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309665 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer-coverage] remove stale codeKostya Serebryany2017-07-261-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309173 91177308-0d34-0410-b5e6-96231b3b80d8
* [sancov] Add new sanitizer coverage functions to the internal interface.Marcos Pividori2017-01-311-1/+27
| | | | | | Differential Revision: https://reviews.llvm.org/D28597 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@293672 91177308-0d34-0410-b5e6-96231b3b80d8
* [sancov] __sanitizer_dump_coverage apiMike Aizatsky2016-12-121-1/+10
| | | | | | | | Subscribers: kubabrecka, mgorny Differential Revision: https://reviews.llvm.org/D26758 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289498 91177308-0d34-0410-b5e6-96231b3b80d8
* Add __sanitizer_set_report_fd to the internal list of symbols.Benjamin Kramer2016-05-301-0/+4
| | | | | | Otherwise it will get the wrong visibility in the resulting library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271202 91177308-0d34-0410-b5e6-96231b3b80d8
* Asan: utility function to determine first wrongly poisoned byte inMike Aizatsky2015-11-041-1/+4
| | | | | | | | container. Differential Revision: http://reviews.llvm.org/D14341 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@252071 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizers] Move the common sanitizer interface from ↵Timur Iskhodzhanov2015-02-191-0/+58
sanitizer_internal_defs.h to a new sanitizer_interface_internal.h file Reviewed at http://reviews.llvm.org/D7758 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@229858 91177308-0d34-0410-b5e6-96231b3b80d8