[llvm-bugs] [Bug 43587] New: LeakSanitizer fails based on stack layout

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 7 06:42:44 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43587

            Bug ID: 43587
           Summary: LeakSanitizer fails based on stack layout
           Product: compiler-rt
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: asan
          Assignee: unassignedbugs at nondot.org
          Reporter: mhaeuser at outlook.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 22639
  --> https://bugs.llvm.org/attachment.cgi?id=22639&action=edit
demonstration and further details

LeakSanitizer may fail to catch leaked memory based on stack layout.

While I did not perform any extensive research, I did verify that stack layout
is the only changing factor in my compiled binaries by disassembly comparison.
I did not verify whether the underlying issue can cause other problems than the
one described by this report.

Please find attached a C program with comments about the verified environments
and different ways to reproduce.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191007/283cd920/attachment.html>


More information about the llvm-bugs mailing list