   Data or Code from memory adress ?
  Hi,I want to create a stack trace dump dervice and I have a small but important question:As I want to display also the value of the parameters of a method called during the stack display, I go through the stack pointer and retreive all the adresses or values stored from esp.Then my question is:From this adress, how can I know if this is an adress in the Heap (data), from the code section (used as return adress) or a value ??I''m using mingw with some assembly code.Thank you in advanceRicco 
  The only way of deciding if something is on the stack is comparing it''s address to the stackpointer and size.That is unless you want to hook every single memalloc-function and keeping track of it upon creation 