Update detection of that type

This commit is contained in:
de4dot 2012-02-28 20:44:05 +01:00
parent c970e1f6ca
commit 269b695245

View File

@ -50,11 +50,11 @@ namespace de4dot.code.deobfuscators.Eazfuscator_NET {
var getStream2 = getTheOnlyMethod(type, "System.IO.Stream", "(System.Reflection.Assembly,System.Type,System.String)");
var getNames = getTheOnlyMethod(type, "System.String[]", "(System.Reflection.Assembly)");
if (getStream2 == null)
if (getStream2 == null && getNames == null)
continue;
var resource = findGetManifestResourceStreamTypeResource(type, simpleDeobfuscator, deob);
if (resource == null)
if (resource == null && getStream2 != null)
continue;
getManifestResourceStreamType = type;