cppcheck/addons/test
Georgiy Komarov 79f59d8f39
misra: Fixed crash with struct fields with unknown types on 9.x rules (#3305)
This fixes the crash on with struct fields containing unknown types
reported on the forum:
https://sourceforge.net/p/cppcheck/discussion/general/thread/d64551cc55/#5f0f

The suggested patch doesn't handle the cases when there are struct
fields with arrays containing unknown types. So the addon will not
generate warnings in these cases. The problem is that Cppcheck doesn't
generate valueType-pointer information for unknown types in the dump
file. When adding this in symboldatabase.cpp, MISRA addon will generate
a lot of false positives because we depend on the null value of
valueType.

So I suppose it better to left this as is, to don't break the addon for
such rare cases.
2021-06-24 08:29:27 +02:00
..
misra misra: Fixed crash with struct fields with unknown types on 9.x rules (#3305) 2021-06-24 08:29:27 +02:00
path1 Fix per file excludes (#1437) 2018-10-18 09:17:57 +02:00
threadsafety threadsafety shall not warn about const vars (in C++11) (#2847) 2020-10-23 11:58:25 +02:00
y2038 y2038 addon: Fix that check can never return True, add tests (#2417) 2019-12-03 18:49:11 +01:00
__init__.py misra.py: Fix up and improve load rules parser. (#1895) 2019-06-17 21:17:29 +02:00
cert-test.c Fixed #9971 (missing system includes in addon/test test files) 2020-11-15 12:46:28 +01:00
cert-test.cpp cert.py: Fix EXP05C crash (#2392) 2019-11-23 17:41:47 +01:00
misc-test.cpp Fixed #9971 (missing system includes in addon/test test files) 2020-11-15 12:46:28 +01:00
naming_test.c Fixed #9971 (missing system includes in addon/test test files) 2020-11-15 12:46:28 +01:00
naming_test.cpp naming.py: Fix FP for constructors/destructors (#2375) 2019-11-18 18:41:57 +01:00
namingng_test.c Fixed #9971 (missing system includes in addon/test test files) 2020-11-15 12:46:28 +01:00
test-cert.py addons/test/test-*.py: Improve documentation about running the tests 2019-09-20 13:39:38 +02:00
test-misra.py some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01:00
test-y2038.py y2038 addon: Fix that check can never return True, add tests (#2417) 2019-12-03 18:49:11 +01:00
util.py Misra severity (#2674) 2020-06-08 15:58:17 +02:00