Misra Software

0 views
Skip to first unread message

Lalo Scalf

unread,
Aug 3, 2024, 6:11:00 PM8/3/24
to ranacpupan

I never did any testing with inline suppressions. Let me know if they don't work and I'll see if I can figure out why.
Note the above rule (misra-c2012-16.1) will not be parsed corrected by the misra.py code as the rule number needs to be immediately after the 'misra' prefix.

Thanks for the testing. I'm not sure when I'll have time to look at this. Do you know any python? You can use the --show-suppressed-rules argument to misra.py to make it dump the parsed suppression list.
To check the incomming items from the dump file you will have to add some debugging to the parseSuppressions() method. You will need to print out the values coming in from
for each in self.dumpfileSuppressions

c80f0f1006
Reply all
Reply to author
Forward
0 new messages