Methods should be static and have a body
This commit is contained in:
parent
a35c765f15
commit
981472cd91
|
@ -312,6 +312,8 @@ namespace de4dot.code.deobfuscators.CodeVeil {
|
||||||
getManifestResourceStreamMethodTmp1 = null;
|
getManifestResourceStreamMethodTmp1 = null;
|
||||||
getManifestResourceStreamMethodTmp2 = null;
|
getManifestResourceStreamMethodTmp2 = null;
|
||||||
foreach (var method in type.Methods) {
|
foreach (var method in type.Methods) {
|
||||||
|
if (!method.IsStatic || method.Body == null)
|
||||||
|
continue;
|
||||||
if (DotNetUtils.isMethod(method, "System.IO.Stream", "(System.Reflection.Assembly,System.String)"))
|
if (DotNetUtils.isMethod(method, "System.IO.Stream", "(System.Reflection.Assembly,System.String)"))
|
||||||
getManifestResourceStreamMethodTmp1 = method;
|
getManifestResourceStreamMethodTmp1 = method;
|
||||||
else if (DotNetUtils.isMethod(method, "System.IO.Stream", "(System.Reflection.Assembly,System.Type,System.String)"))
|
else if (DotNetUtils.isMethod(method, "System.IO.Stream", "(System.Reflection.Assembly,System.Type,System.String)"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user