llvm-project/compiler-rt/include/sanitizer
Kamil Rytarowski 39628a7ab0 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
2018-02-15 02:43:02 +00:00
..
allocator_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
asan_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
common_interface_defs.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
coverage_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
dfsan_interface.h [sanitizer] add a weak hook for strncmp interceptor, both to dfsan and other sanitizers. Hide the declaration and the calls in better macros 2015-07-30 02:32:51 +00:00
esan_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
hwasan_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
linux_syscall_hooks.h [sanitizer] Add syscall handlers for sigaction and rt_sigaction. 2016-06-24 23:09:44 +00:00
lsan_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
msan_interface.h [sanitizer] Make function declarations C-compatible 2017-12-21 20:51:16 +00:00
netbsd_syscall_hooks.h Add NetBSD syscall hooks skeleton in sanitizers 2018-02-15 02:43:02 +00:00
scudo_interface.h [scudo] s/unsigned long/size_t/ for __scudo_set_rss_limit 2018-01-04 17:05:04 +00:00
tsan_interface.h [tsan] Add Mutex annotation flag for constant-initialized __tsan_mutex_linker_init behavior 2017-10-20 12:08:53 +00:00
tsan_interface_atomic.h [TSan] Move declarations of __tsan_atomic functions to a public header 2013-12-11 08:18:50 +00:00