def _feature_ClsorInstMethod(self,f_ea):
'''
prior feature: Null
'''
func_name = idaapi.get_func_name(f_ea)
disable_mask = idc.GetLongPrm(idc.INF_LONG_DN)
prototype = idaapi.demangle_name(func_name, disable_mask)
if not prototype:
return 0
elif '__thiscall' in prototype:
return 1
else:
return 0
评论列表
文章目录