Havecopyofmemory

OllyDbg Plugin API

Havecopyofmemory

Optimizes access to memory of debugged process. Function Readmemory is slow. If you expect multiple reads from the same block, read requested piece of memory to some internal buffer and report it to OllyDbg. All subsequent calls to Readmemory will, whenever possible, use this copy. Don't forget to call Havecopyofmemory(NULL,0,0) when you no longer need this copy, or OllyDbg will crash! Note that Writememory will not update this copy.

void Havecopyofmemory(char *copy,ulong base,ulong size);

Parameters:

copy - pointer to copy of memory of debugged process;

base - base address of memory;

size - size of memory.

See also: Readmemory