Make sure it is static
This commit is contained in:
parent
6ceea06f5b
commit
ed00c5f2c5
|
@ -101,7 +101,7 @@ namespace de4dot.code.deobfuscators.DeepSea {
|
|||
}
|
||||
|
||||
bool checkHandlerMethod(MethodDefinition handler) {
|
||||
if (handler == null || handler.Body == null)
|
||||
if (handler == null || handler.Body == null || !handler.IsStatic)
|
||||
return false;
|
||||
if (!DotNetUtils.isMethod(handler, "System.Reflection.Assembly", "(System.Object,System.ResolveEventArgs)"))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user