mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The CMemoryReader interface relies on a `GetStringLength` callback, which returns zero either if the address is invalid or if a valid zero-length string exists at the given address. We don't want to break ABI with RemoteMirror, but we can work around this by issuing a one-byte read at the address and confirming that a null terminator exists there.
3.5 KiB
3.5 KiB