[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 10 10:29:00 PDT 2024


================
@@ -2685,6 +2685,13 @@ void PruneThreadPlans();
   lldb::addr_t FindInMemory(lldb::addr_t low, lldb::addr_t high,
                             const uint8_t *buf, size_t size);
 
+  Status FindInMemory(AddressRanges &matches, const uint8_t *buf, size_t size,
+                      const AddressRanges &ranges, size_t alignment,
+                      size_t max_count);
----------------
clayborg wrote:

It would be nice to keep the `lldb_private::Process` and the `lldb::SBProcess` APIs similar in return values and argument ordering. 

https://github.com/llvm/llvm-project/pull/95007


More information about the lldb-commits mailing list