public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/94855] New: provide an option to initialize automatic variable for security purpose
@ 2020-04-29 17:31 qinzhao at gcc dot gnu.org
  2020-04-29 17:36 ` [Bug middle-end/94855] " qinzhao at gcc dot gnu.org
  2020-04-29 18:51 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2020-04-29 17:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94855
           Summary: provide an option to initialize automatic variable for
                    security purpose
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qinzhao at gcc dot gnu.org
  Target Milestone: ---

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

* [Bug middle-end/94855] provide an option to initialize automatic variable for security purpose
  2020-04-29 17:31 [Bug middle-end/94855] New: provide an option to initialize automatic variable for security purpose qinzhao at gcc dot gnu.org
@ 2020-04-29 17:36 ` qinzhao at gcc dot gnu.org
  2020-04-29 18:51 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2020-04-29 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from qinzhao at gcc dot gnu.org ---
this is a request to provide a new option in GCC to initialize automatic
variables for security purpose.

Motivations for this request:

1. Kees Cook's slide:
https://outflux.net/slides/2019/lca/danger.pdf
https://outflux.net/slides/2019/lpc/gcc-and-clang.pdf

2. LLVM's implementation: 
https://reviews.llvm.org/D54604

3. Kernal's plugin

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/gcc-plugins/structleak_plugin.c)

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

* [Bug middle-end/94855] provide an option to initialize automatic variable for security purpose
  2020-04-29 17:31 [Bug middle-end/94855] New: provide an option to initialize automatic variable for security purpose qinzhao at gcc dot gnu.org
  2020-04-29 17:36 ` [Bug middle-end/94855] " qinzhao at gcc dot gnu.org
@ 2020-04-29 18:51 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-04-29 18:51 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 87210.

*** This bug has been marked as a duplicate of bug 87210 ***

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

end of thread, other threads:[~2020-04-29 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 17:31 [Bug middle-end/94855] New: provide an option to initialize automatic variable for security purpose qinzhao at gcc dot gnu.org
2020-04-29 17:36 ` [Bug middle-end/94855] " qinzhao at gcc dot gnu.org
2020-04-29 18:51 ` pinskia 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).