1 |
william |
231 |
using System; |
2 |
|
|
using System.Collections.Generic; |
3 |
|
|
using System.Linq; |
4 |
|
|
using System.Text; |
5 |
william |
600 |
using ManagedWinapi; |
6 |
william |
231 |
|
7 |
|
|
namespace Sojaner.MemoryScanner.MemoryProviers |
8 |
|
|
{ |
9 |
|
|
public interface IMemoryReader |
10 |
|
|
{ |
11 |
william |
578 |
bool ReadFirstNonZeroByte(ulong MemoryAddress, ulong bytesToRead, out ulong address); |
12 |
william |
352 |
//bool ReadFirstNonZeroByte(uint MemoryAddress, uint bytesToRead, out uint address); |
13 |
william |
578 |
void ReadProcessMemory(long MemoryAddress, long bytesToRead, out ulong bytesRead, out byte[] data); |
14 |
william |
352 |
//void ReadProcessMemory(uint MemoryAddress, uint bytesToRead, out uint bytesRead, out byte[] data); |
15 |
william |
578 |
void ReadProcessMemoryAtOnce(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data); |
16 |
william |
543 |
|
17 |
william |
578 |
void UpdateAddressArray(ulong[] addresses, ulong size, out byte[][] values); |
18 |
william |
599 |
|
19 |
william |
600 |
List<MEMORY_REGION_INFORMATION> QueryMemoryRegions(ulong start, ulong size); |
20 |
william |
231 |
} |
21 |
|
|
} |