Update detection of invalid CV methods

This commit is contained in:
de4dot 2012-11-20 06:45:23 +01:00
parent 989e364481
commit e8155e7eb0

View File

@ -39,6 +39,8 @@ namespace de4dot.code.deobfuscators.CodeVeil {
var sig = method.MethodSig;
if (sig == null || sig.Params.Count != 0)
return false;
if (sig.RetType == null)
return true;
var retType = sig.RetType as GenericSig;
if (retType == null)
return false;