public SigScanner(Memory memory, int? maxReadSize = null, bool isMultipleOffsetsSearch = false)
        {
            _memoryTarget = new MemoryWalker(memory);
            _maxReadSize = maxReadSize ?? 16 * (1024 * 1024); // 1024KB
            _isMultipleOffsetsSearch = isMultipleOffsetsSearch;

            if (isMultipleOffsetsSearch)
                FoundAddresses = new Dictionary<ulong, WinAPI.Structs.MemoryBasicInformation>();
            MemoryRegions = memory.GetAccessableMemoryRegions();
        }
예제 #2
0
 /// <summary>
 ///   Constructs a new memory object.
 /// </summary>
 public Memory()
 {
     _hWalker = new MemoryWalker(this);
 }