From 140cffbe84a08669d67c3257258d2bb70ff29c3b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 8 Mar 2024 16:07:57 +0100 Subject: Add some NULL-pointers checks See: - https://www.imperialviolet.org/2016/06/26/nonnull.html - https://davidben.net/2024/01/15/empty-slices.html --- tests/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 352e6f8..b1223ea 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -48,10 +48,15 @@ RUNTIME_TARGETS= \ test_mbstowcs_static \ test_memchr_dynamic_read \ test_memchr_static_read \ + test_memchr_null \ test_memcpy_dynamic_read \ test_memcpy_dynamic_write \ test_memcpy_overwrite_over \ test_memcpy_static_read \ + test_memcpy_null_src \ + test_memcpy_null_dst \ + test_memmove_null_src \ + test_memmove_null_dst \ test_memmove_dynamic_read \ test_memmove_dynamic_write \ test_memmove_static_read \ @@ -62,6 +67,7 @@ RUNTIME_TARGETS= \ test_mempcpy_static_write \ test_memset_dynamic_write \ test_memset_static_write \ + test_memset_null \ test_poll_dynamic \ test_poll_static \ test_ppoll_dynamic \ -- cgit v1.3