PKEuS
|
6122819832
|
Message refactorization: Changed expression "0-terminate" to "null-terminate" as discussed on 24b98feadb
|
2012-11-03 21:21:19 +01:00 |
PKEuS
|
24b98feadb
|
Message refactorization: checkuninitvar.cpp, checkunusedfunctions.cpp, checkunusedvar.cpp
|
2012-11-01 18:40:20 +01:00 |
Daniel Marjamäki
|
753942df0c
|
Revert "Fixed #4165 (False positive:(error) Uninitialized variable: here)"
This reverts commit 96b1890797 .
|
2012-09-26 16:15:35 +02:00 |
Daniel Marjamäki
|
96b1890797
|
Fixed #4165 (False positive:(error) Uninitialized variable: here)
|
2012-09-25 20:45:42 +02:00 |
XhmikosR
|
3c14e4b52a
|
test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files
|
2012-09-17 13:51:40 +02:00 |
Daniel Marjamäki
|
84c0368bfd
|
Fixed #3586 (false positive: uninitvar in argument in namespaced function)
|
2012-09-15 10:48:17 +02:00 |
Ettl Martin
|
f1faaac1f2
|
Added testcases for #3098
|
2012-09-09 19:49:40 +02:00 |
Daniel Marjamäki
|
d3bdd84d8b
|
Fixed #4175 (segmentation fault of cppcheck)
|
2012-09-09 18:56:26 +02:00 |
Daniel Marjamäki
|
3032ded9aa
|
replaced tabs with spaces
|
2012-09-05 19:46:44 +02:00 |
Daniel Marjamäki
|
0d82b08080
|
Fixed #4040 (false positive: (error) Uninitialized variable: iter)
|
2012-08-27 15:48:21 +02:00 |
Daniel Marjamäki
|
d34924ba6d
|
Uninitialized variables: Fixed false positive when there is assignment in condition
|
2012-07-17 07:03:40 +02:00 |
Daniel Marjamäki
|
f9da83f4b5
|
Fixed #3926 (false postive: (error) Uninitialized variable: exitpattern)
|
2012-07-03 18:52:23 +02:00 |
Daniel Marjamäki
|
2e3a08a8c1
|
Fixed #3916 (false positive: uninitialized variable when using assignment and , in rhs)
|
2012-06-27 20:44:19 +02:00 |
Daniel Marjamäki
|
9da3373876
|
Fixed #3919 (False positive: uninitialized variable (extern))
|
2012-06-26 18:28:41 +02:00 |
Ettl Martin
|
8c39b95aae
|
#3873 added testcase to make sure false positive does not appear again.
|
2012-06-24 00:00:15 +02:00 |
Daniel Marjamäki
|
f59078fad9
|
Refactoring TestUninitVar. Added TODO test case.
|
2012-06-23 16:44:02 +02:00 |
Daniel Marjamäki
|
1e1b20d113
|
Refactoring TestUninitVar. Created TestUninitVar::uninitvar_return
|
2012-06-23 16:27:57 +02:00 |
Daniel Marjamäki
|
b6f4dbd067
|
Uninitialized variables: Fixed TODO assertion (related with ticket #3106)
|
2012-06-23 16:06:20 +02:00 |
Daniel Marjamäki
|
d3ce3e78bd
|
Uninitialized variables: Added test case
|
2012-06-23 15:52:35 +02:00 |
Daniel Marjamäki
|
7f5950967e
|
Reviewed handling of >> in return statements in C files in UninitVar checking
|
2012-06-23 15:47:48 +02:00 |
Daniel Marjamäki
|
f0f69ed818
|
Reviewed handling of << and >> in C files in CheckUninitVar
|
2012-06-23 12:41:00 +02:00 |
Daniel Marjamäki
|
e2964c0c9e
|
Uninitialized variables: Fixed false negative when ? operator is used in rhs
|
2012-06-23 12:19:03 +02:00 |
Daniel Marjamäki
|
d2dbaca24b
|
Reviewed handling of unknown types in C files in UninitVar
|
2012-06-22 19:57:07 +02:00 |
Daniel Marjamäki
|
abaa044e03
|
Reviewed handling of unknown types in CheckUninitVar
|
2012-06-22 16:39:39 +02:00 |
Daniel Marjamäki
|
354406441a
|
Fixed #3906 (false positive uninitvar for vector pointer)
|
2012-06-22 16:26:43 +02:00 |
Daniel Marjamäki
|
ce5c38f52c
|
Fixed #3890 (False positive Uninitialized variable on returning default value on a class member)
|
2012-06-19 20:04:10 +02:00 |
Daniel Marjamäki
|
cc5e06b5d2
|
Fixed #3861 (uninitialized variables)
|
2012-06-13 19:09:51 +02:00 |
Daniel Marjamäki
|
c5da030674
|
Fixed #3869 (References to items in array result it 'Uninitialized variable' errors)
|
2012-06-08 16:17:55 +02:00 |
Ettl Martin
|
e584544915
|
added testcase for ticket #3844
|
2012-05-28 12:56:24 +02:00 |
PKEuS
|
f4bf94ca4f
|
Fixed #3845
|
2012-05-25 07:28:32 -07:00 |
PKEuS
|
e8cd119ebd
|
Improved parsing of functions that accept nullpointers but no uninitialized data (Fixed #3811)
|
2012-05-16 00:56:39 -07:00 |
Daniel Marjamäki
|
fc7f78244e
|
Fixed #3708 (False positive: uninitialized variable (allocation, unknown nonpointer type))
|
2012-05-14 18:34:39 +02:00 |
Ettl Martin
|
28510bdd38
|
added todo testcase for ticket 3597
|
2012-05-01 14:26:34 +02:00 |
Ettl Martin
|
2848c61e88
|
#3344 added missing testcase
|
2012-04-26 13:37:13 +02:00 |
Daniel Marjamäki
|
fb6c7f33f0
|
Fixed #3707 (Uninitialized variable with operator >> and templates)
|
2012-04-24 19:50:54 +02:00 |
Daniel Marjamäki
|
2757229064
|
Fixed #3666 (False positive: Uninitialized variable (taking address))
|
2012-03-16 17:28:05 +01:00 |
Daniel Marjamäki
|
a118f82ca7
|
Tokenizer::simplifyVarDecl: Don't simplify inside parenhteses
|
2012-02-18 15:05:29 +01:00 |
Daniel Marjamäki
|
47c7e346aa
|
Uninitialized variables: Another fix for false positives when it's known that inner conditions are true
|
2012-02-06 19:26:28 +01:00 |
Daniel Marjamäki
|
05fc77c347
|
Revert "Uninit var: Added TODO test case"
The test case was not valid because the variable assignment is redundant and is therefore removed by the tokenizer.
This reverts commit 548a43fc49 .
|
2012-02-06 07:41:48 +01:00 |
Daniel Marjamäki
|
d6a887e1f9
|
Uninitialized variables: Fixed false positives when goto is simplified and inner condition is known to be true/false
|
2012-02-06 07:32:29 +01:00 |
Daniel Marjamäki
|
548a43fc49
|
Uninit var: Added TODO test case
|
2012-02-06 07:17:39 +01:00 |
Daniel Marjamäki
|
b8faee9d30
|
Fixed #3497 (False positive: Uninitialized variable)
|
2012-01-21 20:42:41 +01:00 |
Edoardo Prezioso
|
37f3aa1528
|
Fixed ticket #3486 (segmentation fault of cppcheck)
|
2012-01-13 23:53:53 +01:00 |
Daniel Marjamäki
|
47716ee4ca
|
Fixed #3497 (False positive: Uninitialized variable)
|
2012-01-13 07:26:56 +01:00 |
Edoardo Prezioso
|
a951d34aa8
|
Fixed ticket #3480 (segmentation fault of cppcheck)
|
2012-01-09 12:48:52 +01:00 |
Daniel Marjamäki
|
01759b03f9
|
Fixed #3463 (Uninitialized variable variable pointer)
|
2012-01-02 11:25:13 +01:00 |
Reijo Tomperi
|
8cae17fda8
|
Update year to 2012
|
2012-01-01 01:05:37 +02:00 |
Daniel Marjamäki
|
32ed84f4c5
|
Uninitialized variables: Fixed false positives when using typeof()
|
2011-12-27 17:03:48 +01:00 |
Daniel Marjamäki
|
7c606c4e3b
|
Uninitialized variables: Fixed false positives for such code: 'if (cond1) { a=0; } if (cond1) { if (cond2) { use_a; } }'
|
2011-12-27 13:16:16 +01:00 |
Daniel Marjamäki
|
f6b201bb3b
|
Uninitialized variables: Fixed false positives when pointer is dereferenced in unexpanded macro
|
2011-12-27 10:18:49 +01:00 |
Daniel Marjamäki
|
fdb6ee2ad7
|
Uninitialized variables: Fix false positives related to for loop
|
2011-12-27 08:18:05 +01:00 |
Daniel Marjamäki
|
5bac8eca37
|
Uninitialized variables: Fixed false positives (caused by my 'check more variables' commit)
|
2011-12-26 22:14:52 +01:00 |
Daniel Marjamäki
|
5aaec7adc5
|
Uninitialized variables: Better handling of variable usage in condition
|
2011-12-26 18:56:40 +01:00 |
Daniel Marjamäki
|
59cd099ba7
|
Uninitialized variables: Fixed false positives caused by recent commit when potentially uninitialized variable is read in condition
|
2011-12-26 18:32:42 +01:00 |
Daniel Marjamäki
|
481fa532a8
|
Uninitialized variables: Fixed false positives caused by recent improvement when variable is potentially initialized in else block.
|
2011-12-26 18:17:13 +01:00 |
Daniel Marjamäki
|
c56e2e7cf9
|
Uninitialized variables: Fixed false positives for unconditional inner scopes
|
2011-12-26 17:52:32 +01:00 |
Daniel Marjamäki
|
025518c474
|
Uninitialized variables: Fixed false positives when goto is used.
|
2011-12-26 16:46:10 +01:00 |
Daniel Marjamäki
|
8eb067358c
|
Uninitialized variables: check more variables
|
2011-12-26 14:01:46 +01:00 |
Daniel Marjamäki
|
f48edb63a3
|
Uninitialized variables: Improved checking when there are multiple if/else and a certain path causes an error
|
2011-12-26 12:36:35 +01:00 |
Daniel Marjamäki
|
ba5558748d
|
Uninitialized variables: Fixed false 'dangerous usage of strncpy' positive when resulting string is used by strncpy
|
2011-12-23 08:44:28 +01:00 |
Daniel Marjamäki
|
f09a5b408b
|
Uninitialized variables: Fixed false positives when sizeof is used in condition. Ticket: #3369
|
2011-12-17 16:08:55 +01:00 |
Daniel Marjamäki
|
fe8393aafc
|
Uninitialized variables: Fixed false positives in sizeof. Ticket: #3369
|
2011-12-17 09:51:45 +01:00 |
Daniel Marjamäki
|
dfedb920f8
|
Uninitialized variables: Fixed false positive when address of variable is taken inside = { .. }. Ticket: #3369
|
2011-12-17 07:56:46 +01:00 |
Daniel Marjamäki
|
0572321572
|
Fixed #3423 (Uninitialized variable in operator>>)
|
2011-12-16 20:34:44 +01:00 |
Daniel Marjamäki
|
5f1fadec7b
|
Uninitialized variables: Fixed false positives when many 'if' are used. Ticket: #3369
|
2011-12-16 19:56:32 +01:00 |
Daniel Marjamäki
|
3153650be3
|
Uninitialized variable: added TODO test case. Ticket: #3369
|
2011-12-15 20:55:37 +01:00 |
Daniel Marjamäki
|
d2d7e25f3f
|
Uninitialized variables: Fixed false positive in for condition. Ticket: #3369
|
2011-12-15 20:48:26 +01:00 |
Daniel Marjamäki
|
40f2f4f7f6
|
Uninitialized variables: Fixed false positives when there are assembler code. Ticket: #3369
|
2011-12-15 20:29:57 +01:00 |
Daniel Marjamäki
|
167530bf60
|
Uninitialized variable: Fixed test failure. Ticket: #3369
|
2011-12-15 20:15:37 +01:00 |
Daniel Marjamäki
|
6221145be8
|
Fixed #3414 (false positive: (error) Uninitialized variable: SOutput)
|
2011-12-15 18:30:59 +01:00 |
Daniel Marjamäki
|
005b1cff61
|
Fixed #3417 (False positive: Uninitialized variable when conditionally set)
|
2011-12-15 18:15:58 +01:00 |
Daniel Marjamäki
|
3a432fa959
|
Uninitialized variables: better handling of initialization with >>. Ticket: #3369
|
2011-12-15 16:55:55 +01:00 |
Daniel Marjamäki
|
b3c35d4b32
|
Fixed #3415 (Segmentation fault in new check for uninitialized variables)
|
2011-12-15 16:49:14 +01:00 |
Daniel Marjamäki
|
295f486cde
|
Uninitialized variables: Detect more errors when variable is given as array index. Ticket: #3369
|
2011-12-14 19:56:58 +01:00 |
Daniel Marjamäki
|
63e2f64b9c
|
Uninitialized variables: Fixed false positives for loops. Ticket: #3369
|
2011-12-14 18:54:03 +01:00 |
Daniel Marjamäki
|
8e3e634ce0
|
Uninitialized variables: Detect more errors. Ticket: #3369
|
2011-12-14 18:28:30 +01:00 |
Daniel Marjamäki
|
419ae2a135
|
Uninitialized variables: Fixed false positive in new checking when variable is initialized in condition
|
2011-12-14 17:17:24 +01:00 |
Daniel Marjamäki
|
ba463295c2
|
Uninitialized variables: improved check to detect more errors. Ticket: #3369
|
2011-12-14 06:00:17 +01:00 |
Daniel Marjamäki
|
c7ce87d060
|
Uninitialized variables: Fixed false positives for break/continue/throw
|
2011-12-14 05:45:52 +01:00 |
Daniel Marjamäki
|
458fa0874a
|
Uninitialized variables: Started writing a new check. Ticket: #3369
|
2011-12-13 21:57:27 +01:00 |
Daniel Marjamäki
|
414e0ecc3c
|
Uninitvar: Reactivated the checking
|
2011-11-30 18:57:52 +01:00 |
Daniel Marjamäki
|
b92959809c
|
Uninitvar: Made checking experimental
|
2011-11-20 15:19:56 +01:00 |
Benjamin Goose
|
54c445ca20
|
Add tests for various bugs.
False positive: uninitialized variable (ticket #3287).
False positive: null pointer dereference in typeid (ticket #3290).
|
2011-11-04 12:27:32 +01:00 |
Daniel Marjamäki
|
f7fe665b00
|
Fixed #3231 (False positive: uninitialized variable '({...})')
|
2011-10-30 18:19:09 +01:00 |
Daniel Marjamaki
|
71f08d0a66
|
Fixed #3222 (false positive: Uninitialized variable with function pointer)
|
2011-10-30 17:22:30 +01:00 |
Daniel Marjamäki
|
316aa920eb
|
Fixed #3245 (False positive: Dangerous usage of 'string' (strncpy doesn't always 0-terminate it))
|
2011-10-29 19:11:42 +02:00 |
Daniel Marjamäki
|
6f8e42a5af
|
changed the astyle formatting flags
|
2011-10-13 20:53:06 +02:00 |
Daniel Marjamäki
|
417dc1ff2a
|
Fixed #3159 (Uninitialized variable false positive)
|
2011-10-02 20:38:58 +02:00 |
Reijo Tomperi
|
236d0eb178
|
Fix #2813 (False negative: Uninitialized variable not found for realloc)
http://sourceforge.net/apps/trac/cppcheck/ticket/2813
Patch provided by: marekzmyslowski
|
2011-09-28 21:46:09 +03:00 |
Robert Reif
|
5e329d7280
|
fix typo in last commit
|
2011-09-21 19:55:11 -04:00 |
Robert Reif
|
de0f2dc1d0
|
add test case for false negatives introduced by fix for 3106
|
2011-09-21 07:32:23 -04:00 |
Daniel Marjamäki
|
1a7511ed48
|
Fixed #3106 (False positive: Uninitialized variable check has inconsistent behavior with ternary operator)
|
2011-09-20 21:00:05 +02:00 |
Daniel Marjamäki
|
2601733ff7
|
Uninitialized vars: handle printf a little better. Ticket: #3050
|
2011-09-05 20:18:58 +02:00 |
Daniel Marjamäki
|
c7d0beefa8
|
uninitstring: fix false negatives when non-zero memset is used. Ticket: #3050
|
2011-09-05 19:42:48 +02:00 |
Daniel Marjamäki
|
85d83d86ac
|
Fixed #3060 (False positive: Uninitialized variable: fresh)
|
2011-09-04 12:53:53 +02:00 |
Daniel Marjamäki
|
c7886ca1c4
|
Fixed #3058 (False positive: Uninitialized variable: data)
|
2011-09-03 18:53:14 +02:00 |
Robert Reif
|
bc4db75aa9
|
fix #2146 (uninitialized variable: false negative for 'return x ? 1 : y;')
|
2011-07-31 21:33:43 -04:00 |
Daniel Marjamäki
|
5cb701d3c1
|
Fixed #2946 (False positive: Uninitialized buffer variable (init in subfunction))
|
2011-07-27 10:34:12 +02:00 |
Daniel Marjamäki
|
4e55fb604c
|
Fixed #2945 (False positive: Uninitialized variable reading from stream)
|
2011-07-26 21:30:58 +02:00 |
Daniel Marjamäki
|
63a0c6ad4a
|
Fixed #2796 (uninitialized and leaving scope)
|
2011-07-25 16:35:30 +02:00 |