aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-02-15 02:43:02 +0000
committerKamil Rytarowski <n54@gmx.com>2018-02-15 02:43:02 +0000
commit39628a7ab0ea8f2bbddf5751950cd25589aff159 (patch)
treeb2e70ef34aba40f2a73cd363e063ab41c5933294 /llvm/lib/Object/Object.cpp
parent9491643c4b224612724f734dd44e51f75539df64 (diff)
downloadllvm-39628a7ab0ea8f2bbddf5751950cd25589aff159.zip
llvm-39628a7ab0ea8f2bbddf5751950cd25589aff159.tar.gz
llvm-39628a7ab0ea8f2bbddf5751950cd25589aff159.tar.bz2
Add NetBSD syscall hooks skeleton in sanitizers
Summary: Implement the skeleton of NetBSD syscall hooks for use with sanitizers. Add a script that generates the rules to handle syscalls on NetBSD: generate_netbsd_syscalls.awk. It has been written in NetBSD awk(1) (patched nawk) and is compatible with gawk. Generate lib/sanitizer_common/sanitizer_platform_limits_netbsd.h that is a public header for applications, and included as: <sanitizer_common/sanitizer_platform_limits_netbsd.h>. Generate sanitizer_syscalls_netbsd.inc that defines all the syscall rules for NetBSD. This file is modeled after the Linux specific file: sanitizer_common_syscalls.inc. Start recognizing NetBSD syscalls with existing sanitizers: ASan, ESan, HWASan, TSan, MSan. Sponsored by <The NetBSD Foundation> Reviewers: joerg, vitalybuka, kcc, dvyukov, eugenis Reviewed By: vitalybuka Subscribers: hintonda, kubamracek, mgorny, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D42048 llvm-svn: 325206
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions