Hello,
I'm making a tool where I need to intercept function calls. I can do
that, I was inspired by the lackely tool, using the
VG_(get_fnname_if_entry) function.
But I don't know how to read the arguments values. I know how many
parameters the function has. How can I read the arguments values? Did I
need to read the stack or the registers?
I'm using Valgring 3.9 on Linux amd64.
Regards,
Luis Domingues
|