Daniel Marjamäki
|
88d0bd3908
|
astyle
|
2009-08-29 08:20:18 +02:00 |
Daniel Marjamäki
|
ee5b2a43c7
|
Fixed #627 (False positive with --all, Resource leak with open())
|
2009-08-29 07:43:44 +02:00 |
Daniel Marjamäki
|
de9e62e90a
|
Memory leaks: handling asprintf better
|
2009-08-29 07:26:32 +02:00 |
Daniel Marjamäki
|
406fdd3219
|
Memory leaks: Fixed two todo testcases (getcode handling of asprintf)
|
2009-08-29 07:02:36 +02:00 |
Daniel Marjamäki
|
ab047c680c
|
memory leaks: fixed a todo testcase
|
2009-08-29 06:42:24 +02:00 |
Daniel Marjamäki
|
74fd052fc0
|
Memory leaks: Testing that asprintf is handled correctly
|
2009-08-28 23:26:40 +02:00 |
Daniel Marjamki
|
cbc237c37b
|
fixed failed assertions when running the testrunner
|
2009-08-28 17:05:25 +02:00 |
danmar
|
4f6b79b761
|
Fixed #625 (cppcheck dumps core on valid code)
|
2009-08-28 12:57:29 +02:00 |
danmar
|
bb2bda0be4
|
Fixed #622 (Tokenizer: Calculations are wrong)
|
2009-08-28 12:13:46 +02:00 |
Daniel Marjamäki
|
5d2c409e46
|
Fixed #623 (False positive: possible null pointer dereference when using the ?: operator)
|
2009-08-28 08:48:37 +02:00 |
Reijo Tomperi
|
929dbe92e4
|
Fix the last test case from ticket #613 (array members variables are not checked in constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/613
|
2009-08-26 23:33:23 +03:00 |
Daniel Marjamäki
|
ff9ed1d7aa
|
Preprocessor: better handling of pragma asm and pragma endasm
|
2009-08-26 21:54:43 +02:00 |
Slava Semushin
|
7c86a10a9d
|
Fixed #617 (False positive "buffer overrun" when sprintf() doesn't have optional parameters)
http://sourceforge.net/apps/trac/cppcheck/ticket/617
|
2009-08-27 00:21:32 +07:00 |
Daniel Marjamäki
|
9bdd1def58
|
added testcase for the Tokenizer::simplifyGoto
|
2009-08-26 18:54:28 +02:00 |
Daniel Marjamäki
|
f94aab35e7
|
Fixed #498 (Tokenizer: simplify 'goto')
|
2009-08-26 18:46:56 +02:00 |
Reijo Tomperi
|
d778f67265
|
Fix sytax error in uninitVarArray(). This also causes the test to fail, so changing it as TODO.
See http://sourceforge.net/apps/trac/cppcheck/ticket/613
|
2009-08-26 00:42:07 +03:00 |
Reijo Tomperi
|
e3c1e14bb0
|
astyle fix
|
2009-08-26 00:41:03 +03:00 |
Daniel Marjamäki
|
d67e3fcc49
|
Refactoring the unit tests of TestMemleakInFunction
|
2009-08-25 22:18:22 +02:00 |
Daniel Marjamäki
|
c25e1963b1
|
Fixed #498 (Tokenizer: simplify 'goto')
|
2009-08-24 23:10:12 +02:00 |
Daniel Marjamäki
|
0c479b8c9f
|
TestClass: Added a testcase where a array member variable is initialized through strcpy
|
2009-08-24 17:15:29 +02:00 |
Reijo Tomperi
|
c581753040
|
Fix ticket #613 (array members variables are not checked in constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/613
Patch from micres
|
2009-08-23 22:54:41 +03:00 |
Daniel Marjamäki
|
9da2ecf4f4
|
Refactoring the unit testing. Wrote special tests for CheckMemoryLeakInFunction::findleak
|
2009-08-23 15:48:25 +02:00 |
Daniel Marjamäki
|
0da25081d5
|
refactoring: began refactoring the unit testing for CheckMemoryLeakInFunction. More specific testing of the functions getcode, simplifycode, call_func, etc
|
2009-08-23 11:26:17 +02:00 |
Slava Semushin
|
8cafaf2960
|
Fixed #603 (Tokenizer: Incorrect simplification of < >)
http://sourceforge.net/apps/trac/cppcheck/ticket/603
|
2009-08-23 13:26:16 +07:00 |
Slava Semushin
|
e6120a5725
|
Fixed #581 (Wrong usage of div-function)
http://sourceforge.net/apps/trac/cppcheck/ticket/581
|
2009-08-23 10:37:09 +07:00 |
Slava Semushin
|
ec050d2563
|
TestOther::varScope5: fixed syntax error in test case.
Testrunner complains about "Unlogged error at Tokenizer::syntaxError"
since 74bbe945f6 commit.
|
2009-08-22 21:29:09 +07:00 |
Daniel Marjamäki
|
724d6bf53a
|
Fixed #507 (Preprocessor: Incorrect expanding of inner macros)
|
2009-08-22 13:03:52 +02:00 |
Slava Semushin
|
acc38a8bbf
|
Fixed #592 (Tokenizer: improve the tokenization of do .. while)
http://sourceforge.net/apps/trac/cppcheck/ticket/592
|
2009-08-22 17:49:42 +07:00 |
Daniel Marjamäki
|
94c49bc34e
|
Fixed #608 (Tokenizer: simplifyKnownVariables doesn't handle 'while (--i)' correctly)
|
2009-08-22 10:23:55 +02:00 |
Slava Semushin
|
cbeb45566b
|
Fixed #609 (Tokenizer: don't add {} after do-while();)
http://sourceforge.net/apps/trac/cppcheck/ticket/609
|
2009-08-22 14:49:45 +07:00 |
Daniel Marjamäki
|
439ff8b144
|
Fixed #599 (False positive: null pointer dereference)
|
2009-08-21 12:42:40 +02:00 |
Reijo Tomperi
|
9d1907be66
|
Fix ticket #600 (Tokenizer: if(!(fclose(fd) == 0)) is simplified incorrectly)
http://sourceforge.net/apps/trac/cppcheck/ticket/600
|
2009-08-20 22:37:05 +03:00 |
Reijo Tomperi
|
7d44ce7736
|
Fix ticket #598 (Preprocessor: Multiline comments add line change to wrong location)
http://sourceforge.net/apps/trac/cppcheck/ticket/598
|
2009-08-20 00:27:47 +03:00 |
Daniel Marjamäki
|
8b46172bcf
|
Memory leaks: Use varid instead of varname
|
2009-08-19 19:42:07 +02:00 |
Daniel Marjamäki
|
85682ed429
|
Fixed #591 (False positive: Deallocating a deallocated pointer)
|
2009-08-18 20:49:08 +02:00 |
Slava Semushin
|
74bbe945f6
|
Fixed #272 ("The scope of the variable XXX can be limited" not detected when variable is initilialized during declaration)
http://sourceforge.net/apps/trac/cppcheck/ticket/272
|
2009-08-17 02:12:57 +07:00 |
Daniel Marjamäki
|
52856fcbeb
|
ettlmartin: improved the MathLib::IsInt
|
2009-08-16 18:45:26 +02:00 |
Slava Semushin
|
be89be8c30
|
Fixed #590 (False positive: Invalid deallocation when variables have same name)
http://sourceforge.net/apps/trac/cppcheck/ticket/590
|
2009-08-16 15:27:40 +07:00 |
Reijo Tomperi
|
c8da301f83
|
fix ticket #586 (Preprocessor: Lines like "#error don't" can cause "no pair for character" errors)
http://sourceforge.net/apps/trac/cppcheck/ticket/586
|
2009-08-14 00:22:51 +03:00 |
danmar
|
3de825c290
|
Borland C++ Builder: Fixed compilation and testrunner problems
|
2009-08-13 22:13:52 +02:00 |
Reijo Tomperi
|
4f8a06ed0d
|
Initial work for class and member function/variable list in tokenizer.
|
2009-08-12 23:50:03 +03:00 |
Daniel Marjamäki
|
bcab694a74
|
preprocessor: added todo testcase for detecting redundant preprocessor conditions
|
2009-08-12 20:28:43 +02:00 |
Daniel Marjamäki
|
ad4ea01750
|
Fixed #583 (False positive: the nullpointer check doesn't handle goto properly)
|
2009-08-12 18:54:52 +02:00 |
Slava Semushin
|
4c32057180
|
Fixed ticket #541 (Wrong testcases produce unlogged error at Tokenizer::syntaxError)
http://sourceforge.net/apps/trac/cppcheck/ticket/541
|
2009-08-12 02:06:41 +07:00 |
Slava Semushin
|
6a7624054e
|
Fixed ticket #584 (Tokenizer: don't set varId for class declaration)
http://sourceforge.net/apps/trac/cppcheck/ticket/584
|
2009-08-12 01:58:49 +07:00 |
Daniel Marjamäki
|
e7feac506c
|
Refactoring: updated the nullPointer message so it contains the name of the pointer
|
2009-08-11 17:18:01 +02:00 |
Daniel Marjamäki
|
ecdbcbce3d
|
Fixed #566 (False positive when assigning the return value of realloc(NULL,..) to a pointer variable holding a freed memory address)
|
2009-08-10 22:04:28 +02:00 |
Daniel Marjamäki
|
045b73c7ec
|
Fixed #582 (Preprocessor: Remove assembler code inside pragmas)
|
2009-08-10 20:07:55 +02:00 |
Reijo Tomperi
|
93604dd344
|
Fixed ticket #578 (missing virtual destructor not detected)
http://sourceforge.net/apps/trac/cppcheck/ticket/578
|
2009-08-10 17:58:13 +03:00 |
Daniel Marjamäki
|
3331cb834f
|
Hoangtuansu: Fixed #537 (false positive::operator= should return something)
|
2009-08-09 19:57:48 +02:00 |