1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Filter false sret detection for valueless type

This commit is contained in:
Brian Fiete 2020-10-21 10:20:06 -07:00
parent 6a9cb287f8
commit b16f8b303e

View file

@ -4137,6 +4137,9 @@ bool WinDebugger::CheckNeedsSRetArgument(DbgType* retType)
if (!retType->IsCompositeType()) if (!retType->IsCompositeType())
return false; return false;
if (retType->GetByteCount() == 0)
return false;
//TODO: Change when we change the calling convention //TODO: Change when we change the calling convention
if (retType->GetLanguage() == DbgLanguage_Beef) if (retType->GetLanguage() == DbgLanguage_Beef)
return true; return true;