This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [0/27] RFC: fix reports from the CPython checker
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Date: Fri, 19 Apr 2013 17:23:00 +0300
- Subject: Re: [0/27] RFC: fix reports from the CPython checker
- References: <87ehe638ww dot fsf at fleche dot redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 19 Apr 2013 08:13:51 -0600
>
> The Python plugin for GCC comes with an analyzer that checks the usage
> of the CPython API:
>
> https://gcc-python-plugin.readthedocs.org/en/latest/cpychecker.html
>
> I ran this checker on gdb and fixed a number of bugs that it pointed
> out.
>
> Unfortunately the checker still has a large number of false reports.
> Some of these are due to oddities in gdb -- cleanups mostly -- but some
> are bugs in the checker itself. I've filed bug reports against the
> checker (and fixed some bugs as well); and will file more later.
>
> I built and regtested this series on x86-64 Fedora 18.
>
> I think most of the patches are pretty obvious.
>
> I intend to run the checker periodically and fix problems.
Would it be a good idea to run it automatically by ARI?