Showing results for cppcorecheck - C++ Team Blog

Jun 10, 2021
0
0

Static Analysis Fixes, Improvements, and Updates in Visual Studio 2019 version 16.10

Jordan Maples
Jordan Maples

The C++ static analysis team is committed to making your C++ coding experience as safe as possible. We are adding richer code safety checks and addressing high impact customer feedback bugs posted on the  C++ Developer Community page. Thank you for engaging with us and giving us great feedback on the past releases and early previews leading to this...

C++
Oct 6, 2020
3
0

C++ Core Check in Visual Studio

Jordan Maples
Jordan Maples

C++ Core Check is Microsoft’s static analysis tool that enforces the rules from the C++ Core Guidelines, which is maintained by the C++ Foundation. This post is to provide a snapshot of the C++ Core Guidelines coverage that C++ Core Check offers. For background, the C++ team introduced C++ Core Check in December 2015 as part of Visual Studio 201...

C++
Sep 4, 2020
6
0

New safety rules in C++ Core Check

Sunny Chatterjee
Sunny Chatterjee

Rust and C++ are two popular systems programming languages. For years, the focus of C++ has been on performance. We are increasingly hearing calls from customers and security researchers that C++ should have stronger safety guarantees in the language. C++ often falls behind Rust when it comes to programming safety. Visual Studio 2019 version 16.7 c...

C++
Jan 24, 2019
0
0

Lifetime Profile Update in Visual Studio 2019 Preview 2

Kyle Reed
Kyle Reed

The C++ Core Guidelines' Lifetime Profile, which is part of the C++ Core Guidelines, aims to detect lifetime problems, like dangling pointers and references, in C++ code. It uses the type information already present in the source along with some simple contracts between functions to detect defects at compile time with minimal annotation. These a...

New Feature
Mar 22, 2018
0
0

C++ Core Checks in Visual Studio 2017 15.7 Preview 2

Sunny Chatterjee
Sunny Chatterjee

This post was written by Sergiy Oryekhov. The C++ Core Guidelines Check extension received several new rules in Visual Studio 2017 15.7 Preview 2. The primary focus in this iteration was on the checks that would make it easier to adopt utilities from the Guidelines Support Library. Below is a quick summary of these additions. For more detailed inf...

DiagnosticsWriting Code
Mar 13, 2018
0
0

C++ Code Analysis Improvements for Visual Studio 2017 15.7 Preview 1

Kyle Reed
Kyle Reed

点这里看中文版 We're making it easier to configure and use the C++ code analysis features with a set of changes targeting 15.7. In the first 15.7 preview we've cleaned up the UI, fixed our documentation links and, most importantly, simplified the way analysis extensions are configured.  If you're not familiar with C++ Core Check, it's a code analysis ext...

DiagnosticsWriting Code
Feb 23, 2018
0
0

Arithmetic overflow checks in C++ Core Check

Sunny Chatterjee
Sunny Chatterjee

点这里看中文版 We've improved the C++ Code Analysis toolset with every major compiler update in Visual Studio 2017. Version 15.6, now in Preview, includes a set of arithmetic overflow checks. This article discusses those checks and why you’ll want to enable them in your code. If you’re just getting started with C++ Code Analysis in Visual Studio, learn ...

DiagnosticsWriting Code
Jan 18, 2018
0
0

C++ Core Check in Visual Studio 2017 15.6 Preview 2

Andrew Pardoe
Andrew Pardoe

点这里看中文版 This post was written by Sergiy Oryekhov. Note that some of the links to docs.microsoft.com do not yet resolve. Not all of the official documentation has yet been written for this topic. Visual Studio 2017 15.6 Preview 2 includes a set of updates to the C++ Core Guidelines Check extension. We added more checks to help with the effort of ...

C++
Jan 10, 2018
0
2

C++ Static Analysis Improvements for Visual Studio 2017 15.6 Preview 2

Kyle Reed
Kyle Reed

点这里看中文版 We've made a few changes to the C++ static analysis feature that should make it faster and easier to use. The behavior has changed slightly, and the menus have been moved around a bit, but we think that the new experience is faster and more consistent. Let's take a quick look at the changes. Single File Analysis Developers tend to focus o...

Announcement