[Bug c/107048] GCC lacks -fsanitize=kcfi

ashimida at linux dot alibaba.com gcc-bugzilla@gcc.gnu.org
Mon Oct 24 09:25:57 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048

--- Comment #1 from ashimida <ashimida at linux dot alibaba.com> ---
(In reply to peterz from comment #0)
> Please implement -fsanitize=kcfi to match llvm/clang:
> 
>  
> https://github.com/samitolvanen/llvm-project/commit/
> f7bf6a87c4fd945800115a17b8b61390541fabd0
> 
> The Linux kernel patches are queued and slated for the next merge window.
> Things like FineIBT rely on having this feature enabled.

A related issue:
Bug 107374 - Please expand the size of flag_sanitize to uint64_t

Ref:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107374


More information about the Gcc-bugs mailing list