Ignore invalid methods

This commit is contained in:
de4dot 2012-02-12 16:25:12 +01:00
parent 46f23ce89d
commit 4691c805d8

View File

@ -98,6 +98,8 @@ namespace de4dot.code.deobfuscators.CodeVeil {
MethodDefinition cctor = null, initMethod = null;
foreach (var method in type.Methods) {
if (InvalidMethodsFinder.isInvalidMethod(method))
continue;
if (!method.IsStatic || method.Body == null)
return false;
if (method.Name == ".cctor")