[lldb-dev] [Bug 47528] New: LLDB isn't checking signatures when loading modules from a minidump

via lldb-dev lldb-dev at lists.llvm.org
Mon Sep 14 13:49:10 PDT 2020


            Bug ID: 47528
           Summary: LLDB isn't checking signatures when loading modules
                    from a minidump
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: amccarth at google.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

When loading a minidump for post-mortem debugging, LLDB may select the wrong
executable as the target because it checks only file names rather then
signatures, timestamps, etc.  (Also applies to other modules, like DLLs.)

For example, given a minidump from a crashed `C:\Program Files\foo.exe` on a
user's machine, loading that minidump in LLDB in a developer machine might load
a local `foo.exe` simply because it happens to have the same path, even if it
is a different version of the program.

The local one should be rejected based on signature (UUID) and/or other version
information stored in the minidump.  Once rejected, LLDB should continue
searching for a matching binary until it finds one that matches or exhausts all
the locations to be searched.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200914/f6a43327/attachment.html>

More information about the lldb-dev mailing list