|
[Valgrind-users] Is a list of the values assigned to tmp variables
maintained some where accessible?
From: nnp <ver...@gm...> - 2009-04-09 11:59:17
|
Hi, Is there a map maintained somewhere of the values stored in tmp variables that can be accessed by the instrumentation functions? For example, if I encounter Add32(t0, t1) I would like to calculate at execution time the result of this so that I can perform some further analysis (I'm doing somgthing involving the spreading of taint data but in the case of non-tainted expressions I would still like to be able to determine the resulting value). Cheers, nnp -- http://www.unprotectedhex.com http://www.smashthestack.org |
|
From: Nicholas N. <n.n...@gm...> - 2009-04-10 06:16:13
|
On Thu, Apr 9, 2009 at 6:59 AM, nnp <ver...@gm...> wrote: > > Is there a map maintained somewhere of the values stored in tmp > variables that can be accessed by the instrumentation functions? For > example, if I encounter Add32(t0, t1) I would like to calculate at > execution time the result of this so that I can perform some further > analysis (I'm doing somgthing involving the spreading of taint data > but in the case of non-tainted expressions I would still like to be > able to determine the resulting value). If the result of Add32(t0, t1) is put into t2, for example, then just pass t2 to the relevant instrumentation function. Nick |
|
From: yixiaoxian <yix...@gm...> - 2015-07-02 13:26:09
|
t0, t1 or t2 are temporaries, which are UInt in type. How to get their value of some point of execution? If just pass them to instrument functions, we get only the temporary numbers, but the values at runtime. -- View this message in context: http://valgrind.10908.n7.nabble.com/Is-a-list-of-the-values-assigned-to-tmp-variables-maintained-some-where-accessible-tp41345p55033.html Sent from the Valgrind - Users mailing list archive at Nabble.com. |