Ignore invalid methods
This commit is contained in:
parent
46f23ce89d
commit
4691c805d8
|
@ -98,6 +98,8 @@ namespace de4dot.code.deobfuscators.CodeVeil {
|
||||||
|
|
||||||
MethodDefinition cctor = null, initMethod = null;
|
MethodDefinition cctor = null, initMethod = null;
|
||||||
foreach (var method in type.Methods) {
|
foreach (var method in type.Methods) {
|
||||||
|
if (InvalidMethodsFinder.isInvalidMethod(method))
|
||||||
|
continue;
|
||||||
if (!method.IsStatic || method.Body == null)
|
if (!method.IsStatic || method.Body == null)
|
||||||
return false;
|
return false;
|
||||||
if (method.Name == ".cctor")
|
if (method.Name == ".cctor")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user