summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorjvoisin2023-06-14 14:59:11 +0200
committerjvoisin2023-06-14 14:59:11 +0200
commitcb1ce9e1815a492de0f13c2b046b8472024b9f6d (patch)
tree77b3a8268151533ad4dc7acec73d25d2144cd991 /tests/Makefile
parent58168afc8b2328c24137820c5fbe7c9775901944 (diff)
Add tests for strncpy and handle overlapping buffers there
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile33
1 files changed, 18 insertions, 15 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 2c4e067..80a4626 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -2,21 +2,24 @@ CC=../x86_64-linux-musl-native/bin/gcc
2GCOV=../x86_64-linux-musl-native/bin/gcov 2GCOV=../x86_64-linux-musl-native/bin/gcov
3CFLAGS=-I../include/ -D_FORTIFY_SOURCE=3 -static -O2 3CFLAGS=-I../include/ -D_FORTIFY_SOURCE=3 -static -O2
4 4
5TARGETS=test_memcpy_static_write \ 5TARGETS=test_memcpy_static_write \
6 test_memcpy_dynamic_write \ 6 test_memcpy_dynamic_write \
7 test_memcpy_static_read \ 7 test_memcpy_static_read \
8 test_memcpy_dynamic_read \ 8 test_memcpy_dynamic_read \
9 test_memmove_static_write \ 9 test_memmove_static_write \
10 test_memmove_dynamic_write \ 10 test_memmove_dynamic_write \
11 test_memmove_static_read \ 11 test_memmove_static_read \
12 test_memmove_dynamic_read \ 12 test_memmove_dynamic_read \
13 test_memset_static_write \ 13 test_memset_static_write \
14 test_memset_dynamic_write \ 14 test_memset_dynamic_write \
15 test_strcpy_static_write \ 15 test_strcpy_static_write \
16 test_strcat_static_write \ 16 test_strcat_static_write \
17 test_strcpy_overwrite_over \ 17 test_strcpy_overwrite_over \
18 test_strcpy_overwrite_under\ 18 test_strcpy_overwrite_under \
19 test_getcwd \ 19 test_strncpy_static_write \
20 test_strncpy_overwrite_over \
21 test_strncpy_overwrite_under \
22 test_getcwd \
20 23
21.SILENT: 24.SILENT:
22 25