public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/105900] New: RFE: -fanalyzer could check malloc sizes when casting the result to a pointer
@ 2022-06-08 15:05 dmalcolm at gcc dot gnu.org
  2022-06-16 12:54 ` [Bug analyzer/105900] " dmalcolm 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 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105900
           Summary: RFE: -fanalyzer could check malloc sizes when casting
                    the result to a pointer
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
            Blocks: 105887
  Target Milestone: ---

See:
  https://clang.llvm.org/docs/analyzer/checkers.html#unix-mallocsizeof-c

Tim Lange has expressed an interest in implementing this as part of GSoC 2022.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
[Bug 105887] RFE: clang analyzer warnings that GCC's -fanalyzer could implement

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

end of thread, other threads:[~2022-07-02 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 15:05 [Bug analyzer/105900] New: RFE: -fanalyzer could check malloc sizes when casting the result to a pointer dmalcolm at gcc dot gnu.org
2022-06-16 12:54 ` [Bug analyzer/105900] " dmalcolm at gcc dot gnu.org
2022-06-16 13:48 ` dmalcolm at gcc dot gnu.org
2022-06-17 15:55 ` tlange at gcc dot gnu.org
2022-07-02 17:08 ` cvs-commit at gcc dot gnu.org
2022-07-02 17:11 ` tlange 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).