Tip of the Day: Annotate Your Source Code
To get the most from using static analysis tool PREfast, you should add annotations to your source code. While this might sound like a difficult thing to do, it’s really not. The Visual Studio 2008 SAL documentation on MSDN has been rewritten to present the annotations as a series of choices or, in other words, a “cheat sheet.” This updated documentation doesn’t, however, give any significant examples; for that you have to look back a version to the Visual Studio 2005 SAL documentation. For more examples, you can also peruse through the header files provided with your compiler.
Comments
Anonymous
August 26, 2008
PingBack from http://hoursfunnywallpaper.cn/?p=3133Anonymous
September 01, 2008
I don't ordinarily just copy stuff that someone else sends me into my blog, but this is an exception.