Skip to content

Commit 2ba9246

Browse files
authored
Update asan-runtime.md
fix typo
1 parent 1c25a7a commit 2ba9246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sanitizers/asan-runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ If the environment variable and the user function specify conflicting options, t
110110

111111
Multiple options are specified by separating them with a colon (`:`).
112112

113-
The following example sets [`alloc_dealloc_mismatch`](./error-alloc-dealloc-mismatch.md) and `symbolize`:
113+
The following example sets [`alloc_dealloc_mismatch`](./error-alloc-dealloc-mismatch.md) to one and `symbolize` to zero:
114114

115115
```cmd
116116
set ASAN_OPTIONS=alloc_dealloc_mismatch=1:symbolize=0
@@ -121,7 +121,7 @@ Or add the following function to your code:
121121
```C++
122122
extern "C" const char* __asan_default_options()
123123
{
124-
return "alloc_dealloc_mismatch=1:symbolize=0;
124+
return "alloc_dealloc_mismatch=1:symbolize=0";
125125
}
126126
```
127127

0 commit comments

Comments
 (0)