[compiler-rt] [scudo] [MTE] resize stack depot for allocation ring buffer (PR #74515)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 23:20:44 PST 2024
================
@@ -1040,7 +1057,9 @@ class Allocator {
uptr GuardedAllocSlotSize = 0;
#endif // GWP_ASAN_HOOKS
- StackDepot Depot;
+ char *RawStackDepot = nullptr;
----------------
fmayer wrote:
We are accessing the entries of the StackDepot through the char* pointer. These entries are past the StackDepot struct, so using a StackDepot* pointer would technically be outside of object bounds. We discussed the same in the CL that made the ring buffer resizable.
https://github.com/llvm/llvm-project/pull/74515
More information about the llvm-commits
mailing list