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