[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 14 08:52:00 PDT 2024
================
@@ -209,6 +209,14 @@ class LLDB_API SBProcess {
lldb::addr_t ReadPointerFromMemory(addr_t addr, lldb::SBError &error);
+ lldb::SBAddressRangeList
+ FindRangesInMemory(const void *buf, uint64_t size, SBAddressRangeList &ranges,
+ uint32_t alignment, uint32_t max_matches, SBError &error);
+
+ lldb::addr_t FindInMemory(const void *buf, uint64_t size,
+ SBAddressRange &range, uint32_t alignment,
----------------
bulbazord wrote:
Could you make `range` const?
https://github.com/llvm/llvm-project/pull/95007
More information about the lldb-commits
mailing list