Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/string/Makefile.inc
Show All 23 Lines | MISRCS+=bcmp.c bcopy.c bzero.c explicit_bzero.c \ | ||||
wcslcat.c wcslcpy.c wcslen.c wcsncasecmp.c wcsncat.c wcsncmp.c \ | wcslcat.c wcslcpy.c wcslen.c wcsncasecmp.c wcsncat.c wcsncmp.c \ | ||||
wcsncpy.c wcsnlen.c wcspbrk.c \ | wcsncpy.c wcsnlen.c wcspbrk.c \ | ||||
wcsrchr.c wcsspn.c wcsstr.c wcstok.c wcswidth.c wcsxfrm.c wmemchr.c \ | wcsrchr.c wcsspn.c wcsstr.c wcstok.c wcswidth.c wcsxfrm.c wmemchr.c \ | ||||
wmemcmp.c \ | wmemcmp.c \ | ||||
wmemcpy.c wmemmove.c wmemset.c | wmemcpy.c wmemmove.c wmemset.c | ||||
SYM_MAPS+= ${LIBC_SRCTOP}/string/Symbol.map | SYM_MAPS+= ${LIBC_SRCTOP}/string/Symbol.map | ||||
.if ${MK_ASAN} != "no" | |||||
# These source files deliberately read out of bounds since they assume that | |||||
# out-of-bounds memory accesses that don't cross pages are always legal. | |||||
# Note: While this is fine on x86, it does break when running with CHERI. | |||||
CFLAGS.strlen.c+= -fno-sanitize=address | |||||
CFLAGS.strchrnul.c+= -fno-sanitize=address | |||||
CFLAGS.memchr.c+= -fno-sanitize=address | |||||
.endif | |||||
# machine-dependent string sources | # machine-dependent string sources | ||||
.sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/string/Makefile.inc" | .sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/string/Makefile.inc" | ||||
MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \ | MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \ | ||||
memcmp.3 memcpy.3 memmem.3 memmove.3 memset.3 strcasecmp.3 strcat.3 \ | memcmp.3 memcpy.3 memmem.3 memmove.3 memset.3 strcasecmp.3 strcat.3 \ | ||||
strchr.3 strcmp.3 strcoll.3 strcpy.3 strdup.3 strerror.3 \ | strchr.3 strcmp.3 strcoll.3 strcpy.3 strdup.3 strerror.3 \ | ||||
string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \ | string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \ | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |