4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-01 20:10:33 +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
..
2016-10-25 16:24:05 +02:00
2019-11-04 07:03:15 +01:00
2018-01-17 11:47:17 -06:00
2022-09-26 13:44:21 -04:00
2023-06-21 15:15:03 +02:00
2022-05-29 17:45:52 -04:00
2018-01-17 11:47:17 -06:00
2018-01-17 11:47:13 -06:00
2021-11-15 19:32:23 -05:00
2024-01-15 12:52:56 +01:00
2021-11-15 19:32:23 -05:00