Displays the contents of memory and allows selection of memory ranges.
Memory that has been identified is colored.

A memory cell is displayed with a one-pixel border on all sides to help present it with selections.

Наследование: System.Windows.Forms.Control
Пример #1
0
		public void Setup()
		{
            form = new Form();
            form.Size = new Size(300, 200);
            memctl = new MemoryControl();
            memctl.Dock = DockStyle.Fill;
            form.Controls.Add(memctl);
		}
Пример #2
0
 Control DumpBytes()
 {
     var mem = new MemoryControl();
     mem.Services = services;
     mem.ProgramImage = new Reko.Core.LoadedImage(Address.Ptr32(0), resource.Bytes);
     mem.ImageMap = mem.ProgramImage.CreateImageMap();
     mem.Architecture = program.Architecture;
     mem.Font = new Font("Lucida Console", 10F); //$TODO: use user preference
     return mem;
 }
Пример #3
0
 public MemoryControlPainter(MemoryControl ctrl)
 {
     this.ctrl = ctrl;
 }
Пример #4
0
        Control DumpBytes()
        {
            var mem = new Reko.Core.MemoryArea(Address.Ptr32(0), resource.Bytes);

            var memCtrl = new MemoryControl();
            memCtrl.Services = services;
            memCtrl.SegmentMap = new SegmentMap(
                mem.BaseAddress,
                new ImageSegment("resource", mem, AccessMode.Read));
            memCtrl.Architecture = program.Architecture;
            memCtrl.Font = new Font("Lucida Console", 10F); //$TODO: use user preference
            return memCtrl;
        }
Пример #5
0
 public MemoryControlPainter(MemoryControl ctrl)
 {
     this.ctrl = ctrl;
 }