[all-commits] [llvm/llvm-project] 0f02dd: [lldb/Commands] Prevent crash due to reading memor...

chelcassanova via All-commits all-commits at lists.llvm.org
Wed Jun 8 15:18:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f02dd34f22650d8af0070e7ad21632525e33da8
      https://github.com/llvm/llvm-project/commit/0f02dd34f22650d8af0070e7ad21632525e33da8
  Author: Chelsea Cassanova <sassychels251 at gmail.com>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectMemory.cpp
    A lldb/test/Shell/Driver/TestPageZeroRead.test

  Log Message:
  -----------
  [lldb/Commands] Prevent crash due to reading memory from page zero.

Adds a check to ensure that a process exists before attempting to get
its ABI to prevent lldb from crashing due to trying to read from page zero.

Differential revision: https://reviews.llvm.org/D127016




More information about the All-commits mailing list