[compiler-rt] [scudo] [MTE] resize stack depot for allocation ring buffer (PR #74515)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 20:00:01 PST 2024


================
@@ -1040,7 +1057,9 @@ class Allocator {
   uptr GuardedAllocSlotSize = 0;
 #endif // GWP_ASAN_HOOKS
 
-  StackDepot Depot;
+  char *RawStackDepot = nullptr;
----------------
cferris1000 wrote:

I don't understand what you mean. What out of bounds accesses? You are casting this value nearly everywhere, so I'm confused why not keep it as a pointer to the object.

https://github.com/llvm/llvm-project/pull/74515


More information about the llvm-commits mailing list