Reorder compressor stub statements
This commit is contained in:
Родитель
b8199e3b2e
Коммит
0c714adda3
|
@ -2,10 +2,10 @@
|
|||
using System.Diagnostics;
|
||||
using System.Security.Cryptography;
|
||||
using Confuser.Core;
|
||||
using Confuser.Renamer;
|
||||
using dnlib.DotNet;
|
||||
using dnlib.DotNet.MD;
|
||||
using dnlib.DotNet.Writer;
|
||||
using Confuser.Renamer;
|
||||
|
||||
namespace Confuser.Protections.Compress {
|
||||
internal class StubProtection : Protection {
|
||||
|
|
|
@ -51,10 +51,10 @@ namespace Confuser.Runtime {
|
|||
var l = (uint)Mutation.KeyI0;
|
||||
uint[] q = Mutation.Placeholder(new uint[Mutation.KeyI0]);
|
||||
|
||||
GCHandle h = Decrypt(q, (uint)Mutation.KeyI1);
|
||||
var b = (byte[])h.Target;
|
||||
Assembly a = Assembly.GetExecutingAssembly();
|
||||
Module n = a.ManifestModule;
|
||||
GCHandle h = Decrypt(q, (uint)Mutation.KeyI1);
|
||||
var b = (byte[])h.Target;
|
||||
Module m = a.LoadModule("koi", b);
|
||||
Array.Clear(b, 0, b.Length);
|
||||
h.Free();
|
||||
|
|
Загрузка…
Ссылка в новой задаче