Skip to content

Commit 17f374f

Browse files
committed
further top level edits
1 parent 3816f8b commit 17f374f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
-232 KB
Loading
-69.3 KB
Loading

docs/cpp/ASAN/asan-top-level.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ helpviewer_keywords: ["ASan","sanitizers","AddressSanitizer","clang_rt.asan","Cl
1010

1111
## Overview
1212

13-
The C & C++ languages are powerful, but can suffer from a class of bugs which affect both **program correctness** and **program security**. Starting with Visual Studio 2019 16.9, the Microsoft Visual C++ compiler and IDE, support the Address Sanitizer technology which will light up [hard-to-find bugs](#error-types) with zero false positives.
13+
The C & C++ languages are powerful, but can suffer from a class of bugs which affect **program correctness** and **program security**. Starting with Visual Studio 2019 16.9, the Microsoft Visual C++ compiler and IDE, support the Address Sanitizer technology which will light up [hard-to-find bugs](#error-types) with **zero false positives**.
1414

1515
Using this flag can reduce your time spent on:
1616

@@ -20,7 +20,7 @@ Using this flag can reduce your time spent on:
2020
- Stress testing
2121
- Integrating new code
2222

23-
The Address Sanitizer is a compiler and runtime runtime [introduced by Google](https://www.usenix.org/conference/atc12/technical-sessions/presentation/serebryany). Many projects can enable the Address Sanitizer with a project setting, or a single additional compiler switch: `-fanitize=address`. The new flag is compatible with all levels of optimization. There are conflicts in three compilation modes: [edit-and-continue](), [incremental linking](), and [/RTC](https://docs.microsoft.com/en-us/cpp/build/reference/rtc-run-time-error-checks?view=msvc-160) switches), otherwise all configurations of x86 and x64 are supported.
23+
The Address Sanitizer is a compiler and runtime runtime [introduced by Google](https://www.usenix.org/conference/atc12/technical-sessions/presentation/serebryany). Many projects can enable the Address Sanitizer with a project setting, or a single additional compiler switch: `-fanitize=address`. The new flag is compatible with all levels of optimization. There are conflicts in three compilation modes: [edit-and-continue](), [incremental linking](), and [/RTC](https://docs.microsoft.com/en-us/cpp/build/reference/rtc-run-time-error-checks?view=msvc-160). Apart from those three modes, all other configurations are supported when targeting x86 and x64.
2424

2525
Compiling with `-fsanitize=address` is a powerful alternative to both [/RTC](https://docs.microsoft.com/en-us/cpp/build/reference/rtc-run-time-error-checks?view=msvc-160), and [/analyze](https://docs.microsoft.com/en-us/cpp/code-quality/code-analysis-for-c-cpp-overview?view=msvc-160). It provides run-time bug-finding technologies which leverage your existing build systems and existing test assets.
2626

@@ -147,11 +147,11 @@ Click the Edit JSON link in the UI.
147147
This will switch the view to raw .json.
148148
Add the following property: “addressSanitizerEnabled”: true
149149
150-
Here is an image of CMakeSettings.json **after** the change:
150+
The following image is of CMakeSettings.json **after** the change:
151151
152152
![cmake-jason](.\media\asan-cmake-jason.PNG)
153153
154-
Save this Jason file with `ctrl-s` and then `hit F5` to recompile and run under the debugger.
154+
Save this JSON file with `ctrl-s` then `hit F5`to recompile and run under the debugger.
155155
156156
The following screen shot captures the error from the CMake build.
157157

0 commit comments

Comments
 (0)