(/usr/include/bits/stdio2.h) |
| |
| 244 | | | __extern_always_inline __wur char *
x /usr/include/sys/cdefs.h |
| |
307 | # define __extern_always_inline \ |
308 | extern __always_inline __attribute__ ((__artificial__)) |
| |
x /usr/include/sys/cdefs.h |
| |
287 | # define __always_inline __inline __attribute__ ((__always_inline__)) |
| |
x /usr/include/sys/cdefs.h |
| |
276 | # define __wur __attribute_warn_unused_result__ |
| |
x /usr/include/sys/cdefs.h |
| |
273 | # define __attribute_warn_unused_result__ \ |
274 | __attribute__ ((__warn_unused_result__)) |
| |
|
| 245 | | | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) |
| 246 | | | { |
| 247 | | | if (__bos (__s) != (size_t) -1)
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 248 | | | { |
| 249 | | | if (!__builtin_constant_p (__n) || __n <= 0) |
Unreachable Call
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 250 | | | return __fgets_chk (__s, __bos (__s), __n, __stream);
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 251 | | | |
| 252 | | | if ((size_t) __n > __bos (__s))
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 253 | | | return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 254 | | | } |
| 255 | | | return __fgets_alias (__s, __n, __stream); |
| 256 | | | } |
| |