C++/CX: Source-Code annotation language (SAL)

Code analysis can easily be run on your code if you utilize the source-code annotation language (SAL, not S-CAL).  The Visual Studio code analysis tool uses SAL annotations to modify its analysis of functions.

To get started with reading about SAL check out these links (and yes, this is a link document):

  • Understanding SAL:
  • Using SAL Annotations to Reduce C/C++ Code Defects, has a number of useful links:
  • SAL 2.0 Annotations for Windows Drivers:

Small businesses wouldn’t use this stuff!

True.  But if you want time off overtime, you might want to consider checking it out.

Comments (0)

Skip to main content