1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-10 09:42:26 +00:00
freebsd/lib/csu
Alex Richardson 7bc797e3f3 Add build system support for ASAN+UBSAN instrumentation
This adds two new options WITH_ASAN/WITH_UBSAN that can be set to
enable instrumentation of all binaries with AddressSanitizer and/or
UndefinedBehaviourSanitizer. This current patch is almost sufficient
to get a complete buildworld with sanitizer instrumentation but in
order to actually build and boot a system it depends on a few more
follow-up commits.

Reviewed By:	brooks, kib, markj
Differential Revision: https://reviews.freebsd.org/D31043
2021-08-02 14:33:24 +01:00
..
aarch64 Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc. 2020-07-03 00:09:41 +00:00
amd64 lib/csu: Get rid of unused fptr typedef on amd64. 2021-07-25 13:51:09 +03:00
arm Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc. 2020-07-03 00:09:41 +00:00
common Rename __JCR_LIST__ to __JCR_END__ in crtend.c. 2020-11-10 19:04:54 +00:00
i386 lib/csu: Get rid of unused fptr typedef on amd64. 2021-07-25 13:51:09 +03:00
mips ld.bfd requires an explicit emulation for MIPS for ld -r. 2020-08-04 18:23:32 +00:00
powerpc Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc. 2020-07-03 00:09:41 +00:00
powerpc64 Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc. 2020-07-03 00:09:41 +00:00
riscv lib/csu: Get rid of unused fptr typedef on amd64. 2021-07-25 13:51:09 +03:00
tests Add C startup code tests for PIE binaries. 2020-11-10 19:09:35 +00:00
Makefile [PowerPC64LE] Use a shared LIBC_ARCH for powerpc64le. 2020-09-23 00:21:51 +00:00
Makefile.inc Add build system support for ASAN+UBSAN instrumentation 2021-08-02 14:33:24 +01:00