C + + Static code analysis PREfast

Source: Internet
Author: User

1 history
PREfast is a static code analysis tool proposed by Microsoft Research. The main purpose is to detect defects in the program by analyzing the data of the code and controlling the information. It should be emphasized that prefast detection is not only a security flaw, but the type of security flaw is the most important part of its detection. PREfast has been widely used within Microsoft since its launch, and has undergone several versions of the upgrade. Now, Microsoft is commercializing this in-house tool to provide external developers with access.

2 How to get PREfast
There are currently two ways to obtain PREfast tools.
PREfast is included in the team version of Visual Studio 2005/2008 (Group edition).
PREfast is included in the development environment of the Windows Driver Development package (Microsoft Windows Driver Kits).

3 Using PREfast
In the team version of Visual Studio, using PREfast, open Project Properties--Configuration Properties--Code analysis-->enable The Code analysis for C + + on build. Select Yes (/analyze).

C + + Static code analysis PREfast

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.