(/usr/include/bits/unistd.h) |
| |
| 88 | | | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) |
| 89 | | | { |
| 90 | | | if (__bos0 (__buf) != (size_t) -1)
x /usr/include/sys/cdefs.h |
| |
133 | #define __bos0(ptr) __builtin_object_size (ptr, 0) |
| |
|
| 91 | | | { |
| 92 | | | if (!__builtin_constant_p (__nbytes)) |
| 93 | | | return __pread64_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf));
x /usr/include/sys/cdefs.h |
| |
133 | #define __bos0(ptr) __builtin_object_size (ptr, 0) |
| |
|
| 94 | | | |
| 95 | | | if ( __nbytes > __bos0 (__buf))
x /usr/include/sys/cdefs.h |
| |
133 | #define __bos0(ptr) __builtin_object_size (ptr, 0) |
| |
|
Unreachable Call
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 96 | | | return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, |
| 97 | | | __bos0 (__buf));
x /usr/include/sys/cdefs.h |
| |
133 | #define __bos0(ptr) __builtin_object_size (ptr, 0) |
| |
|
| 98 | | | } |
| 99 | | | |
| 100 | | | return __pread64_alias (__fd, __buf, __nbytes, __offset); |
| 101 | | | } |
| |