What distribution of linux are you using? Are you trying to attach to firefox (pin -pid ...) or are you starting firefox with pin (pin -t follow_child -...
Robert, I'm running Fedora Core 6 under VMware, and I am trying to start firefox with pin. I followed the follow_child example to modify my own tool (pin -t...
Pin uses ptrace to inject itself into an application, and this is an error using ptrace. We don't do any testing on fc6 and I can't reproduce the problem on...
Hi, I'm trying to use PAPI to measure hardware performance of a program instrumented by PIN. Should I insert my PAPI code (e.g. a function call to start...
The machine I'm using has 16 processors. To my understanding, when running an instrumented program, PIN creates at least 3 processes (PIN, PIN Tool, ...
My question is related to ATOM but I guess since PIN is an ATOM like tool so might be someone with prior ATOM experience can help me in this regard. I would...
I presume that you are using Tru64 Unix Atom on the Alpha processor. There is no API that reports the type of memory access. However, you can figure it out....
Hi, It seems that some IPF-specific instruction inspection rountines available on pin 0.179 are missing on pin 2.0 such as INS_Stop and INS_MemHint. Is it...
Hello pinheads, I am working on AMD opteron which has redhat linux. I have some questions on INS_RegW(ins,i). Here is my part of the code. VOID Instruction(INS...
seems wierd. Try this: I'd want to know what this register is. string LEVEL_BASE::REG_StringShort(REG reg) ... -- Amithash E. Prasad ECE Department, CU ...
It looks like you're using INS_RegW correctly. Pin REG objects are (I think) just an enum so they number they have doesn't correspond to anything in...
thank you guys, my problem is solved now. i started my loop from zero. but still, i am not clear, why the loop should start from zero because what i thought...
"i" is the index of the write operand. so if an operation has 3 write operands, then to access these operands, you have to specify i from 0 to 2. ... -- ...
my code has another problem. It gives me signal 11 error when INS_InsertCall statement is above the loop but when i keep this statement after the loop there is...
Hello there, I am a newbie in pin programming. In fact I have just downloaded the pin package for windows (vc 8.0) and I have a problem trying to compile the...
Hi all, I am another newbie of Pin... I am trying to capture the dependency between instructions, and I need to know exactly the registers each instruction...
Hi all, I have another question about memory access. This time, I am trying to know what memory addresses are read or written by each instruction. As you know,...
Jiayuan, The code you use should give you what you want. I'm not sure why the function says max or not. One possibility is that using that API will include...
Thanks Jim! This explains well and it assures me. I think I will need the implicit operands to catch the dependency. But I am still interested to know how to...
Thanks Jim for the information! Some follow-up questions: How do we know whether the memory access size can be determined at run time? And what is the...
How do we know whether the memory access size can be determined at run time? I think in most cases the size can be determined at runtime. The one case I can...
Here's some code to get all read / written registers so you can distinguish between implicit and explicit operands for(UINT32 i = 0; i < INS_OperandCount(ins);...
... I never figured this out either. In fact I'm confused as to what exactly causes a memory read 2. Hopefully someone else can answer this for you. Some x86...
RTN_BblHead() should return a single basic block with all the instructions in the routine. Pin does not currently have sufficient static analysis support to...