mbox series

[v2,0/2] Cppcheck MISRA analysis improvements

Message ID 20230130110132.2774782-1-luca.fancellu@arm.com (mailing list archive)
Headers show
Series Cppcheck MISRA analysis improvements | expand

Message

Luca Fancellu Jan. 30, 2023, 11:01 a.m. UTC
This serie is adding a way to skip the check for some rules that the Xen project
has agreed to follow, this is because cppcheck reports too many false-positive
on some rules and it would be easier in a first phase to skip the check on them
and allow the tool to be mature enough before using it on the specific rules.

The serie includes also an improvement for the cppcheck report.

Luca Fancellu (2):
  xen/cppcheck: sort alphabetically cppcheck report entries
  xen/cppcheck: add parameter to skip given MISRA rules

 xen/scripts/xen_analysis/cppcheck_analysis.py |  8 +++--
 .../xen_analysis/cppcheck_report_utils.py     |  7 ++++
 xen/scripts/xen_analysis/settings.py          | 35 +++++++++++--------
 xen/tools/convert_misra_doc.py                | 28 ++++++++++-----
 4 files changed, 53 insertions(+), 25 deletions(-)