llvm-project/compiler-rt/lib/esan
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
..
CMakeLists.txt Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
cache_frag.cpp [ESan][MIPS] Fix tests struct-simple.cpp on MIPS 2016-09-22 08:36:54 +00:00
cache_frag.h [esan] Add __esan_report for mid-run data 2016-07-09 04:13:25 +00:00
esan.cpp [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan.h [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan.syms.extra [esan] Add compilation unit init/exit routines. 2016-05-24 22:22:20 +00:00
esan_circular_buffer.h [esan|wset] Add 8-level working set snapshot accumulation 2016-06-03 16:27:50 +00:00
esan_flags.cpp [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_flags.h [esan] Add custom flag support 2016-05-20 19:26:52 +00:00
esan_flags.inc [esan|cfrag] Compute the struct field access difference ratio 2016-06-03 20:48:17 +00:00
esan_hashtable.h [esan] Add iterator to esan's generic hashtable 2016-08-08 17:37:19 +00:00
esan_interceptors.cpp Add NetBSD syscall hooks skeleton in sanitizers 2018-02-15 02:43:02 +00:00
esan_interface.cpp [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
esan_interface_internal.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_linux.cpp [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan_shadow.h [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan_sideline.h [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
esan_sideline_linux.cpp [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
working_set.cpp Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC. 2017-07-11 18:54:00 +00:00
working_set.h [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
working_set_posix.cpp [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00