cppcheck/addons/test/misra
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-suppressions1-test.c
misra-suppressions2-test.c
misra-test.c misra: Fixed crash with struct fields with unknown types on 9.x rules (#3305) 2021-06-24 08:29:27 +02:00
misra-test.cpp Suggested implementation for rule 8.2 (#3169) 2021-03-25 08:25:43 +01:00
misra-test.h misra: Add support for expected suppressions in header files in `-verify` mode (#3252) 2021-05-08 10:27:31 +02:00
misra2012_rules_dummy_ascii.txt
misra2012_rules_dummy_utf8.txt
misra2012_rules_dummy_windows1250.txt
misra_rules_dummy.txt
misra_rules_empty_lines.txt
misra_rules_multiple_lines.txt Loosen restrictions on MISRA rules text structure (#2157) 2019-09-09 21:43:44 +02:00
misra_rules_structure.txt
suppressions.txt Try to fix addon suppressions tests 2020-11-11 20:28:26 +01:00