public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/105899] New: RFE: -fanalyzer could complain about misuses of standard C string APIs
@ 2022-06-08 15:00 dmalcolm at gcc dot gnu.org
  2023-08-11 22:09 ` [Bug analyzer/105899] " cvs-commit at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-06-08 15:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105899
           Summary: RFE: -fanalyzer could complain about misuses of
                    standard C string APIs
           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
    1.2.13.8. alpha.unix.cstring.NotNullTerminated (C)
    1.2.13.9. alpha.unix.cstring.OutOfBounds (C)
    1.2.13.10. alpha.unix.cstring.UninitializedRead (C)

Difficult to implement if we do the general case; but fairly easy for detecting
the "definitely happens" cases, I think.


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] 16+ messages in thread

end of thread, other threads:[~2023-09-06 13:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 15:00 [Bug analyzer/105899] New: RFE: -fanalyzer could complain about misuses of standard C string APIs dmalcolm at gcc dot gnu.org
2023-08-11 22:09 ` [Bug analyzer/105899] " cvs-commit at gcc dot gnu.org
2023-08-11 23:16 ` dmalcolm at gcc dot gnu.org
2023-08-22  1:16 ` cvs-commit at gcc dot gnu.org
2023-08-22  1:16 ` cvs-commit at gcc dot gnu.org
2023-08-22 22:38 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:26 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:26 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:26 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org
2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org
2023-08-29 14:59 ` cvs-commit at gcc dot gnu.org
2023-09-06 13:33 ` cvs-commit at gcc dot gnu.org
2023-09-06 13:33 ` cvs-commit 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).