3 ms·
Very cool From the previous article linked at the footer of this one: - https://developers.redhat.com/blog/2021/04/16/broadening-compiler-checks-for-buffer-ov
by gavinray 4y ago
Very cool
From the previous article linked at the footer of this one:
- https://developers.redhat.com/blog/2021/04/16/broadening-compiler-checks-for-buffer-overflows-in-_fortify_source https://developers.redhat.com/blog/2021/04/16/broadening-com...
It says that this is available in LLVM
GCC support for __builtin_dynamic_object_size or equivalent functionality is in progress. At the moment this is available only when building applications with LLVM. There are some unspecified corner cases with __builtin_dynamic_object_size that may result in avoidable performance overheads. We hope to iron those out with the GCC implementation and feed it back into LLVM, thus making both implementations consistent and performant.
Does this mean I can set this flag in Clang and it'll work?
- siddhesh 4y agoYes.