mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 05:13:58 -05:00
The userboot/test program links against the default userspace libraries (e.g. shared libgcc_s.so) that will be instrumented if WITH_ASAN is set. All other programs link against libsa instead of libc and therefore can't use the sanitizer runtime library. To fix the stand/ build with sanitizers, we disable MK_ASAN/MK_UBSAN if -nostdlib is found in the LDFLAGS (i.e. we are using libsa instead of libc). Reviewed By: imp, tsoome Differential Revision: https://reviews.freebsd.org/D31047 |
||
|---|---|---|
| .. | ||
| test | ||
| userboot | ||
| userboot_4th | ||
| userboot_lua | ||
| Makefile | ||
| Makefile.inc | ||
| userboot.h | ||