Kees Cook
fa4a3f86d4
fortify: Add KUnit tests for runtime overflows
...
With fortify overflows able to be redirected, we can use KUnit to
exercise the overflow conditions. Add tests for every API covered by
CONFIG_FORTIFY_SOURCE, except for memset() and memcpy(), which are
special-cased for now.
Disable warnings in the Makefile since we're explicitly testing
known-bad string handling code patterns.
Note that this makes the LKDTM FORTIFY_STR* tests obsolete, but those
can be removed separately.
Signed-off-by: Kees Cook <keescook@chromium.org >
2024-02-29 13:38:02 -08:00
..
2023-12-22 12:30:19 +08:00
2023-05-09 11:06:45 +02:00
2023-10-01 23:09:02 +11:00
2024-01-03 09:10:37 -07:00
2023-07-09 22:47:50 +01:00
2023-04-13 13:13:53 -07:00
2023-12-11 14:33:07 +01:00
2024-01-19 11:59:11 -08:00
2023-03-21 21:15:34 +01:00
2023-09-11 08:13:17 +00:00
2023-02-27 17:00:14 -08:00
2023-11-14 17:12:52 -08:00
2023-09-19 13:21:33 -07:00
2023-08-18 10:18:58 -07:00
2023-10-14 20:25:22 -07:00
2023-10-16 16:14:45 -07:00
2023-04-13 13:13:54 -07:00
2023-04-08 13:45:37 -07:00
2024-01-19 08:12:38 -08:00
2023-11-24 00:29:58 -05:00
2023-08-25 13:22:10 -07:00
2023-06-07 21:25:00 -07:00
2023-03-05 14:30:34 -08:00
2023-11-03 07:08:36 -10:00
2023-12-29 12:22:26 -08:00
2023-11-22 10:41:46 +01:00
2023-06-09 17:44:17 -07:00
2023-09-11 08:13:17 +00:00
2023-06-09 17:44:17 -07:00
2023-06-09 17:44:15 -07:00
2023-06-23 17:04:04 -07:00
2023-07-08 09:29:32 -07:00
2023-03-23 17:18:35 -07:00
2023-08-04 15:28:41 +02:00
2023-11-25 09:43:18 +01:00
2023-08-18 10:18:55 -07:00
2023-04-13 07:38:54 -06:00
2023-03-19 10:02:04 -07:00
2024-02-29 13:38:02 -08:00
2024-01-18 16:22:43 -08:00
2023-08-30 17:04:28 -07:00
2023-10-19 14:47:33 -04:00
2023-12-06 16:12:46 -08:00
2023-12-21 10:02:28 -08:00
2024-01-08 11:43:04 -08:00
2023-12-10 16:51:44 -08:00
2024-02-29 13:38:02 -08:00
2024-01-09 11:18:47 -08:00
2023-02-25 13:02:20 -08:00
2023-12-05 11:14:40 +01:00
2023-12-05 11:14:40 +01:00
2024-02-20 20:44:49 -08:00
2023-09-22 09:50:56 -07:00
2023-08-19 19:37:53 +02:00
2023-08-21 13:46:25 -07:00
2023-09-09 15:11:49 -07:00
2023-04-17 18:01:23 +02:00
2023-08-15 14:57:25 -07:00
2023-03-31 09:21:35 -06:00
2023-10-16 12:44:06 -04:00
2023-07-26 12:29:13 +02:00
2023-08-24 16:20:18 -07:00
2023-10-16 12:44:06 -04:00
2024-02-29 13:38:02 -08:00
2023-12-20 14:48:14 -08:00
2023-07-26 13:29:28 -06:00
2023-06-06 13:18:32 +02:00
2024-01-19 11:59:11 -08:00
2023-08-18 10:19:00 -07:00
2023-08-18 10:18:55 -07:00
2023-12-01 14:53:55 +09:00
2024-02-29 13:38:01 -08:00
2023-03-09 23:08:04 -08:00
2023-03-02 21:54:22 -08:00
2023-10-18 14:34:14 -07:00
2023-08-21 13:07:22 -07:00
2023-06-12 11:31:50 -07:00
2023-04-18 16:39:33 -07:00
2023-10-10 10:14:27 +02:00
2023-06-05 15:28:42 -07:00
2024-01-15 07:23:50 -07:00
2023-09-19 13:21:33 -07:00
2023-11-02 00:19:44 -04:00
2023-12-29 11:58:41 -08:00
2023-05-16 14:08:02 -07:00
2024-02-29 13:38:02 -08:00
2024-02-20 20:47:32 -08:00
2023-10-14 20:25:22 -07:00
2023-12-09 21:27:54 -08:00
2023-11-24 18:09:19 -08:00
2023-06-06 21:39:55 +09:00
2023-08-18 10:18:50 -07:00
2024-01-09 11:46:20 -08:00
2023-02-21 08:52:42 +09:00
2023-12-12 10:56:59 -08:00
2024-01-08 15:27:15 -08:00
2023-11-10 19:59:04 +09:00
2023-08-21 13:46:24 -07:00
2023-06-05 15:28:42 -07:00
2023-12-27 11:50:20 -05:00
2023-08-16 11:47:29 +02:00
2023-12-28 04:57:57 -08:00
2024-02-20 20:44:49 -08:00
2023-06-12 11:31:51 -07:00
2023-04-08 13:45:39 -07:00
2023-12-29 12:22:29 -08:00
2023-07-27 13:45:51 +02:00
2024-02-20 20:44:49 -08:00
2024-02-20 20:44:49 -08:00
2023-09-13 10:18:42 -07:00
2023-02-21 14:45:22 -08:00
2023-12-06 11:06:59 +01:00
2023-09-05 19:01:38 -04:00