Remove assembly resolver type only if we're inlining methods
This commit is contained in:
parent
8c91b56cb5
commit
4e8f8a295b
|
@ -346,7 +346,8 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
||||||
canRemoveDecrypterType = false;
|
canRemoveDecrypterType = false;
|
||||||
|
|
||||||
if (options.DumpEmbeddedAssemblies) {
|
if (options.DumpEmbeddedAssemblies) {
|
||||||
addTypeToBeRemoved(assemblyResolver.Type, "Assembly resolver");
|
if (options.InlineMethods)
|
||||||
|
addTypeToBeRemoved(assemblyResolver.Type, "Assembly resolver");
|
||||||
addCallToBeRemoved(module.EntryPoint, assemblyResolver.InitMethod);
|
addCallToBeRemoved(module.EntryPoint, assemblyResolver.InitMethod);
|
||||||
addCctorInitCallToBeRemoved(assemblyResolver.InitMethod);
|
addCctorInitCallToBeRemoved(assemblyResolver.InitMethod);
|
||||||
dumpEmbeddedAssemblies();
|
dumpEmbeddedAssemblies();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user