20 Commits

Author SHA1 Message Date
Daniel Marjamäki
3989408738 Update copyright year 2022-02-05 11:45:17 +01:00
Paul Fultz II
e20ddd55d6
Propagate partially uninit variables in ValueFlow () 2021-10-30 07:43:37 +02:00
Paul Fultz II
5e9bc48d26
Evaluate symbolic values () 2021-10-11 19:10:37 +02:00
Paul Fultz II
d30f42e0da
Fix FP when calling a function in a condition () 2021-08-21 18:52:11 +02:00
Daniel Marjamäki
94e8a69a9b Fix self-check warning 2021-08-09 09:55:24 +02:00
Paul Fultz II
a218ea3b23
Fix 10404: FP knownConditionTrueFalse after subtraction () 2021-08-09 07:45:41 +02:00
Paul Fultz II
7f358b2bed
Format with uncrustify () 2021-08-07 20:51:18 +02:00
Paul Fultz II
8b8ae55490
Fix 10129: false negative: knownConditionTrueFalse ()
* Add symbolic matching

* Check for truncated values

* Dont propagate uninit values

* Update errorpath test

* Add test case for 10129

* Add test case for FP

* Remove symbolic values that are the same as the token

* Fix test messages

* Fix cppcheck issue

* Format
2021-08-04 21:07:31 +02:00
orbitcowboy
1be5bb8bbc Running astyle [ci skip] 2021-07-18 10:01:22 +02:00
Paul Fultz II
59a1c1a9d8
Refactor: Remove variable analyzer () 2021-07-18 07:46:31 +02:00
orbitcowboy
3f1e937ea1 Running astyle [ci skip] 2021-07-17 08:19:04 +02:00
Paul Fultz II
942202aede
Evaluate container sizes in forward analysis () 2021-07-16 18:49:07 +02:00
Paul Fultz II
dd178c3ad9
Fix 10314: Possible nullPointerRedundantCheck false positive () 2021-06-19 13:59:48 +02:00
Paul Fultz II
f3a33ea330
Fix 10294: ValueFlow: Wrong <Uninit> value below loop () 2021-06-09 09:20:43 +02:00
Daniel Marjamäki
42437277dc Update Copyright year 2021-03-21 20:58:32 +01:00
Paul Fultz II
d05acf3c41
Fix issue 10120: FP: containerOutOfBounds, regression () 2021-01-21 19:50:57 +01:00
Oliver Stöneberg
491f4874c5
fixed/aligned some compiler warnings () 2021-01-21 18:13:32 +01:00
Paul Fultz II
678ee00fe9
Infer variables from conditions in valueFlowSubfunction () 2021-01-11 08:00:13 +01:00
Daniel Marjamäki
7182da5c8e astyle formatting 2020-11-11 09:17:54 +01:00
Paul Fultz II
bd7e915c20
Add generic reverse valueflow () 2020-11-10 16:00:55 +01:00