Only remove the type if we rename types
This commit is contained in:
parent
8e79777cdf
commit
f5967715f2
|
@ -20,6 +20,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using dot10.DotNet;
|
using dot10.DotNet;
|
||||||
using de4dot.blocks;
|
using de4dot.blocks;
|
||||||
|
using de4dot.code.renamer;
|
||||||
|
|
||||||
namespace de4dot.code.deobfuscators.Eazfuscator_NET {
|
namespace de4dot.code.deobfuscators.Eazfuscator_NET {
|
||||||
public class DeobfuscatorInfo : DeobfuscatorInfoBase {
|
public class DeobfuscatorInfo : DeobfuscatorInfoBase {
|
||||||
|
@ -130,6 +131,7 @@ namespace de4dot.code.deobfuscators.Eazfuscator_NET {
|
||||||
addModuleCctorInitCallToBeRemoved(resourceResolver.InitMethod);
|
addModuleCctorInitCallToBeRemoved(resourceResolver.InitMethod);
|
||||||
|
|
||||||
resourceMethodsRestorer = new ResourceMethodsRestorer(module);
|
resourceMethodsRestorer = new ResourceMethodsRestorer(module);
|
||||||
|
if ((Operations.RenamerFlags & (RenamerFlags.RenameTypes | RenamerFlags.RenameNamespaces)) != 0)
|
||||||
resourceMethodsRestorer.find(DeobfuscatedFile, this);
|
resourceMethodsRestorer.find(DeobfuscatedFile, this);
|
||||||
|
|
||||||
dumpEmbeddedAssemblies();
|
dumpEmbeddedAssemblies();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user