4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 12:30:24 +08:00
Christian Franke 497e6eb2c0 ssp: add support for _FORTIFY_SOURCE=3
If specified, use __builtin_dynamic_object_size() instead of
__builtin_object_size() if supported (GCC 12.0 or later).
This enables buffer overflow checks if the buffer size is non-const
but known during runtime.
Use new macro __ssp_bos_known() instead of the (bos(p) != (size_t)-1)
checks.  The latter is no longer a compile time constant in all cases.
This avoids the generation of unused code.

Signed-off-by: Christian Franke <christian.franke@t-online.de>
2024-01-29 14:03:37 +01:00
..
2023-08-17 18:14:15 -04:00
2018-01-17 11:47:30 -06:00
2023-08-09 11:38:03 +02:00
2016-04-04 10:25:27 -05:00
2021-11-15 19:32:23 -05:00
2021-02-09 11:07:59 +01:00
2018-09-06 14:11:45 +02:00
2021-11-15 19:32:23 -05:00
2023-12-04 10:26:41 +01:00
2016-11-22 14:21:35 +01:00
2022-05-04 13:08:10 -04:00
2022-05-29 17:45:52 -04:00
2023-08-09 11:38:03 +02:00
2016-10-25 16:24:05 +02:00
2021-10-27 20:02:06 +02:00
2016-04-04 10:25:29 -05:00
2022-07-13 06:55:46 +02:00