Skip to content

Draft: main/fortify-headers: upgrade to 2.2

Krassy Boykinov requested to merge chereskata/aports:fortify-headers into master

https://git.2f30.org/fortify-headers/log.html

Note: changed source to https://github.com/jvoisin/fortify-headers/tags

Changes since 1.1
 2023-12-16 00:00	Bump to 2.1	q66	1	+1	-1
2023-12-15 23:51	Disable str(r)chr hardening	q66	1	+2	-0
2023-12-15 22:48	Rename some macros to be more namespace-friendly	q66	10	+187	-187
2023-12-15 22:42	Fix missing } for extern "C" when using clang	q66	1	+2	-2
2023-12-15 22:09	Move wctomb to stdlib.h and disable it for now	q66	2	+18	-15
2023-12-15 22:05	Guard some conditional stdio APIs with the right macros	q66	1	+30	-23
2023-12-15 21:42	Do not use static inline for C++ to avoid ODR violations	q66	1	+5	-0
2023-12-15 21:38	Add missing include in select.h	q66	1	+1	-0
2023-12-15 21:36	Remove superfluous includes	Julien Voisin	12	+137	-152
2023-12-15 15:08	Remove superfluous includes	jvoisin	12	+137	-152
2023-12-12 14:10	Bump to 2.0	jvoisin	1	+1	-1
2023-12-10 13:02	Add gcc 13 to the CI	jvoisin	1	+1	-1
2023-12-08 17:41	Add a check in the CI to keep the readme up to date	jvoisin	2	+36	-0
2023-12-08 11:55	Update the readme to point to upstream git repo	jvoisin	1	+1	-1
2023-12-06 20:45	Add qsort	jvoisin	4	+71	-0
2023-12-07 10:58	Add a global test to ensure that all headers are compiling	jvoisin	3	+27	-3
2023-12-06 12:37	Work around an erroneous `-Wformat-nonliteral` bug in gcc	jvoisin	1	+5	-0
2023-12-05 18:14	Update the README	jvoisin	1	+2	-3
2023-11-16 15:46	Add hardening for select()	Julien Voisin	4	+46	-0
2023-11-16 15:42	Add hardening for select()	jvoisin	4	+46	-0
2023-11-01 20:55	Add support for FD_ISSET	jvoisin	4	+41	-0
2023-10-16 15:48	Add a check about redefined macros	jvoisin	1	+1	-1
2023-10-01 20:06	Add vfprintf`	jvoisin	4	+40	-0
2023-10-01 20:00	Add `fprintf`	jvoisin	2	+19	-3
2023-09-30 18:24	Add `vprintf`	jvoisin	3	+35	-1
2023-09-30 17:24	Fix a typo	jvoisin	1	+1	-1
2023-09-29 22:15	Add `strlen`	jvoisin	4	+41	-0
2023-09-29 12:50	Make use of the native _chk variants for real	jvoisin	3	+3	-7
2023-09-27 21:28	Add `printf` hardening	jvoisin	3	+20	-0
2023-09-27 21:23	Add support for more builtin compiler provided _chk variants	jvoisin	1	+9	-1
2023-09-27 19:52	Add an option to make use of compiler-provided _chk builtins	jvoisin	4	+87	-12
2023-09-22 16:27	Add more __diagnose_as_builtin annotations	jvoisin	7	+144	-0
2023-09-21 13:50	Properly enable diagnose_as_builtin attribute	jvoisin	8	+30	-50
2023-09-20 22:33	Add clang 15 to the CI	jvoisin	1	+1	-1
2023-09-20 16:05	Add tests for compile-time errors	jvoisin	4	+32	-20
2023-09-20 15:00	Replace a strlen+condition with strnlen	jvoisin	1	+1	-3
2023-09-17 17:04	Make use of the buffers in the wide-chars tests	jvoisin	10	+20	-0
2023-09-17 14:23	Fix compilation under clang for bsd-specific functions	jvoisin	4	+8	-0
2023-09-17 14:02	Add more dynamic tests	jvoisin	7	+118	-4
2023-09-17 13:48	Add dynamic tests for strcpy and strncat	jvoisin	3	+34	-0
2023-09-17 13:12	Add a test for stpcpy	jvoisin	3	+19	-2
2023-09-11 18:23	Factorize overlap checks into a macro	jvoisin	2	+14	-20
2023-09-11 18:23	Fix a warning	jvoisin	1	+0	-1
2023-09-11 16:39	Add a warning for _FORTIFY_SOURCE>3	jvoisin	1	+4	-0
2023-09-11 15:55	Add a warning if realpath is called with path set to NULL	jvoisin	1	+1	-0
2023-09-11 15:41	Add the warn_unused_result attribute to alloc-related functions	jvoisin	2	+11	-0
2023-09-11 15:11	Add a bunch of wchar_t tests	jvoisin	5	+66	-5
2023-09-04 18:50	Install wget for the coverity workflow	jvoisin	1	+1	-1
2023-09-03 23:46	Add tests for wmemcpy	jvoisin	3	+30	-0
2023-08-28 20:45	Fix the coverity run	jvoisin	1	+14	-1
2023-08-26 21:42	Add two tests for wmemmove	jvoisin	3	+30	-0
2023-08-22 18:08	Clean up some includes	jvoisin	2	+5	-12
2023-08-22 17:37	Show the failing file name in the testsuite	jvoisin	1	+1	-1
2023-08-22 17:36	Increase portability	jvoisin	1	+3	-0
2023-08-22 17:16	Add hardening for pwrite	jvoisin	4	+41	-0
2023-08-21 20:55	Add tests for wmemset	jvoisin	3	+30	-0
2023-08-21 20:49	Add tests for mbstowcs	jvoisin	3	+32	-0
2023-08-21 15:46	Harden umask	jvoisin	3	+59	-0
2023-08-21 15:45	Improve the .gitignore file wrt. tests	jvoisin	1	+3	-0
2023-08-21 15:22	Make use of __diagnose_if	jvoisin	2	+9	-0
2023-08-21 15:11	Remove some todo in __bmo's implementation	jvoisin	1	+5	-3
2023-08-20 20:51	Add coverity analysis	jvoisin	1	+38	-0
2023-08-20 22:43	Add tests for fgetws and mbsrtowcs	jvoisin	6	+67	-1
2023-08-20 21:49	Remove the testsuite from the coverage data	jvoisin	1	+2	-1
2023-08-20 21:37	Split build and run	jvoisin	3	+13	-9
2023-08-20 21:11	Cache the musl toolchain in the coverage step in the CI	jvoisin	1	+9	-1
2023-08-20 20:13	Run the testsuite on multiple gcc versions	jvoisin	1	+7	-0
2023-08-20 19:52	Add more __access annotations in stdio.h	jvoisin	1	+8	-0
2023-08-20 19:45	Add two __format annotations	jvoisin	1	+5	-2
2023-08-20 19:33	Specify "shell: bash" in github actions	jvoisin	1	+2	-0
2023-08-20 18:50	Make use of __diagnose_as_builtin	jvoisin	8	+66	-0
2023-08-20 18:43	Use pass_dynamic_object_size only for FORTIFY_SOURCE > 2	jvoisin	1	+4	-3
2023-08-20 18:28	Make use of pass_dynamic_object_size when available	jvoisin	1	+4	-0
2023-08-20 17:02	Fix clang build	jvoisin	9	+32	-17
2023-08-20 17:33	Fix some sizeof-related typoes in the testsuite	jvoisin	4	+4	-4
2023-08-20 16:25	Refresh a bit the README	jvoisin	2	+115	-110
2023-08-20 16:15	Add hardening for strrchr	jvoisin	4	+47	-0
2023-08-20 16:09	Add hardening for strchr	jvoisin	4	+47	-0
2023-08-20 15:59	Add two tests for memchr	jvoisin	3	+35	-0
2023-08-20 14:43	Remove memrchr hardening for now	jvoisin	1	+0	-13
2023-08-03 17:41	Add hardening for memchr and memrchr	jvoisin	1	+24	-0
2023-07-18 21:07	Make use of the alloc_size attribute	jvoisin	2	+30	-0
2023-07-10 22:14	Add more dynamic tests	jvoisin	13	+120	-6
2023-07-10 22:03	Sort build targets in the tests' Makefile	jvoisin	1	+56	-56
2023-07-10 22:00	Add some dynamic tests for unistd.h	jvoisin	23	+192	-11
2023-07-10 21:46	Add some dynamic tests for sys/socket.h	jvoisin	9	+64	-4
2023-07-10 21:34	Add tests for sys/socket	jvoisin	5	+60	-0
2023-07-10 21:20	Add tests for sys/socket.h	jvoisin	5	+60	-0
2023-07-10 21:13	Clean up a bit the macro hell	jvoisin	1	+12	-7
2023-07-09 17:14	Add some malloc annotations	jvoisin	5	+62	-2
2023-07-09 16:50	Add some `format` annotations	jvoisin	3	+9	-1
2023-07-09 16:37	Move a misplaced #endif	jvoisin	1	+2	-2
2023-07-09 16:33	Add an __access__ annotation to wchar.h	jvoisin	1	+1	-0
2023-07-09 16:12	Improve a bit `size_t*size_t` overflow checks	jvoisin	2	+23	-2
2023-07-09 16:03	Add tests for stdio.h	jvoisin	7	+126	-0
2023-07-09 14:11	Add tests for unistd.h	jvoisin	12	+170	-1
2023-07-09 10:27	Fix a couple of warnings	jvoisin	3	+2	-3
2023-07-08 20:00	Add access annotations to unistd.h	jvoisin	1	+10	-0
2023-07-08 19:49	Add tests for memcpy overflow/underflow	jvoisin	3	+32	-0
2023-07-05 13:48	Add access annotations to sys/socket.h	jvoisin	1	+4	-0
2023-07-05 13:41	Add tests for bzero	jvoisin	3	+39	-0
2023-07-05 13:38	Add tests for bcopy	jvoisin	5	+76	-0
2023-07-04 23:01	Cache musl-toolchain download	jvoisin	1	+9	-1
2023-07-04 22:55	Run several clang versions in the CI	jvoisin	1	+7	-0
2023-07-04 22:52	Don't download musl-cc for clang in the CI	jvoisin	1	+0	-4
2023-06-27 15:33	Add more access-annotations	jvoisin	3	+10	-3
2023-06-25 16:39	Fix the coverage on github pages	jvoisin	1	+2	-0
2023-06-25 16:36	Run clang and gcc in the CI	jvoisin	2	+15	-3
2023-06-25 16:35	Fix clang support	jvoisin	3	+16	-5
2022-10-25 22:30	add initial clang support	Daniel Kolesa	10	+157	-61
2022-11-01 19:14	avoid __extension__ with clang	Daniel Kolesa	8	+12	-12
2023-06-22 22:28	Add a test for fgets	jvoisin	2	+18	-1
2023-06-22 16:46	Add an annotation for fgets	jvoisin	1	+1	-0
2023-06-22 16:42	Add a test for ppoll	jvoisin	2	+16	-0
2023-06-22 16:33	Add a test for `poll`	jvoisin	3	+17	-2
2023-06-22 16:20	Add tests for mempcpy	jvoisin	5	+72	-0
2023-06-22 16:14	Add a test for strncat	jvoisin	3	+19	-3
2023-06-22 16:07	Add tests for stcncpy	jvoisin	5	+55	-1
2023-06-22 15:58	Add tests for stpcpy	jvoisin	5	+61	-5
2023-06-14 12:59	Add tests for strncpy and handle overlapping buffers there	jvoisin	5	+70	-16
2023-05-30 20:06	Add some __attribute__((access…)) annotations	jvoisin	2	+27	-0
2023-05-30 19:19	Add code coverage	jvoisin	2	+53	-0
2023-05-30 18:53	Add a test for getcwd	jvoisin	2	+15	-0
2023-05-30 18:46	Add a check for overlapping copies in strcpy	jvoisin	4	+40	-1
2023-05-30 18:13	Fix inconsistent time_t version of ppoll	jvoisin	1	+1	-1
2023-04-13 21:44	Add tests for strcat and strcpy	jvoisin	3	+34	-0
2023-04-13 20:51	Add tests for memset	jvoisin	3	+35	-1
2023-04-13 20:46	Add tests for memmove	jvoisin	5	+72	-4
2023-03-19 18:16	Add a .gitignore	jvoisin	1	+2	-0
2023-03-18 12:29	Add a basic testsuite	jvoisin	7	+170	-0
2023-03-18 13:01	Make use of __builtin_dynamic_object_size	jvoisin	10	+72	-64
Edited by Krassy Boykinov

Merge request reports