Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Marjamäki 2dd4dba90e Array index overrun: Improved the checking of class variables 2008-11-16 18:21:46 +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
Reijo Tomperi 08b25dc0d4 Refactoring: Global/Static variables, FunctionList, GlobalFunctions and UsedGlobalFunctions are now private members of Tokenizer class.
Class GlobalFunction is now private subclass of Tokenizer. 
Global functions CheckGlobalFunctionUsage, FillFunctionList and GetFunctionTokenByName are now member functions of Tokenizer.
2008-11-15 22:41:56 +00:00
Reijo Tomperi 1efb4c95a6 Refactoring: Global variable Files is no more. Use tokenizer->getFiles() to get a pointer to it. 2008-11-13 22:39:47 +00:00
Reijo Tomperi 0b1ee10353 Refactoring: tokens_back and TypeSize are no longer global variables 2008-11-12 22:50: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
Reijo Tomperi ef9f472188 Refactoring: Tokenizer class added, functions still mostly static and
using globals
2008-11-09 07:19:53 +00:00
Daniel Marjamäki 69a3595f19 cleanup of UTF-8. Updated the Makefile 2008-11-06 00:11:37 +00:00
Daniel Marjamäki c16c12c70a Buffer overrun: Fixed a false positive 2008-11-05 23:49:46 +00:00
Daniel Marjamäki b20c233599 TestBufferOverrun: Added a test case that shouldn't generate error. Get address beyond array. 2008-11-05 07:48:07 +00:00
Daniel Marjamäki de3c6f9c1b Testing: DeallocateTokens after each test 2008-11-03 07:54:59 +00:00
Daniel Marjamäki 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Daniel Marjamäki b235c373a5 testing: Various fixes to make the tests compile without warnings/errors 2008-10-16 17:22:26 +00:00
Daniel Marjamäki 1978ac3562 Testing: Added macro 'REGISTER_TEST' 2008-10-15 06:48:18 +00:00
Daniel Marjamäki d330eb197a Testing: Updated the testing to the new test framework 2008-10-13 06:42:40 +00:00
Daniel Marjamäki 3d6093b970 test: Minor polishing 2008-08-23 16:16:58 +00:00
Daniel Marjamäki 7a07284c7e test: Added the last buffer overrun tests 2008-08-23 16:15:31 +00:00
Daniel Marjamäki 8c901694b8 testing: Added 'testbufferoverrun' 2008-08-23 14:12:08 +00:00