[llvm] [ASan][RISCV] Teach AddressSanitizer to support indexed load/store. (PR #160443)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 09:58:49 PDT 2025


================
@@ -32,14 +32,19 @@ class InterestingMemoryOperand {
   Value *MaybeEVL;
   // The Stride Value, if we're looking at a strided load/store.
   Value *MaybeStride;
+  // The Offset Value, if we're looking at a indexed load/store. The
+  // offset actually means byte-offset instead of array index.
+  Value *MaybeOffset;
----------------
fmayer wrote:

Maybe call it `MaybeByteOffset` then? if it warrants a comment.

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


More information about the llvm-commits mailing list