WSL2-Linux-Kernel/lib/test_fortify
Kees Cook 28e77cc1c0 fortify: Detect struct member overflows in memset() at compile-time
As done for memcpy(), also update memset() to use the same tightened
compile-time bounds checking under CONFIG_FORTIFY_SOURCE.

Signed-off-by: Kees Cook <keescook@chromium.org>
2022-02-13 16:50:06 -08:00
..
read_overflow-memchr.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow-memchr_inv.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow-memcmp.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow-memscan.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow2-memcmp.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow2-memcpy.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow2-memmove.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
read_overflow2_field-memcpy.c fortify: Detect struct member overflows in memcpy() at compile-time 2022-02-13 16:50:06 -08:00
read_overflow2_field-memmove.c fortify: Detect struct member overflows in memmove() at compile-time 2022-02-13 16:50:06 -08:00
test_fortify.h fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-memcpy.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-memmove.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-memset.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strcpy-lit.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strcpy.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strlcpy-src.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strlcpy.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strncpy-src.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strncpy.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow-strscpy.c fortify: Add compile-time FORTIFY_SOURCE tests 2021-10-18 12:28:52 -07:00
write_overflow_field-memcpy.c fortify: Detect struct member overflows in memcpy() at compile-time 2022-02-13 16:50:06 -08:00
write_overflow_field-memmove.c fortify: Detect struct member overflows in memmove() at compile-time 2022-02-13 16:50:06 -08:00
write_overflow_field-memset.c fortify: Detect struct member overflows in memset() at compile-time 2022-02-13 16:50:06 -08:00