[PATCH v2 0/2] xen/misra: create exclusion file list

Luca Fancellu posted 2 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230301095320.264301-1-luca.fancellu@arm.com
Test gitlab-ci passed
There is a newer version of this series
docs/misra/exclude-list.json                  | 201 ++++++++++++++++++
docs/misra/exclude-list.rst                   |  44 ++++
xen/scripts/xen_analysis/cppcheck_analysis.py |  20 +-
.../xen_analysis/exclusion_file_list.py       |  79 +++++++
4 files changed, 342 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 v2 0/2] xen/misra: create exclusion file list
Posted by Luca Fancellu 1 year, 2 months 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 (2):
  xen/cppcheck: add a way to exclude files from the scan
  xen/misra: add entries to exclude-list.json

 docs/misra/exclude-list.json                  | 201 ++++++++++++++++++
 docs/misra/exclude-list.rst                   |  44 ++++
 xen/scripts/xen_analysis/cppcheck_analysis.py |  20 +-
 .../xen_analysis/exclusion_file_list.py       |  79 +++++++
 4 files changed, 342 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