Re: [DynInst_API:] Correlating VariableLocation with Expression::Ptr

2014-07-15 Thread Ashay Rane
Thanks Bill! Matching the Expression tree with the VariableLocation object was easy and I was able to get the job done. On a side note, the Visitor interface didn't help much because I couldn't use it on the VariableLocation object. I tried constructing an Expression tree for a given

Re: [DynInst_API:] Correlating VariableLocation with Expression::Ptr

2014-07-15 Thread Bill Williams
On 07/15/2014 07:55 AM, Ashay Rane wrote: Thanks Bill! Matching the Expression tree with the VariableLocation object was easy and I was able to get the job done. On a side note, the Visitor interface didn't help much because I couldn't use it on the VariableLocation object. I tried constructing

[DynInst_API:] Correlating VariableLocation with Expression::Ptr

2014-07-14 Thread Ashay Rane
Hello, I am trying to limit the instructions that need to be instrumented based on information from SymtabAPI. Using SymtabAPI, I have the VariableLocation information like: stClass: storageRegOffset, refClass: storageNoRef, mr_reg: x86_64::rsp, frame_offset: fff159d8, low-pc: 0x4004f4,