Bug 212177
| Summary: | KASAN (tags): improve use-after-reallocate detection | ||
|---|---|---|---|
| Product: | Memory Management | Reporter: | Andrey Konovalov (andreyknvl) |
| Component: | Sanitizers | Assignee: | MM/Sanitizers virtual assignee (mm_sanitizers) |
| Status: | NEW --- | ||
| Severity: | normal | CC: | kasan-dev |
| Priority: | P1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Kernel Version: | upstream | Subsystem: | |
| Regression: | No | Bisected commit-id: | |
|
Description
Andrey Konovalov
2021-03-09 14:00:01 UTC
For reference, this is how SCUDO does this: https://github.com/llvm/llvm-project/commit/8fac07a12 However note that SCUDO does not use a dedicated tag to mark freed memory and only retags memory on deallocation. Perhaps, KASAN could use this approach as well. |