Remove method decrypter type and init method call
This commit is contained in:
parent
74970e80ff
commit
38d94819ee
|
@ -151,6 +151,11 @@ namespace de4dot.code.deobfuscators.Confuser {
|
|||
public override void deobfuscateBegin() {
|
||||
base.deobfuscateBegin();
|
||||
|
||||
if (jitMethodsDecrypter != null) {
|
||||
addModuleCctorInitCallToBeRemoved(jitMethodsDecrypter.InitMethod);
|
||||
addTypeToBeRemoved(jitMethodsDecrypter.Type, "Method decrypter (JIT) type");
|
||||
}
|
||||
|
||||
proxyCallFixer.find();
|
||||
}
|
||||
|
||||
|
|
|
@ -50,6 +50,14 @@ namespace de4dot.code.deobfuscators.Confuser {
|
|||
public int options;
|
||||
}
|
||||
|
||||
public MethodDefinition InitMethod {
|
||||
get { return initMethod; }
|
||||
}
|
||||
|
||||
public TypeDefinition Type {
|
||||
get { return initMethod != null ? initMethod.DeclaringType : null; }
|
||||
}
|
||||
|
||||
public bool Detected {
|
||||
get { return initMethod != null; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user