|
From: pankaj p. <pan...@gm...> - 2011-07-08 13:19:23
|
Hi Josef, Thanks for the reply. > If you know that a given function uses the calling conventions of a given > ABI, > and you know the number of arguments and types, you can directly access the > stack to get at parameter values. Otherwise, you need to parse debug > information. > I suppose you need to extend the debug info reader to be able to forward > such > information to tools. > I know the arguments and their types. I can get the stackpointer during runtime but how do I read the stack after that. Can I read memory just by dereferencing the stack pointer? Could you point to some functions which will help me in doing so. Regards, pankaj |