Issue #171 new

check pygame with cpychecker

illume
created an issue

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

http://emptysqua.re/blog/analyzing-python-c-extensions-with-cpychecker/

Comments (6)

  1. 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.

  2. Log in to comment