public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement
@ 2022-06-08 14:28 dmalcolm at gcc dot gnu.org
  2022-06-08 17:30 ` [Bug analyzer/105887] [meta-bug] " egallager at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-06-08 14:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105887
           Summary: RFE: clang analyzer warnings that GCC's -fanalyzer
                    could implement
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: meta-bug
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

https://clang.llvm.org/docs/analyzer/checkers.html has a handy list of checkers
that the Clang Static Analyzer implements.

There are various useful tests implemented there that we don't yet implement.

Filing this as a tracker bug for RFEs to track implementing more of them.

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

* [Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement
  2022-06-08 14:28 [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement dmalcolm at gcc dot gnu.org
@ 2022-06-08 17:30 ` egallager at gcc dot gnu.org
  2022-07-02 17:11 ` tlange at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: egallager at gcc dot gnu.org @ 2022-06-08 17:30 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
           Severity|normal                      |enhancement
     Ever confirmed|0                           |1
            Summary|RFE: clang analyzer         |[meta-bug] clang analyzer
                   |warnings that GCC's         |warnings that GCC's
                   |-fanalyzer could implement  |-fanalyzer could implement
   Last reconfirmed|                            |2022-06-08

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Confirming as a useful meta-bug; I'd like to see some of the ObjC/osx ones
myself

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

* [Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement
  2022-06-08 14:28 [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement dmalcolm at gcc dot gnu.org
  2022-06-08 17:30 ` [Bug analyzer/105887] [meta-bug] " egallager at gcc dot gnu.org
@ 2022-07-02 17:11 ` tlange at gcc dot gnu.org
  2022-07-28 21:37 ` dmalcolm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tlange at gcc dot gnu.org @ 2022-07-02 17:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
Bug 105887 depends on bug 105900, which changed state.

Bug 105900 Summary: RFE: -fanalyzer could check malloc sizes when casting the result to a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900

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

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

* [Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement
  2022-06-08 14:28 [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement dmalcolm at gcc dot gnu.org
  2022-06-08 17:30 ` [Bug analyzer/105887] [meta-bug] " egallager at gcc dot gnu.org
  2022-07-02 17:11 ` tlange at gcc dot gnu.org
@ 2022-07-28 21:37 ` dmalcolm at gcc dot gnu.org
  2022-08-05 23:54 ` dmalcolm at gcc dot gnu.org
  2022-10-06 20:01 ` dmalcolm at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-07-28 21:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
Bug 105887 depends on bug 105893, which changed state.

Bug 105893 Summary: RFE: -fanalyzer could check putenv calls
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105893

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement
  2022-06-08 14:28 [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement dmalcolm at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-07-28 21:37 ` dmalcolm at gcc dot gnu.org
@ 2022-08-05 23:54 ` dmalcolm at gcc dot gnu.org
  2022-10-06 20:01 ` dmalcolm at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-08-05 23:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
Bug 105887 depends on bug 105947, which changed state.

Bug 105947 Summary: RFE: -fanalyzer should complain about jumps through NULL function pointers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105947

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

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

* [Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement
  2022-06-08 14:28 [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement dmalcolm at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-08-05 23:54 ` dmalcolm at gcc dot gnu.org
@ 2022-10-06 20:01 ` dmalcolm at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-10-06 20:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
Bug 105887 depends on bug 106000, which changed state.

Bug 106000 Summary: RFE: -fanalyzer should complain about memory accesses that are definitely out-of-bounds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000

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

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

end of thread, other threads:[~2022-10-06 20:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 14:28 [Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement dmalcolm at gcc dot gnu.org
2022-06-08 17:30 ` [Bug analyzer/105887] [meta-bug] " egallager at gcc dot gnu.org
2022-07-02 17:11 ` tlange at gcc dot gnu.org
2022-07-28 21:37 ` dmalcolm at gcc dot gnu.org
2022-08-05 23:54 ` dmalcolm at gcc dot gnu.org
2022-10-06 20:01 ` dmalcolm 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).