[PATCH] D57179: Enhance support for NetBSD in SafeStack

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 12:16:35 PST 2019


krytarowski created this revision.
krytarowski added a reviewer: vitalybuka.
krytarowski added a project: Sanitizers.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D57179

Files:
  lib/safestack/safestack_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57179.183366.patch
Type: text/x-patch
Size: 3068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/d222cf6e/attachment.bin>


More information about the llvm-commits mailing list