mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Filter false sret detection for valueless type
This commit is contained in:
parent
6a9cb287f8
commit
b16f8b303e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue