They might not be mapped on some platforms such as Win64. In
particular, this happens if the user address is null. There will not be
any shadow memory 5*16 bytes before the user address.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
compiler-rt/lib/asan/asan_errors.cc | ||
---|---|---|
429 ↗ | (On Diff #120139) | What do users see now, without your patch? |
compiler-rt/lib/asan/asan_errors.cc | ||
---|---|---|
429 ↗ | (On Diff #120139) | A crash, the shadow below is unmapped. |
compiler-rt/lib/asan/asan_errors.cc | ||
---|---|---|
429 ↗ | (On Diff #120139) | Maybe some placeholder would be nice, to show that shadow is missing. |