[Lldb-commits] [lldb] [lldb] Add ReadCStrings API to Process (PR #172026)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Sun Dec 14 03:10:59 PST 2025


felipepiovezan wrote:

> Could you fake a process from C++ and write it as a unit test, is that enough to get a `Process` object that's usable?

We could employ a similar technique where we override the read memory method. However, this would not be using the new MultiMemRead packet for processes that support it, so that's my motivation for making an API test.

> add this to the SB API just for testing purposes

I agree with all the problems you listed above, but, while for now this is just for testing purposes, it is a legitimately useful method for any clients of the SB API.

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


More information about the lldb-commits mailing list