Remove assembly if --one-file option is used
This commit is contained in:
parent
12686b9968
commit
c94fea2bfc
|
@ -87,6 +87,8 @@ namespace de4dot {
|
||||||
new DefinitionsRenamer(new List<IObfuscatedFile> { file }).renameAll();
|
new DefinitionsRenamer(new List<IObfuscatedFile> { file }).renameAll();
|
||||||
|
|
||||||
file.save();
|
file.save();
|
||||||
|
|
||||||
|
AssemblyResolver.Instance.removeModule(file.ModuleDefinition);
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
Log.w("Could not deobfuscate {0}. Use -v to see stack trace", file.Filename);
|
Log.w("Could not deobfuscate {0}. Use -v to see stack trace", file.Filename);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user