|
From: Jakub B. <ber...@gm...> - 2016-09-08 13:06:11
|
Hello, I'm experimenting with writing a valgrind tool and I'd like to access function parameters, specifically the size given to malloc. It is passed to the malloc callback, but I need to know the address of the variable that was passed as the parameter (if it wasn't a constant). Is there a simple way to do this without searching through the stack frame? Thank you, Kuba Beranek |