From 9f8cac4daca8686c231bfaf34550d0ab465a9d85 Mon Sep 17 00:00:00 2001 From: de4dot Date: Sun, 8 Jul 2012 08:14:36 +0200 Subject: [PATCH] Fix #56 --- de4dot.code/deobfuscators/UnusedMethodsFinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de4dot.code/deobfuscators/UnusedMethodsFinder.cs b/de4dot.code/deobfuscators/UnusedMethodsFinder.cs index 7f446da9..8fbc37f6 100644 --- a/de4dot.code/deobfuscators/UnusedMethodsFinder.cs +++ b/de4dot.code/deobfuscators/UnusedMethodsFinder.cs @@ -79,7 +79,7 @@ namespace de4dot.code.deobfuscators { continue; } - var calledMethod = DotNetUtils.getMethod(module, instr.Operand as MethodReference); + var calledMethod = DotNetUtils.getMethod2(module, instr.Operand as MethodReference); if (calledMethod == null) continue; if (possiblyUnusedMethods.ContainsKey(calledMethod))