1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Support for string literals with embedded zeroes

This commit is contained in:
Brian Fiete 2020-05-17 06:11:54 -07:00
parent d11c79e43e
commit dc7ebf12c5
3 changed files with 20 additions and 5 deletions

View file

@ -789,6 +789,7 @@ DbgTypedValue DbgExprEvaluator::GetString(const StringImpl& str)
dbgValue.mType = charPtrType;
dbgValue.mLocalPtr = resultPtr->c_str();
dbgValue.mIsLiteral = true;
dbgValue.mDataLen = resultPtr->mLength;
}
return dbgValue;