Listmemory

OllyDbg Plugin API

Listmemory

Function actualizes list of memory blocks and (in case if Windows 95) list of heaps allocated by Debuggee. If memory and/or heap windows are open, also updates windows. Returns 0 if tables are actualized and -1 if some or all of entries may be invalid.

As this operation is time-consuming, OllyDbg usually updates memory tables only if application is paused. If plugin accesses memory tables "on the fly", it may need to call this function. Note that reading or writing to the memory does not require actualization of memory tables.

int Listmemory(void);