summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/safestack/safestack_platform.h
Commit message (Collapse)AuthorAgeFilesLines
* Enhance support for NetBSD in SafeStackKamil Rytarowski2019-01-251-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Always try to detect and call internal or real libc symbols instead of locally installed interceptors. This covers: - GetTid() - TgKill() - Mmap() - Munmap() - Mprotect() This cherry-picks code from sanitizer_common/sanitizer_netbsd.cc. Reviewers: vitalybuka Reviewed By: vitalybuka Subscribers: llvm-commits, mgorny, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D57179 llvm-svn: 352154
* [safestack] Return syscalls for mmap, munmap and mprotectVitaly Buka2019-01-221-0/+28
| | | | | | This function can be already intercepted by instrumented code. llvm-svn: 351783
* [safestack] Remove unsupported platformsVitaly Buka2019-01-211-12/+6
| | | | llvm-svn: 351716
* [safestack] Fix FreeBSD runtime buildVitaly Buka2019-01-211-0/+4
| | | | llvm-svn: 351715
* 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. llvm-svn: 351636
* [safestack] Add ThreadId type as uint64_tVitaly Buka2019-01-181-2/+9
| | | | | | | | | | Reviewers: krytarowski, eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D56937 llvm-svn: 351607
* [safestack] Remove dependency of SafeStack on sanitizer_commonVitaly Buka2019-01-181-0/+60
Summary: SafeStack needs just few functions from there, but sanitizer_common introduces conflicts with other runtimes, e.g. SCUDO. Reviewers: eugenis, kcc, cryptoad Subscribers: mgorny, krytarowski, fedor.sergeev, jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D56886 llvm-svn: 351506
OpenPOWER on IntegriCloud