Fix detection of CO SL resource type

This commit is contained in:
de4dot 2014-04-16 19:16:17 +02:00
parent 82896a018f
commit 16c5153b00

View File

@ -157,7 +157,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
foreach (var method in GetDecrypterMethods(type)) { foreach (var method in GetDecrypterMethods(type)) {
if (method == null) if (method == null)
continue; continue;
if (!new LocalTypes(method).Exactly(requiredLocals_sl)) if (!new LocalTypes(method).All(requiredLocals_sl))
continue; continue;
resourceDecrypterType = type; resourceDecrypterType = type;