diff --git a/blocks/DotNetUtils.cs b/blocks/DotNetUtils.cs index 14b9e054..3b558001 100644 --- a/blocks/DotNetUtils.cs +++ b/blocks/DotNetUtils.cs @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; using dot10.DotNet; using dot10.DotNet.Emit; -using dot10.DotNet.MD; namespace de4dot.blocks { public enum FrameworkType { diff --git a/de4dot.code/Utils.cs b/de4dot.code/Utils.cs index 45911454..d3caac88 100644 --- a/de4dot.code/Utils.cs +++ b/de4dot.code/Utils.cs @@ -21,7 +21,7 @@ using System; using System.Collections.Generic; using System.IO; using System.Text; -using dot10.DotNet.MD; +using dot10.DotNet; using dot10.IO; namespace de4dot.code { diff --git a/de4dot.code/deobfuscators/Agile_NET/Deobfuscator.cs b/de4dot.code/deobfuscators/Agile_NET/Deobfuscator.cs index 0b3655de..a939d454 100644 --- a/de4dot.code/deobfuscators/Agile_NET/Deobfuscator.cs +++ b/de4dot.code/deobfuscators/Agile_NET/Deobfuscator.cs @@ -22,7 +22,6 @@ using System.Collections.Generic; using dot10.IO; using dot10.PE; using dot10.DotNet; -using dot10.DotNet.MD; using de4dot.blocks; using de4dot.PE; @@ -316,7 +315,7 @@ namespace de4dot.code.deobfuscators.Agile_NET { addResources("Obfuscator protection files"); } - module.Cor20HeaderFlags |= ComImageFlags.ILOnly; + module.IsILOnly = true; base.deobfuscateEnd(); } diff --git a/de4dot.code/renamer/ExistingNames.cs b/de4dot.code/renamer/ExistingNames.cs index ff9247b3..d65f70c9 100644 --- a/de4dot.code/renamer/ExistingNames.cs +++ b/de4dot.code/renamer/ExistingNames.cs @@ -19,7 +19,7 @@ using System; using System.Collections.Generic; -using dot10.DotNet.MD; +using dot10.DotNet; namespace de4dot.code.renamer { class ExistingNames { diff --git a/de4dot.code/renamer/Renamer.cs b/de4dot.code/renamer/Renamer.cs index 6a7d0c82..56a17e5b 100644 --- a/de4dot.code/renamer/Renamer.cs +++ b/de4dot.code/renamer/Renamer.cs @@ -22,7 +22,6 @@ using System.Collections.Generic; using System.Text.RegularExpressions; using dot10.DotNet; using dot10.DotNet.Emit; -using dot10.DotNet.MD; using de4dot.code.renamer.asmmodules; using de4dot.blocks; diff --git a/de4dot.code/renamer/ResourceRenamer.cs b/de4dot.code/renamer/ResourceRenamer.cs index 854c5edd..39630827 100644 --- a/de4dot.code/renamer/ResourceRenamer.cs +++ b/de4dot.code/renamer/ResourceRenamer.cs @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; using dot10.DotNet; using dot10.DotNet.Emit; -using dot10.DotNet.MD; using de4dot.blocks; using de4dot.code.renamer.asmmodules; diff --git a/de4dot.code/renamer/asmmodules/Module.cs b/de4dot.code/renamer/asmmodules/Module.cs index 5b082768..9c167f53 100644 --- a/de4dot.code/renamer/asmmodules/Module.cs +++ b/de4dot.code/renamer/asmmodules/Module.cs @@ -20,7 +20,6 @@ using System; using System.Collections.Generic; using dot10.DotNet; -using dot10.DotNet.MD; using de4dot.blocks; namespace de4dot.code.renamer.asmmodules { diff --git a/dot10 b/dot10 index 28f4da1d..a3370c82 160000 --- a/dot10 +++ b/dot10 @@ -1 +1 @@ -Subproject commit 28f4da1d712e3953251a2af4955f95e0045fe12e +Subproject commit a3370c820719a2ee12cf58c173f3dfb7283a612b