コード例 #1
0
        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);
 }