Yes. I'm sorry for not explaining it correctly:
During CLG_(instrument) I store sbIn in a global variable which I then
access in runtime on CLG_(setup_bbcc). Something like this:
CLG_(instrument) {
.....
sbInAct = deepCopyIRSB(sbIn); //Actualizes sbInAct
clgs.bb->id = CLG_(stat).bb_executions + 1;
addBBSetupCall(&clgs);
....
}
On CLG_(setup_bbcc) I first check to see if the block has already been
translated/instrumented with a trick not worth mentioning (I compare
the CLG_(stat).bb_executions with bb->id). If it is the first time the
block is executed (thus translated) I check sbInAct and go through its
statements like I said before. So I'm accessing a structure which has
JIT-time information, even though I'm accessing it on run-time right?
What I would like to know is if there is any way for me to access the
real addresses (so that I can later check for data dependencies
between blocks).
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users