[Lldb-commits] [lldb] Read and store gnu build id from loaded core file (PR #92492)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri May 17 09:15:06 PDT 2024
================
@@ -1649,6 +1679,26 @@ class Process : public std::enable_shared_from_this<Process>,
lldb::addr_t ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error);
+ /// Find a string within a memory region.
+ ///
+ /// This function searches for the string represented by the provided buffer
+ /// within the memory range specified by the low and high addresses. It uses
+ /// a bad character heuristic to optimize the search process.
+ ///
+ /// \param[in] low The starting address of the memory region to be searched.
+ ///
+ /// \param[in] high The ending address of the memory region to be searched.
+ ///
+ /// \param[in] buffer A pointer to the buffer containing the string to be
+ /// searched.
----------------
clayborg wrote:
```
/// \param[in] buffer A pointer to the buffer containing the bytes to be
/// searched.
```
https://github.com/llvm/llvm-project/pull/92492
More information about the lldb-commits
mailing list