Commit Graph

24 Commits

Author SHA1 Message Date
Reijo Tomperi edff8d326f Memoryleak: fopen and popen report now "Resource leak" instead of "Memory leak" 2008-12-12 19:08:30 +00:00
Nicolas Le Cam aaabacfe87 Formatting: uniformize end of lines. 2008-12-09 00:49:32 +00:00
Nicolas Le Cam eb80c9786f Revert revisions 627 and 628 2008-12-08 23:41:34 +00:00
Nicolas Le Cam e8d2c7cfb3 Formatting: uniformize end of lines (part 2) 2008-12-08 23:10:13 +00:00
Nicolas Le Cam 625b77ec33 Formatting: uniformize end of lines. 2008-12-08 23:06:19 +00:00
Daniel Marjamäki 7c32b7b2bb Memory leaks: Better handling of "realloc". Fixing bug [ 2395262 ] 2008-12-06 13:33:22 +00:00
Reijo Tomperi 9b56be86c6 Minor improvement to code comments. 2008-12-01 22:33:21 +00:00
Daniel Marjamäki e968b42c38 Memory leaks: When "--debug" is given the checking will be different to
highlight problems in "getcode" and "simplifycode"
2008-12-01 07:50:36 +00:00
Daniel Marjamäki 2e22c7cb1d CheckMemoryLeak: Refactoring. Use TOKEN::isStandardType instead of rewriting its functionality 2008-11-26 07:23:54 +00:00
Reijo Tomperi 29a1468523 Refactoring: Renamed some member variables: variable -> _variable 2008-11-23 11:08:07 +00:00
Daniel Marjamäki 0d3a99adb0 increased constness of member variable _tokenizer in the Check* classes 2008-11-22 20:00:36 +00:00
Daniel Marjamäki 66412ed4ae Memory leak: Added checking for 'fopen' and 'popen' 2008-11-21 18:17:40 +00:00
Reijo Tomperi 51e9d98a5f Refactoring: Errors are no longer logged via global functions to a global stream. Instead callback function is used via interface.
ErrorLogger interface was added and taken into use.
2008-11-20 22:19:26 +00:00
Reijo Tomperi 231e753289 Refactoring: static variable in CheckMemoryLeak is now a private member of the class. 2008-11-16 15:39:42 +00:00
Reijo Tomperi ce08224547 Few static variables are now private members. ShowAll etc. global variables are now members of Settings class and given as a
parameter to the classes that need them.
2008-11-16 15:18:50 +00:00
Daniel Marjamäki 2ecb805283 Memory leak: Mismatching allocation and deallocation in subfunction 2008-11-16 13:55:16 +00:00
Daniel Marjamäki d5d2f0671c Memory leak: reverted most of change 461. 2008-11-16 06:34:22 +00:00
Daniel Marjamäki 2cbfa6b60b Memory Leak: Handling Linux lists better => Detect more leaks 2008-11-15 18:24:40 +00:00
Reijo Tomperi 134985e410 Refactoring: Tokenizer object given as a parameter to most of the classes 2008-11-12 21:34:47 +00:00
Reijo Tomperi f242c4fddd Refactoring: Following new classes were created:
CheckBufferOverrunClass
CheckClass
CheckHeaders
CheckMemoryLeakClass
CheckOther
Preprocessor
2008-11-11 06:42:09 +00:00
Daniel Marjamäki 789aac2ef4 cleanup the files 2008-11-07 16:25:29 +00:00
Daniel Marjamäki cdf9ee4d8a Memory Leaks: Improved the checking of loops. 2008-11-07 07:46:28 +00:00
Daniel Marjamäki 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Daniel Marjamäki 454c349363 CheckMemoryLeak: Added files (Check for memory leaks) 2007-05-24 13:08:51 +00:00