Aracılığıyla paylaş


Detecting and Correcting C/C++ Code Defects

When you install either Visual Studio Team System Development Edition or Visual Studio Team Suite, you get a code analysis tool that helps you detect and correct code defects. This section describes Code Analysis and how to use the tool to improve your C/C++ code.

In This Section

Code Analysis for C/C++ Overview

Learn about the features of the code analysis tool.

Code Analysis Properties for C/C++

Describes the configuration settings for code analysis.

How to: Invoke Code Analysis for C/C++

Learn to invoke the code analysis tool from within the IDE.

How to: Enable and Disable Code Analysis for Specific C/C++ Warnings

Learn to use warning pragma to enable and disable code analysis warnings.

How to: View Code Analysis for C/C++ Warnings

Describes how to view and navigate to errors in code.

How to: Specify Additional Code Information

Learn how to use __analysis_assume to improve code analysis.

How to: Create a Work Item for C/C++ Code Defects

Learn to use the work item tracking feature in Team Foundation.

Walkthrough: Analyzing C/C++ Code for Defects

Gain hands-on experience by performing code analysis on a C/C++ project.

Using Annotations to Reduce C/C++ Code Defects

Learn about annotation features of the code analysis tool to detect violations of the contract between the caller and the callee.

Code Analysis for C/C++ Warnings

Lists and describes code analysis warnings.

See Also

Other Resources

Detecting and Correcting Managed Code Defects