Update method name

This commit is contained in:
de4dot 2012-08-01 13:37:43 +02:00
parent 60cc3c7909
commit 4a6c6fee68

View File

@ -61,7 +61,7 @@ namespace de4dot.code.deobfuscators.Confuser {
continue; continue;
simpleDeobfuscator.deobfuscate(calledMethod, true); simpleDeobfuscator.deobfuscate(calledMethod, true);
if (checkInitMethod_vXX(calledMethod) || checkInitMethod_v14_r58564(calledMethod)) { if (checkInitMethod_v14_r58852(calledMethod) || checkInitMethod_v14_r58564(calledMethod)) {
initMethod = calledMethod; initMethod = calledMethod;
return true; return true;
} }
@ -93,7 +93,7 @@ namespace de4dot.code.deobfuscators.Confuser {
return true; return true;
} }
static bool checkInitMethod_vXX(MethodDefinition method) { static bool checkInitMethod_v14_r58852(MethodDefinition method) {
if (method == null || method.Body == null || !method.IsStatic) if (method == null || method.Body == null || !method.IsStatic)
return false; return false;
if (!DotNetUtils.isMethod(method, "System.Void", "()")) if (!DotNetUtils.isMethod(method, "System.Void", "()"))