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:
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())
|
||||
return false;
|
||||
|
||||
if (retType->GetByteCount() == 0)
|
||||
return false;
|
||||
|
||||
//TODO: Change when we change the calling convention
|
||||
if (retType->GetLanguage() == DbgLanguage_Beef)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue