Add latest dnlib version and update stuff that got renamed

This commit is contained in:
de4dot 2013-09-22 14:45:26 +02:00
parent ab4daa56cb
commit df2c8dc27f
3 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ namespace de4dot.code.deobfuscators.Confuser {
SingleValueInliner singleValueInliner; SingleValueInliner singleValueInliner;
DoubleValueInliner doubleValueInliner; DoubleValueInliner doubleValueInliner;
public bool ExecuteOnNoChange { get; set; } public bool ExecuteIfNotModified { get; set; }
public ConstantsInliner(Int32ValueInliner int32ValueInliner, Int64ValueInliner int64ValueInliner, SingleValueInliner singleValueInliner, DoubleValueInliner doubleValueInliner) { public ConstantsInliner(Int32ValueInliner int32ValueInliner, Int64ValueInliner int64ValueInliner, SingleValueInliner singleValueInliner, DoubleValueInliner doubleValueInliner) {
this.int32ValueInliner = int32ValueInliner; this.int32ValueInliner = int32ValueInliner;

View File

@ -112,11 +112,11 @@ namespace de4dot.code.deobfuscators.Confuser {
public override IEnumerable<IBlocksDeobfuscator> BlocksDeobfuscators { public override IEnumerable<IBlocksDeobfuscator> BlocksDeobfuscators {
get { get {
var list = new List<IBlocksDeobfuscator>(); var list = new List<IBlocksDeobfuscator>();
list.Add(new ConstantsFolder { ExecuteOnNoChange = true }); list.Add(new ConstantsFolder { ExecuteIfNotModified = true });
// Add this one last so all cflow is deobfuscated whenever it executes // Add this one last so all cflow is deobfuscated whenever it executes
if (!startedDeobfuscating && int32ValueInliner != null) if (!startedDeobfuscating && int32ValueInliner != null)
list.Add(new ConstantsInliner(int32ValueInliner, int64ValueInliner, singleValueInliner, doubleValueInliner) { ExecuteOnNoChange = true }); list.Add(new ConstantsInliner(int32ValueInliner, int64ValueInliner, singleValueInliner, doubleValueInliner) { ExecuteIfNotModified = true });
return list; return list;
} }

2
dnlib

@ -1 +1 @@
Subproject commit fda808afae435fe1259074dd129e0ba97b0091c1 Subproject commit 68457d32d7c789e24be211cfded8ec1029ea985b