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

Miro Bucko via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 20 11:25:45 PDT 2024


================
@@ -2800,6 +2809,10 @@ void PruneThreadPlans();
   virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
                               Status &error) = 0;
 
+  void DoFindInMemory(lldb::addr_t start_addr, lldb::addr_t end_addr,
+                      const uint8_t *buf, size_t size, AddressRanges &matches,
+                      size_t alignment, size_t max_matches);
+
----------------
mbucko wrote:

Yeah possibly the FindRangesInMemory too. I was going to add that later once I know exactly how I'm going to override these.

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


More information about the lldb-commits mailing list