fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.gitattributes3L
-rw-r--r--.github/workflows/coverage.yaml53L
-rw-r--r--.github/workflows/coverity.yaml51L
-rw-r--r--.github/workflows/documentation.yaml18L
-rw-r--r--.github/workflows/testsuite.yaml107L
-rw-r--r--.gitignore5L
-rw-r--r--LICENSE12L
-rw-r--r--Makefile24L
-rw-r--r--README.md139L
-rw-r--r--include/fortify-headers.h164L
-rw-r--r--include/poll.h68L
-rw-r--r--include/stdio.h368L
-rw-r--r--include/stdlib.h182L
-rw-r--r--include/string.h401L
-rw-r--r--include/strings.h71L
-rw-r--r--include/sys/select.h89L
-rw-r--r--include/sys/socket.h89L
-rw-r--r--include/sys/stat.h48L
-rw-r--r--include/unistd.h226L
-rw-r--r--include/wchar.h272L
-rw-r--r--tests/Makefile203L
-rw-r--r--tests/common.h66L
-rw-r--r--tests/test_FD_CLR_SETSIZE.c14L
-rw-r--r--tests/test_FD_CLR_negative.c14L
-rw-r--r--tests/test_FD_ISSET_SETSIZE.c14L
-rw-r--r--tests/test_FD_ISSET_negative.c14L
-rw-r--r--tests/test_FD_SET_SETSIZE.c14L
-rw-r--r--tests/test_FD_SET_negative.c14L
-rw-r--r--tests/test_asprintf.c22L
-rw-r--r--tests/test_bcopy_dynamic_read.c18L
-rw-r--r--tests/test_bcopy_dynamic_write.c18L
-rw-r--r--tests/test_bcopy_static_read.c18L
-rw-r--r--tests/test_bcopy_static_write.c18L
-rw-r--r--tests/test_bzero_dynamic_write.c18L
-rw-r--r--tests/test_bzero_static_write.c18L
-rw-r--r--tests/test_compile.c18L
-rw-r--r--tests/test_compile.cc18L
-rw-r--r--tests/test_confstr_dynamic.c16L
-rw-r--r--tests/test_confstr_static.c16L
-rw-r--r--tests/test_fgets_dynamic.c15L
-rw-r--r--tests/test_fgets_static.c15L
-rw-r--r--tests/test_fgetws_dynamic.c15L
-rw-r--r--tests/test_fgetws_static.c15L
-rw-r--r--tests/test_fprintf.c7L
-rw-r--r--tests/test_fread_int_overflow.c14L
-rw-r--r--tests/test_fread_overwrite_dynamic.c17L
-rw-r--r--tests/test_fread_overwrite_static.c17L
-rw-r--r--tests/test_fwrite_int_overflow.c14L
-rw-r--r--tests/test_fwrite_overwrite_dynamic.c17L
-rw-r--r--tests/test_fwrite_overwrite_static.c17L
-rw-r--r--tests/test_getcwd_dynamic.c16L
-rw-r--r--tests/test_getcwd_static.c16L
-rw-r--r--tests/test_getdomainname_dynamic.c19L
-rw-r--r--tests/test_getdomainname_static.c19L
-rw-r--r--tests/test_getgroups_dynamic.c16L
-rw-r--r--tests/test_getgroups_static.c16L
-rw-r--r--tests/test_gethostname_dynamic.c16L
-rw-r--r--tests/test_gethostname_static.c16L
-rw-r--r--tests/test_getlogin_r_dynamic.c16L
-rw-r--r--tests/test_getlogin_r_static.c16L
-rw-r--r--tests/test_issue57.c11L
-rw-r--r--tests/test_issue57_strcpy.c11L
-rw-r--r--tests/test_mbsrtowcs_dynamic.c16L
-rw-r--r--tests/test_mbsrtowcs_static.c16L
-rw-r--r--tests/test_mbstowcs_dynamic.c15L
-rw-r--r--tests/test_mbstowcs_static.c15L
-rw-r--r--tests/test_memchr_dynamic_read.c18L
-rw-r--r--tests/test_memchr_null.c13L
-rw-r--r--tests/test_memchr_static_read.c19L
-rw-r--r--tests/test_memcpy_dynamic_read.c16L
-rw-r--r--tests/test_memcpy_dynamic_write.c16L
-rw-r--r--tests/test_memcpy_null_dst.c16L
-rw-r--r--tests/test_memcpy_null_src.c16L
-rw-r--r--tests/test_memcpy_overwrite_over.c15L
-rw-r--r--tests/test_memcpy_overwrite_under.c15L
-rw-r--r--tests/test_memcpy_static_read.c16L
-rw-r--r--tests/test_memcpy_static_write.c16L
-rw-r--r--tests/test_memmove_dynamic_read.c16L
-rw-r--r--tests/test_memmove_dynamic_write.c16L
-rw-r--r--tests/test_memmove_null_dst.c16L
-rw-r--r--tests/test_memmove_null_src.c16L
-rw-r--r--tests/test_memmove_static_read.c16L
-rw-r--r--tests/test_memmove_static_write.c16L
-rw-r--r--tests/test_mempcpy_dynamic_read.c17L
-rw-r--r--tests/test_mempcpy_dynamic_write.c17L
-rw-r--r--tests/test_mempcpy_static_read.c17L
-rw-r--r--tests/test_mempcpy_static_write.c17L
-rw-r--r--tests/test_memset_dynamic_write.c16L
-rw-r--r--tests/test_memset_null.c13L
-rw-r--r--tests/test_memset_static_write.c16L
-rw-r--r--tests/test_poll_dynamic.c14L
-rw-r--r--tests/test_poll_static.c14L
-rw-r--r--tests/test_ppoll_dynamic.c15L
-rw-r--r--tests/test_ppoll_static.c15L
-rw-r--r--tests/test_pread_dynamic.c14L
-rw-r--r--tests/test_pread_static.c15L
-rw-r--r--tests/test_printf.c7L
-rw-r--r--tests/test_pwrite_dynamic.c14L
-rw-r--r--tests/test_pwrite_static.c14L
-rw-r--r--tests/test_qsort_dynamic.c26L
-rw-r--r--tests/test_qsort_static.c26L
-rw-r--r--tests/test_read_dynamic.c14L
-rw-r--r--tests/test_read_static.c15L
-rw-r--r--tests/test_readlink_dynamic.c16L
-rw-r--r--tests/test_readlink_static.c16L
-rw-r--r--tests/test_recv_dynamic.c14L
-rw-r--r--tests/test_recv_static.c14L
-rw-r--r--tests/test_recvfrom_dynamic.c14L
-rw-r--r--tests/test_recvfrom_static.c14L
-rw-r--r--tests/test_select_dynamic.c16L
-rw-r--r--tests/test_select_static.c16L
-rw-r--r--tests/test_send_dynamic.c14L
-rw-r--r--tests/test_send_static.c14L
-rw-r--r--tests/test_sendto_dynamic.c14L
-rw-r--r--tests/test_sendto_static.c14L
-rw-r--r--tests/test_sprintf.c8L
-rw-r--r--tests/test_sprintf_62.c21L
-rw-r--r--tests/test_stpcpy_dynamic_write.c16L
-rw-r--r--tests/test_stpcpy_overwrite_over.c15L
-rw-r--r--tests/test_stpcpy_overwrite_under.c15L
-rw-r--r--tests/test_stpcpy_static_write.c16L
-rw-r--r--tests/test_stpncpy_dynamic_write.c17L
-rw-r--r--tests/test_stpncpy_overwrite_over.c20L
-rw-r--r--tests/test_stpncpy_overwrite_under.c21L
-rw-r--r--tests/test_stpncpy_static_write.c16L
-rw-r--r--tests/test_strcat_static_write.c16L
-rw-r--r--tests/test_strchr_dynamic_read.c21L
-rw-r--r--tests/test_strchr_static_read.c21L
-rw-r--r--tests/test_strcpy_dynamic_write.c16L
-rw-r--r--tests/test_strcpy_overwrite_over.c15L
-rw-r--r--tests/test_strcpy_overwrite_under.c15L
-rw-r--r--tests/test_strcpy_static_write.c16L
-rw-r--r--tests/test_strlcat_dynamic_write.c21L
-rw-r--r--tests/test_strlcat_static_write.c21L
-rw-r--r--tests/test_strlcpy_dynamic_write.c21L
-rw-r--r--tests/test_strlcpy_static_write.c21L
-rw-r--r--tests/test_strlen_static_read.c22L
-rw-r--r--tests/test_strncat_dynamic_write.c18L
-rw-r--r--tests/test_strncat_static_write.c19L
-rw-r--r--tests/test_strncpy_dynamic_write.c18L
-rw-r--r--tests/test_strncpy_overwrite_over.c24L
-rw-r--r--tests/test_strncpy_overwrite_under.c17L
-rw-r--r--tests/test_strncpy_static_write.c18L
-rw-r--r--tests/test_strrchr_dynamic_read.c21L
-rw-r--r--tests/test_strrchr_static_read.c21L
-rw-r--r--tests/test_ttyname_r_dynamic.c14L
-rw-r--r--tests/test_ttyname_r_static.c14L
-rw-r--r--tests/test_umask.c10L
-rw-r--r--tests/test_vasprintf.c36L
-rw-r--r--tests/test_vfprintf.c16L
-rw-r--r--tests/test_vprintf.c16L
-rw-r--r--tests/test_vsnprintf_dynamic.c29L
-rw-r--r--tests/test_vsnprintf_static.c29L
-rw-r--r--tests/test_vsprintf.c29L
-rw-r--r--tests/test_wcscat_static_write.c16L
-rw-r--r--tests/test_wcscpy_static_write.c16L
-rw-r--r--tests/test_wcsncat_static_write.c16L
-rw-r--r--tests/test_wcsncpy_static_write.c16L
-rw-r--r--tests/test_wmemcpy_dynamic_write.c16L
-rw-r--r--tests/test_wmemcpy_static_write.c16L
-rw-r--r--tests/test_wmemmove_dynamic_write.c16L
-rw-r--r--tests/test_wmemmove_static_write.c16L
-rw-r--r--tests/test_wmemset_dynamic.c16L
-rw-r--r--tests/test_wmemset_static.c16L
-rw-r--r--tests/test_write_dynamic.c14L
-rw-r--r--tests/test_write_static.c15L