OSDN Git Service

lib: Introduce CONFIG_MEMCPY_KUNIT_TEST
authorKees Cook <keescook@chromium.org>
Sat, 26 Jun 2021 00:45:15 +0000 (17:45 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 18 Oct 2021 19:28:52 +0000 (12:28 -0700)
commitbb95ebbe89a7854368be061acefb22040fbcc486
tree5c1e83a2557871c143de47620673fc923a0f0232
parentbe58f7103700a68d5c7ca60a2bc0b309907599ab
lib: Introduce CONFIG_MEMCPY_KUNIT_TEST

Before changing anything about memcpy(), memmove(), and memset(), add
run-time tests to check basic behaviors for any regressions.

Signed-off-by: Kees Cook <keescook@chromium.org>
lib/Kconfig.debug
lib/Makefile
lib/memcpy_kunit.c [new file with mode: 0644]