diff options
| author | jvoisin | 2024-03-08 16:07:57 +0100 |
|---|---|---|
| committer | jvoisin | 2024-03-08 16:28:52 +0100 |
| commit | 140cffbe84a08669d67c3257258d2bb70ff29c3b (patch) | |
| tree | 54a70b70f6fbe96840fa5fc9eb294c74f6855ad9 /tests/Makefile | |
| parent | 2f60f255af5d615ca31d554035fe8268ecc9825c (diff) | |
Add some NULL-pointers checks
See:
- https://www.imperialviolet.org/2016/06/26/nonnull.html
- https://davidben.net/2024/01/15/empty-slices.html
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index 352e6f8..b1223ea 100644 --- a/tests/Makefile +++ b/tests/Makefile | |||
| @@ -48,10 +48,15 @@ RUNTIME_TARGETS= \ | |||
| 48 | test_mbstowcs_static \ | 48 | test_mbstowcs_static \ |
| 49 | test_memchr_dynamic_read \ | 49 | test_memchr_dynamic_read \ |
| 50 | test_memchr_static_read \ | 50 | test_memchr_static_read \ |
| 51 | test_memchr_null \ | ||
| 51 | test_memcpy_dynamic_read \ | 52 | test_memcpy_dynamic_read \ |
| 52 | test_memcpy_dynamic_write \ | 53 | test_memcpy_dynamic_write \ |
| 53 | test_memcpy_overwrite_over \ | 54 | test_memcpy_overwrite_over \ |
| 54 | test_memcpy_static_read \ | 55 | test_memcpy_static_read \ |
| 56 | test_memcpy_null_src \ | ||
| 57 | test_memcpy_null_dst \ | ||
| 58 | test_memmove_null_src \ | ||
| 59 | test_memmove_null_dst \ | ||
| 55 | test_memmove_dynamic_read \ | 60 | test_memmove_dynamic_read \ |
| 56 | test_memmove_dynamic_write \ | 61 | test_memmove_dynamic_write \ |
| 57 | test_memmove_static_read \ | 62 | test_memmove_static_read \ |
| @@ -62,6 +67,7 @@ RUNTIME_TARGETS= \ | |||
| 62 | test_mempcpy_static_write \ | 67 | test_mempcpy_static_write \ |
| 63 | test_memset_dynamic_write \ | 68 | test_memset_dynamic_write \ |
| 64 | test_memset_static_write \ | 69 | test_memset_static_write \ |
| 70 | test_memset_null \ | ||
| 65 | test_poll_dynamic \ | 71 | test_poll_dynamic \ |
| 66 | test_poll_static \ | 72 | test_poll_static \ |
| 67 | test_ppoll_dynamic \ | 73 | test_ppoll_dynamic \ |
