Ejemplo n.º 1
0
 public MemoryBrowser(Process process, uint address)
 {
     hProcess            = DisasmForm.OpenProcess(process, DisasmForm.ProcessAccessFlags.All);
     hexBox              = new HexBox();
     hexBox.ReadOnly     = true;
     hexBox.ByteProvider = new DynamicByteProvider(bytes);
     hexBox.Left         = 9;
     hexBox.Top          = 37;
     hexBox.Width        = 464;
     hexBox.Height       = 213;
     InitializeComponent();
     AddressUpDown.Value = address;
     Controls.Add(hexBox);
     lastWidth  = Width;
     lastHeight = Height;
 }
Ejemplo n.º 2
0
 private void AddressUpDown_ValueChanged(object sender, EventArgs e)
 {
     DisasmForm.ReadProcessMemory(hProcess, (uint)AddressUpDown.Value, bytes, bytes.Length, 0);
     hexBox.ByteProvider = new DynamicByteProvider(bytes);
 }