Skip to content

Commit

Permalink
Updating MVID of deobfuscated modules (de4dot#199)
Browse files Browse the repository at this point in the history
* Updating MVID of deobfuscated modules

* Creating a random GUID for the new MVID value
  • Loading branch information
momeni authored and wtfsck committed Feb 17, 2019
1 parent c1ad5dc commit 6842287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions de4dot.code/deobfuscators/DeobfuscatorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public virtual void DeobfuscateEnd() {
RestoreBaseType();
FixMDHeaderVersion();

module.Mvid = Guid.NewGuid();
module.EnableTypeDefFindCache = cacheState;
}

Expand Down

0 comments on commit 6842287

Please sign in to comment.