public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107048] New: GCC lacks -fsanitize=kcfi
@ 2022-09-27  7:28 peterz at infradead dot org
  2022-10-24  9:25 ` [Bug c/107048] " ashimida at linux dot alibaba.com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: peterz at infradead dot org @ 2022-09-27  7:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107048
           Summary: GCC lacks -fsanitize=kcfi
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peterz at infradead dot org
  Target Milestone: ---

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/107048] GCC lacks -fsanitize=kcfi
  2022-09-27  7:28 [Bug c/107048] New: GCC lacks -fsanitize=kcfi peterz at infradead dot org
@ 2022-10-24  9:25 ` ashimida at linux dot alibaba.com
  2023-01-24  5:42 ` sam at gentoo dot org
  2023-03-31 10:41 ` [Bug sanitizer/107048] " xry111 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ashimida at linux dot alibaba.com @ 2022-10-24  9:25 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/107048] GCC lacks -fsanitize=kcfi
  2022-09-27  7:28 [Bug c/107048] New: GCC lacks -fsanitize=kcfi peterz at infradead dot org
  2022-10-24  9:25 ` [Bug c/107048] " ashimida at linux dot alibaba.com
@ 2023-01-24  5:42 ` sam at gentoo dot org
  2023-03-31 10:41 ` [Bug sanitizer/107048] " xry111 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: sam at gentoo dot org @ 2023-01-24  5:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sam James <sam at gentoo dot org> ---
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/107048] GCC lacks -fsanitize=kcfi
  2022-09-27  7:28 [Bug c/107048] New: GCC lacks -fsanitize=kcfi peterz at infradead dot org
  2022-10-24  9:25 ` [Bug c/107048] " ashimida at linux dot alibaba.com
  2023-01-24  5:42 ` sam at gentoo dot org
@ 2023-03-31 10:41 ` xry111 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-03-31 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
                 CC|                            |xry111 at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-03-31

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-31 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27  7:28 [Bug c/107048] New: GCC lacks -fsanitize=kcfi peterz at infradead dot org
2022-10-24  9:25 ` [Bug c/107048] " ashimida at linux dot alibaba.com
2023-01-24  5:42 ` sam at gentoo dot org
2023-03-31 10:41 ` [Bug sanitizer/107048] " xry111 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).