This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PC lint Error/Warning level in Security products

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

Parents
  • 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

Reply
  • 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

Children
No data