The MASM Forum

General => The Campus => Topic started by: bit8bug on January 23, 2013, 06:36:01 AM

Title: VirtualAlloc and debugging with OllyDbg
Post by: bit8bug on January 23, 2013, 06:36:01 AM
I have the following code

invoke  VirtualAlloc,0,eax,MEM_COMMIT + MEM_RESERVE, PAGE_EXECUTE_READWRITE

QuoteIf the function succeeds, the return value is the base address of the allocated region of pages.
so eax is loaded with 20000 , how can I find this address (this allocated memory) in OllDbg ?
Title: Re: VirtualAlloc and debugging with OllyDbg
Post by: bit8bug on January 23, 2013, 06:47:05 AM
Ooops that was easy , right click follow in dump  :redface: