Update detection of resource resolver class

This commit is contained in:
de4dot 2012-07-16 20:00:37 +02:00
parent 6766c10969
commit d0712b46aa
2 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,7 @@ namespace de4dot.code.deobfuscators.DeepSea {
}
bool checkResolverInitMethodDesktop(MethodDefinition resolverInitMethod) {
simpleDeobfuscator.deobfuscate(resolverInitMethod);
if (!checkResolverInitMethodInternal(resolverInitMethod))
return false;

View File

@ -123,6 +123,8 @@ namespace de4dot.code.deobfuscators.DeepSea {
var calledMethod = instr.Operand as MethodDefinition;
if (calledMethod == null)
continue;
if (getLdtokenField(calledMethod) == null)
continue;
var args = DsUtils.getArgValues(instrs, i);
if (args == null)
continue;