[PATCH v3 0/3] xen/misra: create exclusion file list

Luca Fancellu posted 3 patches 1 year, 1 month ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230303093856.2169227-1-luca.fancellu@arm.com
docs/misra/exclude-list.json                  | 201 ++++++++++++++++++
docs/misra/exclude-list.rst                   |  46 ++++
xen/scripts/xen_analysis/cppcheck_analysis.py |  23 +-
.../xen_analysis/exclusion_file_list.py       |  70 ++++++
4 files changed, 338 insertions(+), 2 deletions(-)
create mode 100644 docs/misra/exclude-list.json
create mode 100644 docs/misra/exclude-list.rst
create mode 100644 xen/scripts/xen_analysis/exclusion_file_list.py
[PATCH v3 0/3] xen/misra: create exclusion file list
Posted by Luca Fancellu 1 year, 1 month ago
This serie is introducing an exclusion list for the misra analysis, at the
moment only cppcheck can benefit from it because it's the tool where we
control every step and configuration.

Exclude a file from the analysis is the last step we should do, but sometime it
is unavoidable because we can't do direct changes to it to fix/deviate from
findings.
So we declare the file(s) here and we leave the burden of the misra compliance
to the final user.

Luca Fancellu (3):
  xen/cppcheck: add a way to exclude files from the scan
  xen/misra: add entries to exclude-list.json
  xen/cppcheck: globally suppress unusedStructMember

 docs/misra/exclude-list.json                  | 201 ++++++++++++++++++
 docs/misra/exclude-list.rst                   |  46 ++++
 xen/scripts/xen_analysis/cppcheck_analysis.py |  23 +-
 .../xen_analysis/exclusion_file_list.py       |  70 ++++++
 4 files changed, 338 insertions(+), 2 deletions(-)
 create mode 100644 docs/misra/exclude-list.json
 create mode 100644 docs/misra/exclude-list.rst
 create mode 100644 xen/scripts/xen_analysis/exclusion_file_list.py

-- 
2.34.1