PKEuS
|
7e4081f7f5
|
Treat syntaxError and cppcheckError as InternalErrors (throw as exception, #4268)
|
2014-03-27 13:15:21 +01:00 |
PKEuS
|
1677e2913e
|
Regression test for #5061.
|
2014-03-26 12:17:27 +01:00 |
PKEuS
|
9b4b90f6a0
|
Avoid loading libraries multiple times in test suite
-> Massive speedup for test suite (especially on slow systems)
|
2014-03-24 09:59:05 +01:00 |
Martin Ettl
|
e00f50b850
|
Fixed #5597 and added abort() support to stdcfg.
|
2014-03-21 17:36:48 +01:00 |
orbitcowboy
|
6507824a34
|
Added support for putchar() to std.cfg.
|
2014-03-20 05:49:38 +01:00 |
orbitcowboy
|
80e3b49cfc
|
Added support for ftell() and puts() to std.cfg.
|
2014-03-20 04:10:41 +01:00 |
orbitcowboy
|
30006cf06f
|
Added support for fputs() to std.cfg.
|
2014-03-20 02:13:41 +01:00 |
orbitcowboy
|
b37e9601c1
|
Added support for fgetc() to std.cfg.
|
2014-03-20 00:59:52 +01:00 |
Martin Ettl
|
fe1b46c174
|
Extended std.cfg
|
2014-03-19 21:08:48 +01:00 |
PKEuS
|
86e6bb430a
|
New check: Warning, if positioning operation (fseek) is performed on a file opened in "a" mode
|
2014-03-17 11:02:03 +01:00 |
Martin Ettl
|
80b1271d01
|
Astyle running and added test cases for functions in std.cfg.
|
2014-03-10 02:21:44 +01:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
Daniel Marjamäki
|
b8b573321e
|
CheckNullPointer: Update std.cfg and test that updates are correct
|
2014-01-27 17:33:16 +01:00 |
Daniel Marjamäki
|
87b67e9b77
|
TestNullPointer: Added test configuration for 'memcmp' that is needed by a test
|
2014-01-26 16:32:28 +01:00 |
Daniel Marjamäki
|
1d7bb05faf
|
Remove ExecutionPath from CheckNullPointer
|
2014-01-22 20:24:51 +01:00 |
Daniel Marjamäki
|
f3f7e6d302
|
value flow: replacing executionpath checking of null pointers
|
2014-01-22 20:16:31 +01:00 |
Daniel Marjamäki
|
43db1ee797
|
value flow: use more specific bailouts when analysing value flow after assignment
|
2014-01-22 06:38:25 +01:00 |
Daniel Marjamäki
|
cc38dec3ad
|
value flow: a bit better handling of assigned variable
|
2014-01-22 06:10:17 +01:00 |
Daniel Marjamäki
|
a27ccbd0f8
|
value flow: start implementing value flow analysis of assigned value
|
2014-01-21 21:13:49 +01:00 |
Daniel Marjamäki
|
30cae358d8
|
Removed the --value-flow flag. ValueFlow analysis will always be enabled from now on.
|
2014-01-17 18:07:05 +01:00 |
Daniel Marjamäki
|
c9e9262682
|
value flow: use checknullpointer checking based on new value flow analysis in the TestNullPointer
|
2014-01-12 19:51:05 +01:00 |
Daniel Marjamäki
|
5d2a39b580
|
CheckNullPointer: improved function call checking when new value flow analysis is used
|
2014-01-12 19:27:26 +01:00 |
Daniel Marjamäki
|
bef56d7a70
|
reverted change I pushed by mistake
|
2014-01-12 15:44:40 +01:00 |
Daniel Marjamäki
|
424675982a
|
dmake: use -std=c++0x instead of -std=c++11 as it's supported by earlier gcc
|
2014-01-12 15:38:51 +01:00 |
Daniel Marjamäki
|
7c4a7ac3d5
|
value flow: starting to refactor CheckNullPointer::nullPointerDeRefThenCheck
|
2014-01-08 17:37:39 +01:00 |
Daniel Marjamäki
|
7125682d1a
|
Fixed #5274 (TokenList: macro handling)
|
2014-01-03 18:53:37 +01:00 |
PKEuS
|
4f0121ee2f
|
Splitted simplification out of tokenize()
|
2013-12-30 17:45:28 +01:00 |
Daniel Marjamäki
|
872b6e8fcc
|
Fixed VS compiler warning. Using 'struct' for class. Thanks XhmikosR for reporting.
|
2013-12-26 17:48:25 +01:00 |
Daniel Marjamäki
|
20b84fcdee
|
Null pointers: Don't warn when first argument to freopen() is NULL
|
2013-11-08 13:22:07 +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
|
5f0cfa0ee4
|
Fixed #4983 (False positive warning 'Possible null pointer dereference: lblList - otherwise it is redundant to check it against null.' with sizeof lblList[0])
|
2013-11-02 23:56:10 +01:00 |
Daniel Marjamäki
|
4a6274dcc0
|
Merge pull request #183 from felipensp/null_ptr_typeof
- Fixed false positive when passing pointer to typeof()
|
2013-10-27 02:37:31 -07:00 |
Daniel Marjamäki
|
fd0f2d7900
|
Fixed #4929 (False positive: possible null pointer deref (checks dont handle && and || well))
|
2013-10-22 10:47:48 +02:00 |
Daniel Marjamäki
|
fc26de89a9
|
Fixed #5082 (False positive: (error) Possible null pointer dereference: p2)
|
2013-10-20 13:37:36 +02:00 |
Felipe Pena
|
ecb0e70250
|
- Fixed false positive when passing pointer to typeof()
|
2013-10-12 10:19:15 -03:00 |
Robert Reif
|
1fccfd50eb
|
Fixed #5080 ((error) Internal error. Token::Match called with varid 0. Please report this to Cppcheck developers)
|
2013-10-12 10:50:59 +02:00 |
Lucas Manuel Rodriguez
|
a70b0cd0f3
|
Fixed FP: Null pointer dereference
|
2013-08-24 16:50:19 -03:00 |
PKEuS
|
a9a5dc0354
|
Updated to AStyle 2.03, require this version
|
2013-08-07 16:27:37 +02:00 |
Daniel Marjamäki
|
a1fafa7f06
|
Library: added <formatstr> and <strz> to argument checks
|
2013-07-22 20:21:45 +02:00 |
Daniel Marjamäki
|
fa7f8ddc78
|
Library: Renamed Argument to ArgumentChecks to make it a bit more clear
|
2013-07-16 09:40:31 +02:00 |
Daniel Marjamäki
|
d25e7d4a21
|
Library: fixed problems
|
2013-07-16 08:21:38 +02:00 |
Daniel Marjamäki
|
24dfc052e2
|
astyle formatting
|
2013-07-15 21:57:58 +02:00 |
Daniel Marjamäki
|
7443883b9c
|
Library: Improved handling in CheckNullPointer::parseFunctionCall for Library data
|
2013-07-15 18:55:40 +02:00 |
Daniel Marjamäki
|
c389e08353
|
Fixed #4728 (simplify known variables better (%var% & %num%, bitwise and))
|
2013-06-26 18:13:28 +02:00 |
Daniel Marjamäki
|
10849e220b
|
Fixed #4809 (Review CheckNullPointer::parseFunctionCall)
|
2013-06-07 06:37:53 +02:00 |
Daniel Marjamäki
|
079d22fbee
|
Fixed #4734 (False 'Possible null pointer dereference')
|
2013-05-03 16:18:44 +02:00 |
Zachary Blair
|
35668380cf
|
Fixed #4510 (False positive: "Possible null pointer dereference if the default parameter value is used" after init)
|
2013-04-25 00:25:56 -07:00 |
Daniel Marjamäki
|
4e65800adf
|
TestRunner: Updated warning message when there is unsimplified code
|
2013-04-16 16:54:19 +02:00 |
Daniel Marjamäki
|
fdac502c39
|
Simplified TestNullPointer test cases
|
2013-04-15 19:00:15 +02:00 |
PKEuS
|
693c6e84cb
|
Removed more duplicate unit tests
|
2013-04-13 01:49:17 -07:00 |