[Lldb-commits] [lldb] [lldb] Implement Process::ReadMemoryRanges (PR #163651)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 15 17:00:36 PDT 2025
================
@@ -1571,6 +1571,25 @@ class Process : public std::enable_shared_from_this<Process>,
virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
Status &error);
+ /// Read from multiple memory ranges and write the results into buffer.
+ ///
+ /// \param[in] ranges
+ /// A collection of ranges (base address + size) to read from.
+ ///
+ /// \param[out] buffer
+ /// A buffer where the read memory will be written to. It must be at least
----------------
felipepiovezan wrote:
In other words, the implementation is checking that the remaining buffer is big enough to contain the next range being read
https://github.com/llvm/llvm-project/pull/163651
More information about the lldb-commits
mailing list