PREfast Best Practices
This section summarizes best practices for using PREfast and annotations.
Best Practices for Using PREfast
Consider the following general best practices for integrating PREfast into your development cycle:
Set policies for integrating PREfast into your development practices. Consider these ideas for integrating PREfast into your team’s development practices:
Start running PREfast as soon as you get the first clean compile of each source file.
Establish a policy for your development team about which PREfast warnings must be fixed, which warnings can be ignored, and which warnings the developer might choose to fix or not to fix.
Establish a policy and comment conventions to record why particular warnings, such as false positives, ...
Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.