Update detection of proxy fixer

This commit is contained in:
de4dot 2012-07-30 17:57:24 +02:00
parent 2e99bac40c
commit 4a6713b728

View File

@ -156,6 +156,10 @@ namespace de4dot.code.deobfuscators.Confuser {
var creatorType = getProxyCreatorType(method);
if (creatorType == ProxyCreatorType.None)
continue;
if (!DotNetUtils.callsMethod(method, "System.Byte[] System.Reflection.Module::ResolveSignature(System.Int32)"))
continue;
if (!DotNetUtils.callsMethod(method, "System.Reflection.MethodBase System.Reflection.Module::ResolveMethod(System.Int32)"))
continue;
methodToInfo.add(method, createProxyCreatorInfo(method, creatorType));
setDelegateCreatorMethod(method);