mbox series

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

Message ID 20230301095320.264301-1-luca.fancellu@arm.com (mailing list archive)
Headers show
Series xen/misra: create exclusion file list | expand

Message

Luca Fancellu March 1, 2023, 9:53 a.m. UTC
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