newlib-cygwin/newlib/libc/include/ssp
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
..
ssp.h ssp: add support for _FORTIFY_SOURCE=3 2024-01-29 14:03:37 +01:00
stdio.h ssp: add Object Size Checking for stdio.h, part 1 2017-11-29 11:25:42 -06:00
stdlib.h ssp: add Object Size Checking for stdlib.h 2017-11-30 12:09:03 -06:00
string.h ssp: add support for _FORTIFY_SOURCE=3 2024-01-29 14:03:37 +01:00
strings.h ssp: add support for _FORTIFY_SOURCE=3 2024-01-29 14:03:37 +01:00
unistd.h ssp: add Object Size Checking for unistd.h, part 2 2017-12-01 03:41:49 -06:00
wchar.h ssp: fix wchar.h with -std=c99 2018-03-14 10:46:32 -05:00