blob: d5bb646c5c5388b5929df586534460c20040d628 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
MDSRCS+= \
amd64_archlevel.c \
bcmp.S \
memchr.S \
memcmp.S \
memccpy.S \
memcpy.S \
memmove.S \
memrchr.S \
memset.S \
stpcpy.S \
stpncpy.S \
strcat.S \
strchrnul.S \
strcmp.S \
strcpy.c \
strcspn.S \
strlcat.c \
strlcpy.S \
strlen.S \
strncat.c \
strncmp.S \
strncpy.c \
strnlen.c \
strpbrk.c \
strrchr.S \
strsep.c \
strspn.S \
timingsafe_bcmp.S \
timingsafe_memcmp.S
.if ${MK_ASAN} != "no"
# Disable ASAN for amd64_archlevel.c since its code is executed before the
# sanitizer runtime can initialize itself.
CFLAGS.amd64_archlevel.c+= -fno-sanitize=address
.endif
|