Esempio n. 1
0
 void addImageReader(string name, byte[] data)
 {
     var imageReader = new ImageReader(deobfuscatorContext, module, data);
     if (!imageReader.initialize()) {
         Log.w("Could not read encrypted methods");
         return;
     }
     if (imageReaders.ContainsKey(name))
         throw new ApplicationException(string.Format("ImageReader for name '{0}' already exists", name));
     imageReaders[name] = imageReader;
 }
Esempio n. 2
0
		public MethodBodyReader(ImageReader imageReader, IBinaryReader reader)
			: base(reader) {
			this.imageReader = imageReader;
		}
Esempio n. 3
0
 public MethodRefReader(ImageReader imageReader, IBinaryReader reader, BabelMethodreference bmr)
 {
     this.imageReader = imageReader;
     this.reader      = reader;
     this.bmr         = bmr;
 }
Esempio n. 4
0
 public MethodDefReader(ImageReader imageReader, IBinaryReader reader)
 {
     this.bmd              = new BabelMethodDef();
     this.methodRefReader  = new MethodRefReader(imageReader, reader, bmd);
     this.methodBodyReader = new MethodBodyReader(imageReader, reader);
 }
		public MethodDefReader(ImageReader imageReader, IBinaryReader reader) {
			this.bmd = new BabelMethodDef();
			this.methodRefReader = new MethodRefReader(imageReader, reader, bmd);
			this.methodBodyReader = new MethodBodyReader(imageReader, reader);
		}
Esempio n. 6
0
 public MethodRefReader(ImageReader imageReader, IBinaryReader reader)
     : this(imageReader, reader, new BabelMethodreference())
 {
 }
		public MethodRefReader(ImageReader imageReader, IBinaryReader reader)
			: this(imageReader, reader, new BabelMethodreference()) {
		}
		public MethodRefReader(ImageReader imageReader, IBinaryReader reader, BabelMethodreference bmr) {
			this.imageReader = imageReader;
			this.reader = reader;
			this.bmr = bmr;
		}
Esempio n. 9
0
 public MethodBodyReader(ImageReader imageReader) : base(imageReader.reader) => this.imageReader = imageReader;
Esempio n. 10
0
 public MethodDefReader(ImageReader imageReader)
 {
     bmd              = new BabelMethodDef();
     methodRefReader  = new MethodRefReader(imageReader, bmd);
     methodBodyReader = new MethodBodyReader(imageReader);
 }
Esempio n. 11
0
 public MethodDefinitionReader(ImageReader imageReader, BinaryReader reader)
 {
     this.bmd = new BabelMethodDefinition();
     this.methodReferenceReader = new MethodReferenceReader(imageReader, reader, bmd);
     this.methodBodyReader = new MethodBodyReader(imageReader, reader);
 }
Esempio n. 12
0
 public MethodBodyReader(ImageReader imageReader, IBinaryReader reader)
     : base(reader)
 {
     this.imageReader = imageReader;
 }
Esempio n. 13
0
 public MethodDefinitionReader(ImageReader imageReader, BinaryReader reader)
 {
     this.bmd = new BabelMethodDefinition();
     this.methodReferenceReader = new MethodReferenceReader(imageReader, reader, bmd);
     this.methodBodyReader      = new MethodBodyReader(imageReader, reader);
 }