[all-commits] [llvm/llvm-project] 04ed12: [lldb] Support partial memory reads on windows (#1...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Sep 3 01:49:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04ed12ca3f027a3a189d181e5e5880285ebc7916
      https://github.com/llvm/llvm-project/commit/04ed12ca3f027a3a189d181e5e5880285ebc7916
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
    M lldb/test/API/functionalities/memory/holes/TestMemoryHoles.py

  Log Message:
  -----------
  [lldb] Support partial memory reads on windows (#106981)

ReadProcessMemory will not perform the read if part of the memory is
unreadable (and even though the API has a `number_of_bytes_read`
argument). To make this work, I explicitly inspect the memory region
being read and only read the accessible part.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list