freebsd-src/lib/libc/amd64/string
Kyle Evans e55512504d Prepare the system for _FORTIFY_SOURCE
Notably:
- libc needs to #undef some of the macros from ssp/* for underlying
  implementations
- ssp/* wants a __RENAME() macro (snatched more or less from NetBSD)

There's some extra hinkiness included for read(), since libc spells it
as "_read" while the rest of the world spells it "read."

Reviewed by:	imp, ngie
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D32307
2024-05-13 00:23:50 -05:00
..
amd64_archlevel.c lib/libc/amd64: add archlevel-based simd dispatch framework 2023-08-04 01:53:43 +03:00
bcmp.S
bcopy.c Prepare the system for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
bzero.c Prepare the system for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
Makefile.inc libc/amd64: Disable ASAN for amd64_archlevel.c 2024-01-27 22:12:01 -05:00
memccpy.S lib/libc/amd64/string: add memccpy scalar, baseline implementation 2023-12-25 14:59:42 +01:00
memchr.S lib/libc/amd64/string/memchr.S: fix behaviour with overly long buffers 2023-09-10 08:52:59 -04:00
memcmp.S lib/libc/amd64/string/memcmp.S: harden against phony buffer lengths 2023-09-16 00:20:32 -04:00
memcpy.S Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
memmove.S Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
memrchr.S lib/libc/amd64/string: add memrchr() scalar, baseline implementation 2023-12-25 15:00:05 +01:00
memset.S Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
stpcpy.S lib/libc/amd64/string/stpcpy.S: add baseline implementation 2023-08-21 20:59:38 +02:00
stpncpy.S lib/libc/amd64/string: add stpncpy scalar, baseline implementation 2023-12-25 14:55:42 +01:00
strcat.S lib/libc/amd64/string/strcat.S: enable use of SIMD 2023-12-25 14:55:53 +01:00
strchrnul.S lib/libc/amd64/string/strchrnul.S: fix edge case in scalar code 2023-08-25 21:21:54 +02:00
strcmp.S lib/libc/amd64/string/strcmp.S: add baseline implementation 2023-12-25 14:54:33 +01:00
strcpy.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
strcspn.S lib/libc/amd64/string: implement strpbrk() through strcspn() 2023-12-25 14:54:58 +01:00
strlcat.c lib/libc/amd64/string: implement strlcat() through strlcpy() 2023-12-25 14:59:31 +01:00
strlcpy.S lib/libc/amd64/string: add strlcpy scalar, baseline implementation 2023-12-25 14:56:05 +01:00
strlen.S Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
strncat.c Prepare the system for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
strncmp.S lib/libc/amd64/string: add strncmp scalar, baseline implementation 2023-12-25 14:55:13 +01:00
strncpy.c Prepare the system for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
strnlen.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
strpbrk.c lib/libc/amd64/string: implement strpbrk() through strcspn() 2023-12-25 14:54:58 +01:00
strrchr.S lib/libc/amd64/string: add strrchr scalar, baseline implementation 2023-12-25 14:55:22 +01:00
strsep.c lib/libc/amd64/string: implement strsep() through strcspn() 2023-12-25 14:55:30 +01:00
strspn.S lib/libc/amd64/string: add strspn(3) scalar, x86-64-v2 implementation 2023-09-08 17:21:59 -04:00
timingsafe_bcmp.S lib/libc/amd64/string: add timingsafe_bcmp(3) scalar, baseline implementations 2023-10-15 15:19:04 -04:00
timingsafe_memcmp.S lib/libc/amd64/string: add timingsafe_memcmp() assembly implementation 2023-10-15 15:25:53 -04:00