Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Code analysis tool detects common coding errors, such as buffer overrun, un-initialized memory, null pointer dereference, and memory and resource leaks.
To enable code analysis for C/C++ code
Open a project in Visual Studio.
On the Project menu, click Properties.
Click Code Analysis.
In the Enable Code Analysis for C/C++ list, select Yes (/analyze) and then click OK.
To disable code analysis for C/C++ code
Open a project in Visual Studio.
On the Project menu, click Properties.
Click Code Analysis.
In the Enable Code Analysis for C/C++ list, select No and then click OK.