From mehmet.ekici at ttmail.com Mon Dec 1 11:08:34 2008 From: mehmet.ekici at ttmail.com (mehmet.ekici) Date: Mon, 1 Dec 2008 21:08:34 +0200 Subject: [splint-discuss] Categorised checks Message-ID: <50837F2E7910654DBAD95DF6D1377FA11150DB@STT1EVS21.TTHMC.LOCAL> Hi All, I wonder if there is a way to do categorised checks. For example If like to check for memory problems. Do we have to enable every single parameter or disable. If I like to disable all but memory checks. Would it be possible without going everyi single parameters ? I also have another question. I am going to check a comlex system for memory leaks. Sistem consist of many modules, files, direcrories. Some memory allocated in one place and released in a completely different file. Different module use different allocation wrappers of definitions like myAlloc(x,y, z) { malloc(); } #define malloc MyAlloc Do you think splint can be helpful in a system like this ? Please guide me if there is any way. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cs.virginia.edu/pipermail/splint-discuss/attachments/20081201/6798de1a/attachment.html From christoph.thielecke at gmx.de Tue Dec 9 14:05:37 2008 From: christoph.thielecke at gmx.de (Christoph Thielecke) Date: Tue, 9 Dec 2008 23:05:37 +0100 Subject: [splint-discuss] splint gui available Message-ID: <200812092305.37824.christoph.thielecke@gmx.de> Hello list, I have made an GUI for splint using python and qt bindings (pyqt). It requires python2.5, PyQt4 and Qt4 and should run under all platforms where pyqt is available (Linux, Mac, Win). You can find it here: http://crissi.linux-administrator.com/linux/splintgui/ Any feedback, critics, bug reports and feature requests are welcome ;) Best regards Christoph -- Linux User Group Wernigerode http://www.lug-wr.de/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. Url : http://www.cs.virginia.edu/pipermail/splint-discuss/attachments/20081209/1a14dbc5/attachment.bin From ideasman42 at gmail.com Sat Dec 20 18:52:50 2008 From: ideasman42 at gmail.com (Campbell Barton) Date: Sat, 20 Dec 2008 18:52:50 -0800 Subject: [splint-discuss] Running Splint on entire project (util script) Message-ID: <7c1ab96d0812201852r45fe4f6ct9402a89b88892711@mail.gmail.com> Hi there, thanks for splint! Just used it to fix a bug over 10 years old :) To use splint on many files I wrote a util that could be of use to others (or I might have re-invented the wheel :/) I wanted to run splint on all C files in Blender3D, ~1973 of them, but getting the includes right for each file is annoying. So I wrote a simple python script that parses the output of a clean build and runs splint on every C file. "gcc -o blah.o -O2 -I/myinclude some.c" ... looks for the -I* and *.c itens and runs "splint -I/myinclude some.c" Tested it to work with python and pygame also http://wiki.blender.org/index.php/User:Ideasman42#Using_Splint_Static_C_Source_Checking Would be interested to know if there are better tools, or if others find this useful. -- - Campbell From ideasman42 at gmail.com Sat Dec 20 20:04:26 2008 From: ideasman42 at gmail.com (Campbell Barton) Date: Sat, 20 Dec 2008 20:04:26 -0800 Subject: [splint-discuss] Filtering output Message-ID: <7c1ab96d0812202004y4d04f64fv329ff0695b33715@mail.gmail.com> One of the main problems I have with splint is that you get a deluge of errors, is there some way to get an ID for each error so they can be sorted into groups when reviewing the output from an entire codebase? At the moment variable names and file names are mixed in with the error so its not that easy to sort by error type. -- - Campbell