Methods decrypter method could be null
This commit is contained in:
parent
def4072bc5
commit
040410d7ce
|
@ -179,7 +179,8 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
|||
}
|
||||
if (options.DecryptBools)
|
||||
addResourceToBeRemoved(booleanDecrypter.BooleansResource, "Encrypted booleans");
|
||||
if (Operations.DecryptStrings != OpDecryptString.None && options.DecryptMethods && options.DecryptBools)
|
||||
bool deleteTypes = Operations.DecryptStrings != OpDecryptString.None && options.DecryptMethods && options.DecryptBools;
|
||||
if (deleteTypes && methodsDecrypter.MethodsDecrypterMethod != null)
|
||||
addTypeToBeRemoved(methodsDecrypter.MethodsDecrypterMethod.DeclaringType, "Decrypter type");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user