Skip to content

Commit 0df95c9

Browse files
authored
disambiguate "the user functon"
1 parent d1a63cf commit 0df95c9

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 @@ For example, to select the [`alloc_dealloc_mismatch`](./error-alloc-dealloc-mism
110110
set ASAN_OPTIONS=alloc_dealloc_mismatch=1
111111
```
112112

113-
Or alternatively use the user-function
113+
Alternatively by implementing `__asan_defalt_options()` in your code:
114114

115115
```C++
116116
extern "C" const char* __asan_default_options() {
@@ -127,7 +127,7 @@ Multiple options can be specified by separating them with a colon (`:`). For exa
127127
set ASAN_OPTIONS=alloc_dealloc_mismatch=1:symbolize=0
128128
```
129129

130-
or alternatively, through the the user-function
130+
or alternatively, through `__asan_defalt_options()`:
131131

132132
```C++
133133
extern "C" const char* __asan_default_options() {

0 commit comments

Comments
 (0)