walter-erquinigo wrote: @bulbazord , ReadCStringFromMemory returns the length of the string, which in the case of empty strings is 0! So, this code was wrong since the beginning. The only thing to check is error.Success() and not the size.
https://github.com/llvm/llvm-project/pull/68924 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits