Reijo Tomperi
|
fc343b3e9e
|
astyle fix
|
2009-08-29 23:33:12 +03:00 |
Daniel Marjamäki
|
9d7defad22
|
Fixed #615 (Memleak was detected in 1.32 but not in 1.33 and later)
|
2009-08-29 17:33:57 +02:00 |
Daniel Marjamäki
|
1dd2ec4757
|
Fixed #414 (memory leak in if-else construct not detected)
|
2009-08-29 16:55:43 +02:00 |
Daniel Marjamäki
|
270d2b2d4f
|
memory leaks: improved the simplification of 'if* ;'
|
2009-08-29 16:27:16 +02:00 |
Daniel Marjamäki
|
8f1f89ae2b
|
memory leaks: fixed todo test case. reduce exit better
|
2009-08-29 16:03:23 +02:00 |
Slava Semushin
|
085187b445
|
Tokenizer: enhance simplifyNot() and rename to simplifyLogicalOperators().
Don't replace "and" everything becuse it may be used as variable name.
Better fix for #620
Corrections for commit eb05cf904d
|
2009-08-29 20:42:14 +07:00 |
Slava Semushin
|
eb05cf904d
|
Fixed #620 (Tokenizer: replace "and" by "&&")
http://sourceforge.net/apps/trac/cppcheck/ticket/620
|
2009-08-29 19:26:01 +07:00 |
Slava Semushin
|
ae413a1ef0
|
Fixed #618 (Tokenizer: Wrong handling of enum)
http://sourceforge.net/apps/trac/cppcheck/ticket/618
|
2009-08-29 16:42:42 +07:00 |
Daniel Marjamäki
|
6347d0e976
|
memory leaks: better handling of open/close
|
2009-08-29 09:18:21 +02:00 |
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 |