Import the NetBSD micro ubsan code for the kernel.

This imports revision 1.3 of common/lib/libc/misc/ubsan.c from NetBSD, the
micro-ubsan code. It is an implementation of the Undefined Behavior
Sanitizer runtime for use with recent clang and gcc.

The uubsan code will be used in a later commit to implement kubsan to help
find undefined behavior in the kernel.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2018-11-06 16:56:49 +00:00
parent 1f3b049dc4
commit 0645126fae

1638
sys/kern/kern_ubsan.c Normal file

File diff suppressed because it is too large Load Diff