danmar/cppcheck — pull request #235 by scriptum (2014-02-05 16:00:07+00:00)
Title: Library: add full GLib/GTK support

The addition is huge because of redundancy of XML language and many gtk/glib functions that should be ignored. Bit this list was able to detect many new memory leaks in GTK-based projects: https://gist.github.com/scriptum/7375347, https://gist.github.com/scriptum/7282262

Note that GLib has no g_strcpy function! This function was removed from lib.

Actually this library was auto-generated in several steps. First - manual collecting of alloc/dealloc functions from manual. Second - manual collecting non-leak-ignore functions but there may be more false-positives for GTK. Third - parsing GObject introspection for GTK and GLib functions with assumption that all other functions aren't leak-ignore. Original project is here: https://github.com/scriptum/cppcheck-libs.