forked from mkaring/ConfuserEx
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCEContext.cs
More file actions
48 lines (40 loc) · 1.15 KB
/
Copy pathCEContext.cs
File metadata and controls
48 lines (40 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using Confuser.Core;
using Confuser.Core.Services;
using Confuser.DynCipher;
using Confuser.Renamer;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
namespace Confuser.Protections.Constants {
internal class CEContext {
public ConfuserContext Context;
public ConstantProtection Protection;
public ModuleDef Module;
public FieldDef BufferField;
public FieldDef DataField;
public TypeDef DataType;
public MethodDef InitMethod;
public int DecoderCount;
public List<Tuple<MethodDef, DecoderDesc>> Decoders;
public EncodeElements Elements;
public List<uint> EncodedBuffer;
public Mode Mode;
public IEncodeMode ModeHandler;
public IDynCipherService DynCipher;
public IMarkerService Marker;
public INameService Name;
public RandomGenerator Random;
public TypeDef CfgCtxType;
public MethodDef CfgCtxCtor;
public MethodDef CfgCtxNext;
public uint CfgCtxMultiplier;
public Dictionary<MethodDef, List<Tuple<Instruction, uint, IMethod>>> ReferenceRepl;
}
internal class DecoderDesc {
public object Data;
public byte InitializerID;
public byte NumberID;
public byte StringID;
}
}