|
From: Gu, Z. <gz...@gm...> - 2010-10-07 00:30:11
|
Hi all:
I am newbie to valgrind and try to understand the implementation.
There is one thing confuse me a lot.
When the binary has been translated to IR and sent to the tool, it
will utilize the temporaries to represent the value.
For example, the IR for load
t2 = LDle:I32(t3)
How can I read the value of t2 and t3 during the runtime? I can
insert a helper function into it, but I can only get the value of the index
of t2 and t3 which is 2 and 3. Is there any mapping data structure from
index to the real value of the temporaries?
Thanks
--
Zhongshu
|