Remove init method calls called from .ctors
This commit is contained in:
parent
a8d6aac306
commit
b5c8a89b32
|
@ -179,8 +179,10 @@ namespace de4dot.code.deobfuscators.CodeVeil {
|
||||||
if (mainType.Version >= ObfuscatorVersion.V5_0) {
|
if (mainType.Version >= ObfuscatorVersion.V5_0) {
|
||||||
//TODO: addTypeToBeRemoved(mainType.Type, "Main CV type");
|
//TODO: addTypeToBeRemoved(mainType.Type, "Main CV type");
|
||||||
}
|
}
|
||||||
foreach (var initMethod in mainType.OtherInitMethods)
|
foreach (var initMethod in mainType.OtherInitMethods) {
|
||||||
addCctorInitCallToBeRemoved(initMethod);
|
addCctorInitCallToBeRemoved(initMethod);
|
||||||
|
addCtorInitCallToBeRemoved(initMethod);
|
||||||
|
}
|
||||||
|
|
||||||
if (Operations.DecryptStrings != OpDecryptString.None) {
|
if (Operations.DecryptStrings != OpDecryptString.None) {
|
||||||
stringDecrypter.initialize();
|
stringDecrypter.initialize();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user