Files
swift-mirror/include/swift/Remote/CMemoryReader.h
Joe Groff 263bbbb839 RemoteMirror: Work around flaw in C interface
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.
2019-10-01 12:36:49 -07:00

3.5 KiB