[Lldb-commits] [lldb] [lldb] Bound DataExtractor::PeekCStr to the data it reads from (PR #224452)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 17 18:02:02 PDT 2026


================
@@ -855,19 +857,21 @@ class DataExtractor {
 
   bool HasData() { return m_start && m_end && m_end - m_start > 0; }
 
-  /// Peek at a C string at \a offset.
+  /// Peek at a NULL terminated C string at \a offset.
----------------
jasonmolenda wrote:

NUL

NUL is a character, NULL is a pointer value.

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


More information about the lldb-commits mailing list