Exemple #1
0
 public HeapBase(RuntimeBase runtime)
 {
     _canWalkHeap = runtime.CanWalkHeap;
     if (runtime.DataReader.CanReadAsync)
         MemoryReader = new AsyncMemoryReader(runtime.DataReader, 0x10000);
     else
         MemoryReader = new MemoryReader(runtime.DataReader, 0x10000);
     _pointerSize = runtime.PointerSize;
 }
Exemple #2
0
 public HeapBase(RuntimeBase runtime)
 {
     _canWalkHeap = runtime.CanWalkHeap;
     if (runtime.DataReader.CanReadAsync)
     {
         MemoryReader = new AsyncMemoryReader(runtime.DataReader, 0x10000);
     }
     else
     {
         MemoryReader = new MemoryReader(runtime.DataReader, 0x10000);
     }
     _pointerSize = runtime.PointerSize;
 }