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
|
2e67ca06c0
|
value flow: some simplifications in unknown functions when there is library configuration
|
2014-01-12 18:19:00 +01:00 |
Daniel Marjamäki
|
ab866be03a
|
Tokenizer: Move 'else if' simplification to tokenize
|
2014-01-12 17:47:02 +01:00 |
Daniel Marjamäki
|
d700114edf
|
value flow: bailout if condition is defined by macro
|
2014-01-12 17:16:51 +01:00 |
Daniel Marjamäki
|
037a0ba986
|
GUI: change -std=c++11 to -std=c++0x as it's more backwards compatible
|
2014-01-12 15:46:22 +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 |
Heinrich Schuchardt
|
f6510a6b45
|
Fixed #5339 (Tokenizer::setVarId : function-pointer function argument not getting variable id, causing FP)
|
2014-01-12 15:15:09 +01:00 |
Daniel Marjamäki
|
3d79613f2b
|
value flow: more bailouts when return/break/continue/goto is reached. TODO: handle these better.
|
2014-01-12 15:07:58 +01:00 |
Daniel Marjamäki
|
155990cb0e
|
value flow: improved checking of do-while loops for non-local variables
|
2014-01-12 15:02:58 +01:00 |
Daniel Marjamäki
|
5b679fc732
|
value flow: fixed fp for data member
|
2014-01-12 14:37:26 +01:00 |
Daniel Marjamäki
|
9c088c2dd6
|
gui.pro: add -std=c++11 to linux builds
|
2014-01-12 13:51:08 +01:00 |
Daniel Marjamäki
|
50c8075b15
|
dmake: use -std=c++11 even if CXXFLAGS is redefined
|
2014-01-12 13:47:53 +01:00 |
Alexander Mai
|
86763b401c
|
Fixed #5340 (Preprocessor: not using errorLogger when reporting syntax errors)
|
2014-01-12 13:15:54 +01:00 |
Daniel Marjamäki
|
4224f873fd
|
dmake: added -std=c++11 flag
|
2014-01-12 13:14:46 +01:00 |
Daniel Marjamäki
|
a1a40ac034
|
updated Makefile with dmake
|
2014-01-12 13:13:29 +01:00 |
PKEuS
|
b775714e3d
|
Moved several hardcoded function names in format string checking into libraries (std.cfg and windows.cfg).
Added support for loading a library in test suite.
|
2014-01-12 03:44:24 -08:00 |
Daniel Marjamäki
|
21d317b7d6
|
value flow: fixed redundant null pointer check
|
2014-01-12 12:38:41 +01:00 |
Daniel Marjamäki
|
d8262963d9
|
value flow: condition in loop, bailout valueflow analysis before loop if there is assignment inside the loop
|
2014-01-12 11:58:10 +01:00 |
Daniel Marjamäki
|
e3496080c8
|
Fixed #5334 (False positive: same expression on both sides of '||')
|
2014-01-12 07:40:56 +01:00 |
Daniel Marjamäki
|
f58e1ab80e
|
value flow: fixed fp in switch
|
2014-01-11 21:21:00 +01:00 |
Daniel Marjamäki
|
3625d179e5
|
value flow: don't perform value flow analysis in sizeof/typeof expressions
|
2014-01-11 21:10:01 +01:00 |
Daniel Marjamäki
|
680d3f1312
|
value flow: fixed fp for nested assignments
|
2014-01-11 20:53:23 +01:00 |
Daniel Marjamäki
|
4d045879aa
|
value flow: fixed fp when while condition contains variable that is changed in loop body
|
2014-01-11 20:25:49 +01:00 |
Daniel Marjamäki
|
75f9111775
|
value flow: bailout when variable is used in assignment to itself
|
2014-01-11 15:36:09 +01:00 |
Daniel Marjamäki
|
1fc2c9fe79
|
ast: fixed syntax tree for statement enclosed in parentheses ';(expr);'
|
2014-01-11 15:18:39 +01:00 |
Daniel Marjamäki
|
ceca6be22b
|
Fixed #5334 (False positive: same expression on both sides of '||')
|
2014-01-11 15:15:01 +01:00 |
Daniel Marjamäki
|
eaf8c83db5
|
value flow: refactoring. broke out function for skipping value simplifications in expressions.
|
2014-01-11 14:54:10 +01:00 |
Daniel Marjamäki
|
85dcb14813
|
value flow: bailout in valueFlowBeforeCondition if variable can be assigned by subfunction
|
2014-01-11 14:31:51 +01:00 |
Daniel Marjamäki
|
225001a45c
|
value flow: changed astparent lookup
|
2014-01-11 12:47:47 +01:00 |
Daniel Marjamäki
|
02b92efd1a
|
value flow: improved analysis of expressions below ?, && and || operators
|
2014-01-11 12:44:55 +01:00 |
Daniel Marjamäki
|
60348da1b5
|
value flow: fixed fp for rhs in && and || expressions
|
2014-01-11 11:30:34 +01:00 |
Daniel Marjamäki
|
f0743d3bc4
|
GUI: add the cfg files in the resources. use these as fallback when normal loading fails.
|
2014-01-11 08:38:26 +01:00 |
Daniel Marjamäki
|
4e7e56df9f
|
astyle formatting
|
2014-01-11 07:54:06 +01:00 |
Daniel Marjamäki
|
1ad94a8be5
|
value flow: loosen up bailouts in valueFlowSubFunction
|
2014-01-11 07:52:25 +01:00 |
Kamil Dudka
|
1f53018b8e
|
Suppress warning about non-existing path given to -I with --quiet.
|
2014-01-10 21:50:21 +01:00 |
Daniel Marjamäki
|
2f30f9aa13
|
Merge pull request #214 from matthiaskrgr/unusedFuncts
remove/comment out some unused functions.
|
2014-01-10 12:23:45 -08:00 |
Daniel Marjamäki
|
b9ec758ac9
|
Merge pull request #213 from simartin/xcode_valueflow
Register valueflow.{h,cpp} to XCode projects.
|
2014-01-10 12:18:58 -08:00 |
Matthias Krüger
|
f6da9d4e3c
|
testcmdlineparser: comment out unused functions fileListStdin(), ignorepaths{1-4}(), ignorefilepaths{1,2}()
|
2014-01-10 21:08:12 +01:00 |
Matthias Krüger
|
4f918e1c8c
|
testsuite: remove function todoAssert() which is unused according to cppcheck.
|
2014-01-10 21:08:11 +01:00 |
Matthias Krüger
|
d9ce61a9d6
|
testsuite: according to cppcheck, the function printTests() is not used, remove it.
|
2014-01-10 21:08:11 +01:00 |
Matthias Krüger
|
6feb0faf4c
|
testbool: same for checkComparisonOfBoolWithBool
|
2014-01-10 21:08:11 +01:00 |
Matthias Krüger
|
3602cc2f6a
|
testsymboldatabase: run symboldatabase32, probably someone forgot to implement this.
|
2014-01-10 21:08:11 +01:00 |
Simon Martin
|
105681124c
|
Register valueflow.{h,cpp} to XCode projects.
|
2014-01-10 21:03:33 +01:00 |
Daniel Marjamäki
|
57d241793f
|
value flow: fix segfault if var is null
|
2014-01-10 18:30:41 +01:00 |
Daniel Marjamäki
|
c687933e9f
|
value flow: improved handling of for loops
|
2014-01-10 18:19:24 +01:00 |
Daniel Marjamäki
|
3eebc8a9f1
|
test1
|
2014-01-10 16:51:58 +01:00 |
Daniel Marjamäki
|
3e7f692d4d
|
value flow: stop checking global variable when going out of function scope
|
2014-01-10 16:17:19 +01:00 |
Daniel Marjamäki
|
acb103e214
|
value flow: skip scopes that don't contain variable
|
2014-01-10 16:13:39 +01:00 |
Daniel Marjamäki
|
81513b4346
|
value flow: Readded safety check that tok->astOperand1() is not NULL
|
2014-01-10 05:54:03 +01:00 |