check pygame with cpychecker

Issue #171 new
René Dudfield created an issue

A tool which can detect memory leaks and ref count bugs in python c extensions.

Comments (7)

  1. Lenard Lindstrom

    Well, I built GCC Python Plugin for Python 2.7 and the CPyChecker demo works. I will try it on a Pygame build, but the output is likely to be large.

  2. Lenard Lindstrom

    Well, I tried CPyChecker on a Pygame build, and commited changeset 6edd09029351 to correct the problems it found. But it stalled out on font.c, so only two modules were checked. Likely I will have to go through modules individually. Also, this was a Python 2.7 check. Python 3 should be done as well.

    I would attach an example CPyChecker report, but they were clobbered when I performed full unit testing on the changeset. But there will be plenty of opportunities to come.

    I found the youtube video informative. I subscribed to the mailing list.

  3. Log in to comment