Commit Graph

80 Commits

Author SHA1 Message Date
Daniel Marjamäki 03f3ee62a0 cleanup: removed deprecated files. security checking and errmsg 2009-07-12 19:18:38 +02:00
Daniel Marjamäki 15dbf9c085 Refactoring: Renaming the CheckMemoryLeakClass to CheckMemoryLeak. Deleted testmemleakmp 2009-06-08 18:51:17 +02:00
Daniel Marjamäki d7fa3e6dda Refactoring: Renamed CheckFunctionUsage to CheckUnusedFunctions 2009-06-07 22:12:20 +02:00
Daniel Marjamäki 638d18cfc8 tokenize: use mathlib when simplifying calculations (ticket: 236) 2009-04-06 19:23:30 +02:00
Daniel Marjamäki 97f5380a2c added testing for mathlib 2009-04-06 19:08:13 +02:00
Daniel Marjamäki f0d870c52d Added math library that was created by hoangtuansu 2009-04-06 18:27:14 +02:00
Daniel Marjamäki 262d182f26 updated the MakeFile 2009-03-21 18:38:24 +01:00
Daniel Marjamäki 729b2c1706 Fixed 188 (Return of auto variable address), applied patched submitted by gscacco 2009-03-21 18:36:41 +01:00
Daniel Marjamäki 3c1c33669e refactoring: The errmsg is no longer supposed to generate the errorLogger code 2009-03-21 10:15:46 +01:00
Daniel Marjamäki 0ed425d105 refactoring 2009-03-20 20:21:54 +01:00
Daniel Marjamäki 33df121567 added and integrated checkautovariables that gscacco created 2009-03-19 20:55:50 +01:00
Daniel Marjamäki a573c62cd5 refactoring: first step - started with checkstl 2009-03-18 22:40:38 +01:00
Reijo Tomperi 896abcb569 Fixed some memory leaks in test cases 2009-03-17 21:59:40 +02:00
Vesa Pikki 3d6e3d38bb Applied a patch by Mike Frysinger
The proper variable to use for the C++ compiler is $(CXX).  Also, when
linking objects, $(LDFLAGS) should be used.
2009-03-09 19:35:43 +02:00
Reijo Tomperi 017e10e10b Fix ticket #141 (changed the makefile), changing compiler is now easier in the makefile.
http://apps.sourceforge.net/trac/cppcheck/ticket/141
2009-03-07 01:45:27 +02:00
Daniel Marjamäki 5269e38ae2 security: renamed classes 2009-02-21 12:12:31 +00:00
Daniel Marjamäki b826d2e41b security: Renamed files 2009-02-21 12:07:19 +00:00
Reijo Tomperi 4fc774deda Multicore cpu support for Linux (currently disabled and compiling produces warnings)
"no errors" output removed.
2009-02-19 22:21:18 +00:00
Daniel Marjamäki 4e1f19a366 input validation: added checking 2009-02-19 08:03:14 +00:00
Daniel Marjamäki 7858ac9ab8 checkbufferoverrun: cleaned up the header includes 2009-02-11 05:16:10 +00:00
Daniel Marjamäki 946770b119 updated the Makefile 2009-02-11 05:09:06 +00:00
Daniel Marjamäki c1638996f9 STL: added check for iterator usage 2009-02-10 19:40:21 +00:00
Reijo Tomperi fb3c81dcd9 Fix ticket #80 (refactoring: classes ErrorMessage and ErrorLogger), note that errormessage and errorlogger were merged, errormessage.* is no more. 2009-02-08 21:20:35 +00:00
Reijo Tomperi 7589dc3d16 testcppcheck.cpp file added, test case "linenumbers" added, codeblocks project file updated 2009-02-05 20:06:39 +00:00
Leandro Penz 7adcd0c355 dangerousfunctions: added check for mktemp (ticket #69), and refatored gets and scanf check from bufferoverrun into dangerousfunctions. 2009-01-31 18:24:48 +00:00
Daniel Marjamäki e691ade8e6 Build: Enabled the Wextra flag when building cppcheck 2009-01-22 21:16:50 +00:00
Daniel Marjamäki 3d8791eebd errmsg: added "unused function" 2009-01-11 06:44:32 +00:00
Daniel Marjamäki 631e202027 dmake: Minor updates. Moved target "all" a little. Handle the change 937 where "make test" also executes testrunner 2009-01-11 06:17:54 +00:00
Leandro Penz 2907708af8 make test now builds everything and runs all tests. 2009-01-10 21:13:26 +00:00
Daniel Marjamäki 47a7c915fa errmsg: Added error messages for "Array index out of bounds" and "Buffer overrun" 2009-01-10 19:23:21 +00:00
Daniel Marjamäki 0c3c00daec errmsg: Added errormessage for 'the class 'classname' doesn't have a constructor' 2009-01-10 13:08:44 +00:00
Daniel Marjamäki 01ec1b15fe dmake: minor fixes. The tools binaries will be put in the tools folder 2009-01-10 07:38:11 +00:00
Daniel Marjamäki f83741503e make: updated the make so that the tools are built with "make all". And added the errormessage.h generator to the makefile also 2009-01-09 19:28:55 +00:00
Reijo Tomperi 66547e7ddf Fixed make install from the generated makefile 2009-01-08 21:02:03 +00:00
Daniel Marjamäki 5d0f8f0cfa errormessage: Added a few more messages for checkother.cpp 2009-01-08 20:56:51 +00:00
Daniel Marjamäki 149ab87931 tools/dmake: A few simple fixes. Commited the new Makefile 2009-01-06 20:12:59 +00:00
Reijo Tomperi e435a1f1d6 Refactoring: Added src/ and test/ folders. Moved source files to those folders, updated makefile and codeblocks project file. 2009-01-06 14:18:36 +00:00
Daniel Marjamäki f0f42563e6 Makefile: Fixed the preprocessor dependencies 2009-01-06 08:35:04 +00:00
Reijo Tomperi 6850441c4a ErrorMessage class added (not used yet and it is still unfinished) 2009-01-03 13:51:55 +00:00
Daniel Marjamäki 5cfa05e180 Makefile : Removed the .gprof makefile and added a CGLAGS variable so the normal Makefile can easily be changed 2008-12-25 17:11:01 +00:00
Daniel Marjamäki 1776fdcdcd Makefile : Reverted the Makefile changes in [763] because they were committed by mistake 2008-12-25 08:00:42 +00:00
Daniel Marjamäki a65a66bee0 Tokenizer::setVarId : small optimisations 2008-12-24 07:46:57 +00:00
Daniel Marjamäki bf37a1153c memory leak : Added experimental functionality for multipass checking of memory leaks. Only added in the unit tests yet. 2008-12-20 17:52:15 +00:00
Daniel Marjamäki 11f05fe7e9 Redundant condition: Added a test case when a condition is not redundant 2008-12-19 21:15:18 +00:00
Daniel Marjamäki 707a406dab Redundant condition : Added a check 2008-12-15 07:29:55 +00:00
Reijo Tomperi 3851c0f019 Refactoring: Renamed all files to lower case. Also added testfilelister.cpp which was forgotted from previous commit. 2008-12-14 20:49:55 +00:00
Reijo Tomperi a15381dcbe Fixed bug, paths like "/path/../index.h" created duplicate warnings with files like "/index.h". Relative paths are now simplified to
look a like. Test cases added.
2008-12-14 19:03:34 +00:00
Reijo Tomperi 237dc98ea5 Added test file for TOKEN class 2008-12-09 18:13:38 +00:00
Daniel Marjamäki 1a5d694834 testclass : Added a new unit testing file 2008-12-06 18:31:26 +00:00
Reijo Tomperi ad5fbe5dc6 Refactoring: CppCheckExecutor class added 2008-11-24 21:50:20 +00:00