[compiler-rt] [HWASan] symbolize stack overflows (PR #95308)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 15:40:24 PDT 2024


================
@@ -336,16 +368,18 @@ class Symbolizer:
         size = local[4]
         if frame_offset is None or size is None:
           continue
-        obj_offset = (self.__last_access_address - fp - frame_offset) & fp_mask
-        if obj_offset >= size:
-          continue
+        obj_offset = (self.__last_access_address & fp_mask) - ((fp + frame_offset) & fp_mask)
----------------
fmayer wrote:

PTAL.

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


More information about the llvm-commits mailing list