Dave Malcolm

Number of videos:
2
Static analysis of Python extension modules using GCC
PyCon US 2012
Dave Malcolm
Recorded: March 9, 2012Language: English

Want to analyse C/C++ code using Python? I've written a plugin for GCC that embeds Python inside the compiler, allowing you to write new C/C++ compilation passes in Python. I've used this to build a static analysis tool that understands the CPython extension API, and can automatically detect reference- counting bugs, and other errors.