示例#1
0
 public void cleanup()
 {
     foreach (var info in methodToInfo.getValues())
     {
         info.cleanup();
     }
 }
示例#2
0
        public IEnumerable <MethodDefinition> getMethods()
        {
            var list = new List <MethodDefinition>(decrypterMethods.Count);

            foreach (var info in decrypterMethods.getValues())
            {
                list.Add(info.method);
            }
            return(list);
        }
示例#3
0
 public void initialize(ISimpleDeobfuscator simpleDeobfuscator)
 {
     foreach (var info in stringEncrypterInfos.getValues())
     {
         simpleDeobfuscator.deobfuscate(info.Method);
         info.Resource = findResource(info.Method);
         if (info.Resource == null)
         {
             Log.w("Could not find encrypted strings resource (Method {0:X8})", info.Method.MetadataToken.ToInt32());
             continue;
         }
         info.Magic1 = findMagic1(info.Method);
         info.Magic2 = findMagic2(info.Method);
         info.Magic3 = findMagic3(info.Method);
         info.Reader = new BinaryReader(info.Resource.GetResourceStream());
     }
 }