Daniel Marjamäki
|
cfd6b0c384
|
UninitVar: fixed false negatives for function calls
|
2013-11-16 12:02:21 +01:00 |
Simon Martin
|
185b88c6e3
|
Ticket #5073: Don't crash upon invalid do-while loop.
|
2013-11-08 23:13:21 +01:00 |
Daniel Marjamäki
|
7996d609be
|
Fixed #5108 (false positive: uninitialized variable (assignment in function parameter))
|
2013-11-04 23:09:15 +01:00 |
Daniel Marjamäki
|
51ad9ab6ac
|
Fixed #4896 (FP Uninitialized variable on template function)
|
2013-10-26 18:39:40 +02:00 |
Felipe Pena
|
c37ba4cbcf
|
- Fixed false positive when using typeof/__alignof__
|
2013-10-12 13:46:14 -03:00 |
Daniel Marjamäki
|
e3b7bce72b
|
Fixed #4907 (False positive 'uninitStructMember' on structs with unions)
|
2013-09-30 06:35:31 +02:00 |
Daniel Marjamäki
|
698e9e2b59
|
reverted ee14ea4f . I think this fix was too generic. If there is a union in the struct then only the union members should be skipped.
|
2013-09-23 17:52:42 +02:00 |
Daniel Marjamäki
|
ee14ea4fc2
|
Fixed #4907 (False positive "uninitStructMember" on structs with unions)
|
2013-09-23 07:20:20 +02:00 |
Daniel Marjamäki
|
64454068ec
|
Fixed #4934 (false positive: Uninitialized variable (loop with inner condition '(x=1)'))
|
2013-09-23 06:07:01 +02:00 |
Lucas Manuel Rodriguez
|
acd65a6829
|
Fixed #4991: False Positive - Dangerous usage of 'arr' (not null-terminated)
|
2013-08-29 08:12:05 -03:00 |
PKEuS
|
a9a5dc0354
|
Updated to AStyle 2.03, require this version
|
2013-08-07 16:27:37 +02:00 |
Daniel Marjamäki
|
2a1af1acda
|
CheckUninitVar: Assertion for '} while (' after 'do {..' in debug builds. Bail out in release builds to avoid segfaults.
|
2013-07-28 12:41:38 +02:00 |
Daniel Marjamäki
|
8f332af849
|
Uninitialized variables: Avoid FP when using '?:'
|
2013-07-10 16:44:35 +02:00 |
Daniel Marjamäki
|
2ef0a40aec
|
Fixed #4893 (FP Uninitialized variable on sizeof of itself)
|
2013-07-06 08:52:47 +02:00 |
Daniel Marjamäki
|
ba23b65179
|
Fixed #4885 (FP Uninitialized variable when using comma)
|
2013-06-29 09:33:51 +02:00 |
Daniel Marjamäki
|
6997d38881
|
Uninitialized variables: fixed false positive in while loop
|
2013-06-27 18:28:00 +02:00 |
Daniel Marjamäki
|
6b01d2d5a8
|
Fixed #4747 (Can not find uninitialized variable (variable used in rhs in assignment))
|
2013-06-27 16:53:15 +02:00 |
Daniel Marjamäki
|
2265c61734
|
Fixed #4879 (false positive: uninitialized variable in inner for inside while (regression))
|
2013-06-26 17:02:57 +02:00 |
Daniel Marjamäki
|
cfd960d794
|
Fixed #3765 (false negative: unitialized variable)
|
2013-06-25 18:40:41 +02:00 |
Daniel Marjamäki
|
ae36472a1b
|
Fixed #4778 (FP: Uninitialized variable: av)
|
2013-06-14 07:21:53 +02:00 |
Daniel Marjamäki
|
2d955bb9a6
|
Uninitvar: Added TODO test case for false negatives. Related with #4652
|
2013-06-02 18:26:03 +02:00 |
Daniel Marjamäki
|
065853a59a
|
Fixed #4652 (False positive: variable value tracking into loop body)
|
2013-05-29 16:16:12 +02:00 |
Frank Zingsheim
|
bca751b9f4
|
Fixed #4773 (Regression: wrong detection of unitialized variable)
|
2013-05-06 18:45:00 +02:00 |
Daniel Marjamäki
|
bfb1bc50e3
|
Fixed #4760 (false negative: (error) usage of uninitialized variable (struct member))
|
2013-05-02 20:34:15 +02:00 |
Daniel Marjamäki
|
44cb070e13
|
Fixed #4737 (False positive: Uninitialized variable 'do_something(&((char*)&var)[0],1);')
|
2013-05-01 13:52:28 +02:00 |
Daniel Marjamäki
|
80cb2a9b20
|
Updated TestUninitVar test cases. They should not have unsimplified code.
|
2013-04-17 21:06:19 +02:00 |
Daniel Marjamäki
|
7fdaba43ed
|
Uninitialized variables: Fixed fp when initializing struct with function in loop body
|
2013-04-10 20:46:44 +02:00 |
Daniel Marjamäki
|
96a5429cee
|
Uninitialized variables: Assume that function initializes struct if it is unknown if it does
|
2013-04-10 20:04:32 +02:00 |
Daniel Marjamäki
|
4c8b17c040
|
Fixed #4717 (False positive: Uninitialized variable inside ({..}))
|
2013-04-09 17:02:11 +02:00 |
Daniel Marjamäki
|
894a2435ae
|
Fixed #4718 (False positive: unititialized variable (value flow))
|
2013-04-08 19:34:39 +02:00 |
Daniel Marjamäki
|
c9469993e2
|
Uninitialized variables: Fixed false positives when using sizeof inside loop
|
2013-03-22 08:10:46 +01:00 |
Daniel Marjamäki
|
a79354d51c
|
Uninitialized variables: Fixed false positive when taking address of uninitialized array that is a struct member
|
2013-03-20 16:59:45 +01:00 |
Ettl Martin
|
1b9c1c03fa
|
unittests: removed not needed '\n' at the end of testcases.
|
2013-03-20 15:36:16 +01:00 |
Daniel Marjamäki
|
1f04e2c228
|
Fixed #4439 (False positive: Uninitialized variable (casting address))
|
2013-03-13 17:32:47 +01:00 |
Daniel Marjamki
|
ee435bf885
|
Fixed #4600 (False positive Uninitialized struct member when using it as 'out parameter')
|
2013-02-23 15:57:58 +01:00 |
Daniel Marjamäki
|
382d7a10e8
|
Uninitialized variables: improved checking of c++ code
|
2013-02-15 18:13:47 +01:00 |
Daniel Marjamäki
|
28e38a9e56
|
Fixed #4519 (false positive: (error) Uninitialized variable: eax (inline assembly usage))
|
2013-02-12 15:59:23 +01:00 |
Daniel Marjamäki
|
75cf951c56
|
add return value to test case
|
2013-02-11 18:39:03 +01:00 |
Daniel Marjamäki
|
442db6cdf9
|
Fixed #4569 (False Positive: Uninitialised variable)
|
2013-02-11 18:31:14 +01:00 |
Daniel Marjamäki
|
94f1d34dcb
|
Fixed #4560 (false positive: (error) Uninitialized variable: s)
|
2013-02-11 17:05:59 +01:00 |
Mathias De Maré
|
dfd557888d
|
Fixed #4565 (false positive: dangerous usage (not null-terminated))
|
2013-02-10 13:36:40 +01:00 |
Frank Zingsheim
|
5144307642
|
Raise syntax error for if-condition without parentheses according to #2518 #4171
|
2013-02-05 21:13:57 +01:00 |
Daniel Marjamäki
|
4ac5648656
|
Uninitialized struct: Fixed false positive in for loop
|
2013-02-05 17:01:46 +01:00 |
Frank Zingsheim
|
89560564ed
|
Refactoring: Add braces to an if-block, for-block, etc. in tokenizer.
Fixed #4521 (Tokenizer: Wrong braces for triple if else)
|
2013-02-02 16:01:34 +01:00 |
Daniel Marjamäki
|
3679a809dd
|
Uninitialized variables: fixed false positive
|
2013-01-28 18:08:20 +01:00 |
Daniel Marjamki
|
8738223e82
|
Fixed #4512 (Improve check: Uninitialized variable not detected)
|
2013-01-26 08:16:53 +01:00 |
Daniel Marjamäki
|
ae43b12bf1
|
Fixed #4511 (False positive: uninitialized struct member)
|
2013-01-25 18:20:57 +01:00 |
Robert Reif
|
3b08b410a2
|
Symbol database: Improved function lookup (a.b.f()). Ticket: #4494
|
2013-01-25 06:49:04 +01:00 |
Daniel Marjamäki
|
c235737b6c
|
Uninitialized variables: improved checking of loops
|
2013-01-24 19:41:15 +01:00 |
Robert Reif
|
cecd726b11
|
Symbol database: Improved function lookup for foo.f(). Ticket #4494
|
2013-01-23 16:53:55 +01:00 |
Robert Reif
|
ddb604d1a5
|
Symbol database: function lookup when :: is used. Ticket #4494
|
2013-01-22 06:55:25 +01:00 |
Daniel Marjamki
|
c478a3214f
|
Uninitialized variables: Added TODO test case (while)
|
2013-01-20 18:40:24 +01:00 |
Daniel Marjamki
|
76534ccd1b
|
Uninitialized struct member: Fixed false negatives for return statements
|
2013-01-20 17:54:32 +01:00 |
Daniel Marjamki
|
e63f2c3b5b
|
Uninitialized struct member: Avoid false positive when struct member is passed by address
|
2013-01-20 13:12:40 +01:00 |
Daniel Marjamki
|
f1c195e652
|
Fixed #3506 (false negative: not initialized variables ( struct timeval))
|
2013-01-19 12:48:56 +01:00 |
Daniel Marjamki
|
3cf0e88fbe
|
Uninitialized struct members: Improved checking when struct member is used in expression
|
2013-01-19 10:09:58 +01:00 |
Daniel Marjamäki
|
7c615f0f12
|
Fixed #4497 (False positive: uninitialized struct (writing/reading member))
|
2013-01-18 21:26:28 +01:00 |
Daniel Marjamäki
|
77e9f65e6b
|
Uninitialized struct members: Fixed unit test
|
2013-01-17 23:55:13 +01:00 |
Daniel Marjamäki
|
2c6b383822
|
Uninitialized member variables: Improvements
|
2013-01-17 21:04:22 +01:00 |
Daniel Marjamäki
|
93fb6b0c6a
|
Fixed #4493 (FP: uninit struct member (struct is assigned))
|
2013-01-17 17:01:04 +01:00 |
Daniel Marjamäki
|
5773e69ab1
|
Uninitialized variables: Add experimental checking of struct members
|
2013-01-16 20:28:29 +01:00 |
Reijo Tomperi
|
5d5f7085bf
|
Updating year 2012 -> 2013 to .cpp and .h files and man page.
|
2013-01-01 18:29:08 +02:00 |
Daniel Marjamäki
|
de2c133f6a
|
Fixed #4426 (False positive: Unitialized variable warning when comparing addresses)
|
2012-12-28 12:32:15 +01:00 |
Daniel Marjamäki
|
b914466285
|
Uninitialized variables: fixed false positives by bailing out when variable is conditionally initialized and then there is a conditional return.
|
2012-12-27 18:45:00 +01:00 |
Daniel Marjamäki
|
f16c30248a
|
Uninitialized variables: fixed FP when there are function calls where type* is converted to unknown_type
|
2012-12-25 14:05:29 +01:00 |
Daniel Marjamäki
|
f381058293
|
Uninitialized variables: fixed FP when there are suspicious function calls where type** is converted to type*
|
2012-12-25 13:58:15 +01:00 |
Daniel Marjamäki
|
bcc5a82b1d
|
Uninitialized variables: Fixed FP when using typeof on uninitialized data in return statement
|
2012-12-25 13:31:54 +01:00 |
Daniel Marjamäki
|
299c1bb208
|
Uninitialized variables: handle unsimplified labels better
|
2012-12-25 10:37:21 +01:00 |
Daniel Marjamäki
|
83da4125e3
|
Uninitialized variables: Better value flow analysis. Fixed false positives.
|
2012-12-24 19:11:13 +01:00 |
Daniel Marjamäki
|
0b4da3d5cd
|
Uninitialized variables: Fixed false positives when variable x is given a nonzero value when variable y is uninitialized.
|
2012-12-23 16:27:04 +01:00 |
Daniel Marjamäki
|
2050cd71db
|
Uninitialized variables: Better testing of function handling
|
2012-12-21 19:32:56 +01:00 |
Daniel Marjamäki
|
dc6aa92f3b
|
Uninitialized variables: warn about structs in C code
|
2012-12-21 18:50:38 +01:00 |
Daniel Marjamäki
|
cf84c211ed
|
Uninitialized variables: Improved handling of function calls
|
2012-12-21 17:04:15 +01:00 |
Daniel Marjamäki
|
415ee977d8
|
Uninitialized variables : fixed false positives when passing address of pointer to function.
|
2012-12-21 16:57:49 +01:00 |
Daniel Marjamäki
|
ccdea4dc2b
|
Uninitialized variables: Improved checking of functions
|
2012-12-20 19:45:30 +01:00 |
Daniel Marjamäki
|
3913fd8398
|
Fixed #4320 (False positives 'unassignedVariable' and 'uninitvar')
|
2012-12-18 19:02:30 +01:00 |
PKEuS
|
4737966caf
|
Unit test cleanup: Removed some empty lines and whitespaces before \n.
|
2012-12-06 10:19:22 -08:00 |
Daniel Marjamäki
|
82223227bd
|
Uninitialized variables: Fixed false negative in new checking when using while loops
|
2012-11-30 06:30:04 +01:00 |
Daniel Marjamäki
|
68327b3c64
|
Uninitialized variables: Fixed TODO testcase
|
2012-11-29 18:41:48 +01:00 |
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 |