|
From: Konstantin S. <kon...@gm...> - 2010-04-21 15:11:11
|
Hi, When doing instrumentation in valgrind tool I can get a PC of the head of the basic block being instrumented (by reading VgCallbackClosure::nraddr). How do I get a PC for an arbitrary IRStmt or IRExpr within the given IRSB? Thanks, --kcc |
|
From: Konstantin S. <kon...@gm...> - 2010-04-21 15:47:40
|
Answering my own question: need to watch for IMark statements. --kcc On Wed, Apr 21, 2010 at 7:10 PM, Konstantin Serebryany < kon...@gm...> wrote: > Hi, > > When doing instrumentation in valgrind tool I can get a PC of the head of > the basic block being instrumented (by reading VgCallbackClosure::nraddr). > How do I get a PC for an arbitrary IRStmt or IRExpr within the given IRSB? > > Thanks, > > --kcc > |