[all-commits] [llvm/llvm-project] 0dc7ec: Fix typeo in LoadBinariesViaExhaustiveSearch when ...

Jason Molenda via All-commits all-commits at lists.llvm.org
Wed Jan 4 16:12:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dc7ecb1a70ec9f6eb41ebb4d1edf5d2acdfb4ce
      https://github.com/llvm/llvm-project/commit/0dc7ecb1a70ec9f6eb41ebb4d1edf5d2acdfb4ce
  Author: Jason Molenda <jason at molenda.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp

  Log Message:
  -----------
  Fix typeo in LoadBinariesViaExhaustiveSearch when looking for kernel

As a last resort, with a Mach-O corefile, lldb will iterate through
all memory segments looking for a dyld binary (for a userland process
core dump) or an xnu kernel binary (kernel coredump).  We often
have metadata via LC_NOTEs so this final search mechanism is not
needed.  During the rewrite in https://reviews.llvm.org/D133680 I
did not handle the case of finding the xnu kernel by exhaustive
search correctly.

rdar://103813200




More information about the All-commits mailing list