예제 #1
0
파일: Dex.cs 프로젝트: rfcclub/dot42
 public static Dex Read(Stream stream)
 {
     using (var binaryReader = new BinaryReader(stream))
     {
         var reader = new DexReader();
         return reader.ReadFrom(binaryReader);
     }
 }
예제 #2
0
 public InstructionReader(DexReader dexReader, MethodDefinition mdef)
 {
     this.dexReader = dexReader;
     methodDefinition = mdef;
     Lookup = new Dictionary<int, Instruction>();
     LookupLast = new Dictionary<int, Instruction>();
     lazyInstructionsSetters = new List<Action>();
     Ip = 0;
 }
예제 #3
0
 public InstructionReader(DexReader dexReader, MethodDefinition mdef)
 {
     this.dexReader          = dexReader;
     methodDefinition        = mdef;
     Lookup                  = new Dictionary <int, Instruction>();
     LookupLast              = new Dictionary <int, Instruction>();
     lazyInstructionsSetters = new List <Action>();
     Ip = 0;
 }