(/usr/include/bits/unistd.h) |
| |
| 200 | | | __extern_always_inline __wur char *
x /usr/include/sys/cdefs.h |
| |
298 | # define __extern_always_inline \ |
299 | extern __always_inline __attribute__ ((__gnu_inline__, __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__)) |
| |
|
| 201 | | | __NTH (getcwd (char *__buf, size_t __size))
x /usr/include/sys/cdefs.h |
| |
48 | # define __NTH(fct) __attribute__ ((__nothrow__)) fct |
| |
|
| 202 | | | { |
| 203 | | | if (__bos (__buf) != (size_t) -1)
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 204 | | | { |
| 205 | | | if (!__builtin_constant_p (__size)) |
| 206 | | | return __getcwd_chk (__buf, __size, __bos (__buf));
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 207 | | | |
| 208 | | | if (__size > __bos (__buf))
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
Unreachable Call
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 209 | | | return __getcwd_chk_warn (__buf, __size, __bos (__buf));
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 210 | | | } |
| 211 | | | return __getcwd_alias (__buf, __size); |
| 212 | | | } |
| |