c46e44e39e
* misra.py: R14.2: Verify for counter modification Add additional check to detect modification of loop counter in loop body. Related issue: https://trac.cppcheck.net/ticket/9490 Add small fix that treat all assignment operators defined in N1750 6.5.16 as has side affects. This will affects rules 13.1, 13.3, 13.5 and allow to catch some false negatives. * Add tests for fixed FPs for R13.{1,5,6} * fix * use isAssignmentOp from cppcheck data * remove unused set * handle case with empty body or syntax error * add test with outer variable * Fix FP in nested loops, add tests * Fix FP on outer variables * Fixup false positives for not loop counters |
||
---|---|---|
.. | ||
misra | ||
path1 | ||
y2038 | ||
__init__.py | ||
cert-test.c | ||
cert-test.cpp | ||
misc-test.cpp | ||
naming_test.c | ||
naming_test.cpp | ||
namingng_test.c | ||
test-cert.py | ||
test-misra.py | ||
test-y2038.py | ||
util.py |