We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear All,
Greetings. I am developing the security related product. For source code development i am using the PC-Lint for checking the errors and MISRA C violation.
I have two doubts in using the PC-Lint,
1. What is the Warning level of PC lint should follow in the in Security products? 2. Which are the warning levels must?
Now i am using the warning level 4.(Maximum level). This is generating giving more warnings and errors.
Please advise me on this.
Regards, Murthy.R
The highest warning level is always to be preferred, even if the subject is not security related, but PC Lint offers its fourth level as an "optional level", where you can enable certain warnings (called 'Notes') depending on your coding guidelines or preferences. I suggest you start at level one (indicating syntax errors, but if your project compiles correctly, such warnings are mostly a sign for incorrect or poor configuration), and increase the level when you have achieved a low number (ideally zero) warnings at that level. Do not increase the level higher than 3, but rather, enable specific 'Notes' individually. Refer to the manual (or the msg.txt file publicly available on Gimpel's website, http://www.gimpel.com). You may also ask specific questions in the forum there. And if you want, check out my whitepaper at www.bezem.de/.../htwpl.pdf on "How to wield PC Lint", where I go through a complete setup and configuration of PC Lint for a project.
HTH,
Johan