igogo-x86 / HexRaysPyTools

IDA Pro plugin which improves work with HexRays decompiler and helps in process of reconstruction structures and classes
1.4k stars 220 forks source link

Create Virtual Table error #59

Closed TakahiroHaruyamaCb closed 4 years ago

TakahiroHaruyamaCb commented 4 years ago

Hi,

I used HexRaysPyTools to create vftable structures by selecting the vftable then "Create Virtual Table" or making object structures on Structure Builder, but I got the following error.

Syntax error near: azure::storage::storage_exception Syntax error near: } [Error] Failed to create virtual table DebugPortServer_vtbl


struct DebugPortServer_vtbl { azure::storage::storage_exception (fastcall spoils<rcx,rdx,r8,r9,r10,r11,xmm0,xmm4,xmm5> azure::storage::storage_exception::_scalar_deleting_destructor_uint)(azure::storage::storage_exception this, char a2); char (__fastcall fn_l_DebugPortServer_AuthenticateRequest)(int64 a1, int64 a2, DWORD a3, int64 a4, _BYTE a5); int64 (fastcall fn_a_DebugPortServer_ProcessDebugRequest)(int64 a1, int64 a2, unsigned int a3, int64 a4, unsigned int a5); };


Any thought? Thanks.

igogo-x86 commented 4 years ago

Seems like it can't understand this part __spoils<rcx,rdx,r8,r9,r10,r11,xmm0,xmm4,xmm5>. Just remove them from function type declaration

TakahiroHaruyamaCb commented 4 years ago

Thanks!