Exemplo n.º 1
0
 public void patch(byte[] peImageData)
 {
     var peImage = new PeImage(peImageData);
     foreach (var info in patchInfos) {
         for (int i = 0; i < info.offsets.Length; i++)
             peImage.dotNetSafeWriteOffset((uint)info.offsets[i], BitConverter.GetBytes(info.values[i]));
     }
 }