diff options
Diffstat (limited to 'include/fortify-headers.h')
| -rw-r--r-- | include/fortify-headers.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h index 7e84075..b5c8bc0 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h | |||
| @@ -124,11 +124,12 @@ | |||
| 124 | 124 | ||
| 125 | #endif /* __has_attribute */ | 125 | #endif /* __has_attribute */ |
| 126 | 126 | ||
| 127 | // Since we're not allow to include anything. | 127 | /* |
| 128 | // https://awesomekling.github.io/How-SerenityOS-declares-ssize_t/ | 128 | Since we're not allow to include anything. |
| 129 | https://awesomekling.github.io/How-SerenityOS-declares-ssize_t/ | ||
| 130 | */ | ||
| 129 | #define __fh_size_t __typeof__(sizeof(char)) | 131 | #define __fh_size_t __typeof__(sizeof(char)) |
| 130 | 132 | ||
| 131 | //TODO(jvoisin) Add a check for overflows | ||
| 132 | /* check if pointers are overlapping but not if dst == src, | 133 | /* check if pointers are overlapping but not if dst == src, |
| 133 | * since gcc seems to like to generate code that relies on dst == src */ | 134 | * since gcc seems to like to generate code that relies on dst == src */ |
| 134 | #define __fh_overlap(a, len_a, b, len_b) \ | 135 | #define __fh_overlap(a, len_a, b, len_b) \ |
