예제 #1
0
		public McKey(MyPEImage peImage, PeHeader peHeader) {
			this.peHeader = peHeader;
			try {
				this.data = peImage.ReadBytes(peHeader.GetMcKeyRva(), 0x2000);
			}
			catch (IOException) {
				this.data = peImage.ReadBytes(peHeader.GetMcKeyRva(), 0x1000);
			}
		}
예제 #2
0
 public McKey(MyPEImage peImage, PeHeader peHeader)
 {
     //this.peHeader = peHeader;
     try {
         this.data = peImage.ReadBytes(peHeader.GetMcKeyRva(), 0x2000);
     }
     catch (IOException) {
         this.data = peImage.ReadBytes(peHeader.GetMcKeyRva(), 0x1000);
     }
 }
예제 #3
0
파일: McKey.cs 프로젝트: haise0/de5dot
 public McKey(MyPEImage peImage, PeHeader peHeader)
 {
     try {
         data = peImage.ReadBytes(peHeader.GetMcKeyRva(), 0x2000);
     }
     catch (Exception ex) when(ex is IOException || ex is ArgumentException)
     {
         data = peImage.ReadBytes(peHeader.GetMcKeyRva(), 0x1000);
     }
 }