Marco Trevisan (Treviño)
3d474bd8c1
unix: Prevent compiler optimization to ignore our memset to zero
...
It's well known that memset may be optimized out by compilers and this
is one of these cases that freebsd CI highlighted.
To prevent this to happen we should use memset_explicit() but that's C23, so
till we don't support that, let's re-implement that ourself
making the compiler not to optimize our memset's.
In theory we could just rely on C11's memset_s, but that's not working
either in freebsd.
2024-04-16 13:49:46 +02:00
..
2020-10-01 11:46:23 +01:00
2020-04-03 16:30:27 +02:00
2022-11-01 01:56:27 +01:00
2020-07-17 15:08:59 +01:00
2024-01-16 12:50:31 +01:00
2022-06-01 12:44:23 +01:00
2024-01-15 16:30:47 -08:00
2023-07-26 15:41:47 +01:00
2023-03-02 09:36:10 -05:00
2023-08-24 19:45:09 +00:00
2023-10-10 08:30:46 -07:00
2024-01-17 08:57:12 -05:00
2022-04-01 00:18:40 +01:00
2022-06-21 12:57:33 +01:00
2023-03-06 18:25:42 +00:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:21:02 +01:00
2023-10-17 22:59:27 +01:00
2023-10-17 22:59:27 +01:00
2022-06-01 12:44:23 +01:00
2020-10-14 14:17:09 +02:00
2022-11-07 11:30:32 +00:00
2022-05-18 09:21:02 +01:00
2022-11-02 12:34:19 +00:00
2023-10-04 13:43:05 +01:00
2023-10-03 11:07:16 +02:00
2023-12-20 19:23:40 +01:00
2023-10-12 11:45:03 +02:00
2024-03-22 00:47:28 +00:00
2022-11-07 11:30:32 +00:00
2023-11-23 12:34:39 +00:00
2018-12-17 16:19:31 -05:00
2013-11-11 22:38:36 +08:00
2023-05-22 17:33:29 +01:00
2023-02-20 16:41:23 +00:00
2023-11-26 22:10:22 +00:00
2024-02-13 13:31:29 +00:00
2022-05-17 17:23:34 +01:00
2022-05-17 17:23:34 +01:00
2023-09-27 16:19:44 +02:00
2023-01-20 14:06:23 +01:00
2023-09-06 12:11:49 +00:00
2022-06-01 12:44:23 +01:00
2024-01-16 16:55:08 +00:00
2022-12-06 12:25:22 +01:00
2022-12-16 18:45:36 +01:00
2017-02-20 12:40:26 +01:00
2022-11-02 12:34:19 +00:00
2022-05-18 09:21:02 +01:00
2013-11-23 00:39:07 -05:00
2023-10-12 11:32:03 +02:00
2022-05-18 09:21:02 +01:00
2022-02-17 21:42:35 +00:00
2023-10-04 11:30:02 +01:00
2022-06-23 10:47:13 +01:00
2023-11-21 20:49:37 +01:00
2022-11-22 17:23:14 +01:00
2023-05-18 11:26:33 +02:00
2020-07-27 15:41:09 +01:00
2024-01-18 17:22:09 +00:00
2022-07-25 22:30:22 +01:00
2020-11-13 10:12:16 +01:00
2023-04-11 12:19:30 +01:00
2022-07-25 22:30:22 +01:00
2023-01-27 11:55:27 +03:00
2022-11-02 12:34:19 +00:00
2022-10-27 14:50:48 +01:00
2022-11-02 12:34:19 +00:00
2022-05-18 09:21:02 +01:00
2024-03-19 13:01:26 +00:00
2023-07-26 15:41:47 +01:00
2023-11-07 13:51:56 +00:00
2023-06-22 14:22:03 +00:00
2022-05-18 09:21:02 +01:00
2023-03-24 12:21:37 +00:00
2023-10-04 13:57:16 +01:00
2023-10-04 13:57:16 +01:00
2022-11-02 12:34:19 +00:00
2022-11-02 12:34:19 +00:00
2022-05-18 09:21:02 +01:00
2023-02-10 11:13:36 +00:00
2022-05-18 09:21:02 +01:00
2023-10-03 10:26:10 +02:00
2022-11-02 12:34:19 +00:00
2023-03-16 12:05:07 +00:00
2022-11-02 12:34:19 +00:00
2022-05-18 09:21:02 +01:00
2023-06-01 12:19:09 +01:00
2022-06-23 10:47:13 +01:00
2022-05-18 09:21:02 +01:00
2024-02-26 16:55:44 +00:00
2022-05-18 09:21:02 +01:00
2022-11-02 12:34:19 +00:00
2022-06-23 10:47:13 +01:00
2022-01-25 20:18:41 +01:00
2022-10-24 21:33:18 +02:00
2022-05-18 09:21:02 +01:00
2023-01-25 13:49:09 +00:00
2020-03-05 09:39:33 +01:00
2022-05-18 09:21:02 +01:00
2023-10-12 11:32:03 +02:00
2022-05-18 09:21:02 +01:00
2022-05-18 14:01:43 +00:00
2023-08-16 14:31:40 +01:00
2021-01-28 18:37:45 +00:00
2023-01-20 14:06:23 +01:00
2023-04-14 17:15:28 +01:00
2023-03-20 10:43:25 +00:00
2023-11-27 13:26:51 +00:00
2024-03-22 00:08:26 +00:00
2022-06-28 11:19:21 +01:00
2023-11-27 12:20:12 +00:00
2022-11-02 12:34:19 +00:00
2022-11-02 12:34:19 +00:00
2024-01-18 15:23:53 +00:00
2024-01-18 17:22:09 +00:00
2023-10-09 18:44:38 +01:00
2022-05-06 10:50:40 +02:00
2023-11-03 12:10:49 +00:00
2022-11-02 12:34:19 +00:00
2023-12-22 16:11:45 +00:00
2023-05-02 13:42:54 +02:00
2023-06-21 11:52:03 +01:00
2023-08-12 19:41:26 +01:00
2022-05-18 09:21:02 +01:00
2022-04-04 18:51:30 +02:00
2023-11-26 22:41:26 +00:00
2023-10-17 22:45:55 +01:00
2024-04-16 13:49:46 +02:00
2023-12-20 19:23:40 +01:00
2023-05-25 00:36:56 +02:00
2022-06-21 12:57:33 +01:00
2022-05-18 09:21:02 +01:00
2022-05-18 09:21:02 +01:00
2022-04-04 18:51:30 +02:00
2022-12-19 21:37:19 +01:00
2023-11-23 12:18:21 +00:00
2023-10-12 11:45:33 +02:00