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

2023-01-23 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048

--- Comment #2 from Sam James  ---
See https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608723.html and so
on. kees mentioned this is currently in review and a new version is being spun
up.

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

2022-10-24 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048

--- Comment #1 from ashimida  ---
(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