public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/107646] New: RFE: can we reimplement gcc-python-plugin's cpychecker as a -fanalyzer plugin?
@ 2022-11-11 16:55 dmalcolm at gcc dot gnu.org
  2022-11-11 16:58 ` [Bug analyzer/107646] " dmalcolm at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-11-11 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107646
           Summary: RFE: can we reimplement gcc-python-plugin's cpychecker
                    as a -fanalyzer plugin?
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

My gcc-python-plugin implements a crude static analysis of CPython code, using
symbolic execution in a manner similar to how -fanalyzer works, but it's been
bitrotting for years, and is slow (being written in Python itself):
  https://gcc-python-plugin.readthedocs.io/en/latest/cpychecker.html

I *think* this could now be reimplemented as a plugin to GCC's -fanalyzer (in
C++), where -fanalyzer provides most of the framework needed, and we'd mostly
just need to write the CPython-specific parts.

It would make an interesting GSoC project (albeit perhaps a challenging one).

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

end of thread, other threads:[~2024-05-14 13:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 16:55 [Bug analyzer/107646] New: RFE: can we reimplement gcc-python-plugin's cpychecker as a -fanalyzer plugin? dmalcolm at gcc dot gnu.org
2022-11-11 16:58 ` [Bug analyzer/107646] " dmalcolm at gcc dot gnu.org
2023-08-02 20:59 ` cvs-commit at gcc dot gnu.org
2023-08-11 17:33 ` cvs-commit at gcc dot gnu.org
2023-08-17 18:26 ` dmalcolm at gcc dot gnu.org
2023-08-17 18:45 ` dmalcolm at gcc dot gnu.org
2023-08-17 18:53 ` dmalcolm at gcc dot gnu.org
2023-08-17 18:53 ` dmalcolm at gcc dot gnu.org
2023-08-17 18:59 ` dmalcolm at gcc dot gnu.org
2023-08-17 19:46 ` dmalcolm at gcc dot gnu.org
2023-08-18  0:39 ` dmalcolm at gcc dot gnu.org
2023-08-30 22:06 ` cvs-commit at gcc dot gnu.org
2024-05-14 13:51 ` 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).