Skip to content

Commit ccb7ec6

Browse files
authored
improve wording
1 parent 98b38e6 commit ccb7ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sanitizers/asan-runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For convenience, the [AddressSanitizer interface header file](https://github.com
9191
```
9292

9393
> [!NOTE]
94-
> Manually poisoned memory must be eventually unpoisoned. Otherwise, ASan may report false positives.
94+
> If you manually poison memory, you must unpoison it before reuse. This is especially important for stack addresses (e.g. a stack local variable), which are frequently reused during program execution. You risk introducing `use-after-poison` false positives in manually poisoned stack addresses if you fail to unpoison them before their stack frame is removed.
9595
9696
## Alignment requirements for AddressSanitizer poisoning
9797

0 commit comments

Comments
 (0)