Some fixes
This commit is contained in:
parent
cb21940841
commit
28f8bdcc89
|
@ -138,6 +138,9 @@ namespace de4dot.code.deobfuscators.Babel_NET {
|
|||
}
|
||||
|
||||
public void initialize(ISimpleDeobfuscator simpleDeobfuscator, IDeobfuscator deob) {
|
||||
if (decrypterType == null)
|
||||
return;
|
||||
|
||||
encryptedResource = findEncryptedResource(simpleDeobfuscator, deob);
|
||||
if (encryptedResource == null) {
|
||||
Log.w("Could not find encrypted constants resource");
|
||||
|
|
|
@ -251,7 +251,7 @@ namespace de4dot.code.deobfuscators.Babel_NET {
|
|||
if (type.IsGenericInstance)
|
||||
type = ((GenericInstanceType)type).ElementType;
|
||||
|
||||
if (type.Scope == module)
|
||||
if (type.Module == module && isModuleAssembly(type.Scope))
|
||||
return DotNetUtils.getType(module, type);
|
||||
|
||||
return externalAssemblies.resolve(type);
|
||||
|
|
Loading…
Reference in New Issue
Block a user