Pin reads symbol tables. (I assume you run Pin_InitSymbols() at the beginning). Take a look at symbols of libc 2.7 with objdump. May be you'll find additional...
3611
Demikhovsky, Elena
elena.demikh...
Apr 1, 2009 7:45 am
Sreekumar, May be somebody from Pin developers correct me, but I don't see any tool in our tests that build the CFG statically. API that may be useful Go...
3612
Demikhovsky, Elena
elena.demikh...
Apr 1, 2009 7:53 am
Vish, I don't understand your question. Section includes one or more routines. Routine address is taken from symbol table + image load offset. - Elena ...
3613
Demikhovsky, Elena
elena.demikh...
Apr 1, 2009 8:04 am
All pthread functions are implemented on user land and have a lot of assembly code inside. Pin sees the assembly code and analyses it. There is a system call...
3614
pol.uros
Apr 1, 2009 5:21 pm
Hello, i'm trying to detect the calls that make a single thread, it's possible? I'm also trying to see all the funcion calls that make all the threads (and i...
3615
glyons01
Apr 1, 2009 9:20 pm
Replies inside. Gail ... RTN_InsertCall() is a JIT mode call, and RTN_InsertCallProbed() is the probe mode call. Both insert an instrumentation point either...
3616
sreekumarvk
Apr 2, 2009 12:31 am
Hi Elena, Thanks for your reply and the pointers. I will check out the API's and see where I can get from there. Sreekumar...
3617
hadda_belkhiri
Apr 2, 2009 9:33 am
Thanks for your response I want to write a split cache simulator, one cache for scalars and another for arrays, my trace file must mark every reference memory...
3618
vishwa v
vishwa_v27
Apr 2, 2009 4:27 pm
Hi Elena, The actual problem is, the addresses generated from PIN completely differs from the addresses generated by any other tool like objdump. Shouldn't...
3619
Cohn, Robert S
rscohn2000
Apr 2, 2009 9:35 pm
You can see if it is inlined by doing -xyzzy -mesgon log_instrument These arguments must be before -t Look at pin.log afterwards. It will print out the...
3620
rscohn2000
Apr 2, 2009 9:39 pm
If it is a shared library, it is most likely relocated when loaded by your program. RTN_Address gives you the runtime address. objdump gives you the linked...
3621
Yabin
wawahust
Apr 3, 2009 1:08 am
Hi everryone, Can somebody tell me how to construct a superblock level CFG using pin? Does Pin already support this granularity? best regards, Yabin...
3622
Yabin
wawahust
Apr 3, 2009 3:04 am
It seems that the term "Trace" used in Pin community is something similar to the term "superblock" in J.Smith 's Virtual Machines book. That is one entry multi...
3623
mona_attarian
Apr 3, 2009 6:29 pm
Hi, I'm getting this error message: E:PIN_ExecuteAt cannot be called from a callback I was wondering if somebody could explain what this means and what I might...
3624
glyons01
Apr 3, 2009 6:52 pm
PIN_ExecuteAt() changes the control flow of the program. It starts execution from the specified context. Therefore, PIN_ExecuteAt() can only be called from...
3625
mona_attarian
Apr 3, 2009 7:04 pm
Thank you very much for the quick answer. So, I call PIN_ExecuteAt in a function that I added using PIN_AddSyscallEntryFunction. From what you mentioned, I...
3626
hadda_belkhiri
Apr 4, 2009 1:22 pm
Hi; I have posted a message about trace file that track indexes , please: is Pin a good tool for me. Can I generate a trace file with PIN that mark a...
3627
rscohn2000
Apr 4, 2009 3:02 pm
Earlier you said you want a split cache for multimedia and I was answering that you could use a different cache for SSE instructions: ...
3628
glyons01
Apr 6, 2009 12:42 am
INS_InsertCall() will do it. See ToolUnitTests/strace_ia32.cpp. Gail...
3629
mona_attarian
Apr 6, 2009 4:51 am
Hi Gail, I'm not sure if I can use INS_InsertCall at that point, since I don't have access to INS object in SYSCALL_ENTRY_CALLBACK. Only context and threadid...
3630
yz916
Apr 6, 2009 6:49 pm
Hi I am trying to call a native windows API, specifically NtSetEaFile, from one of my instrumentation routines. I attached a debugger to the execution and...
3631
mona_attarian
Apr 6, 2009 11:21 pm
Hi all, I've posted this question before, but the answers did not help. I'm trying to instrument syscalls, I use PIN_AddSyscallEntryFunction to register...
3632
Dan Upton
draqza.rm
Apr 6, 2009 11:49 pm
In your instruction/BBL/trace/etc instrumentation function, I believe you can still use INS_IsSysCall and INS_IsSysenter. (At least, they're still listed...
3633
glyons01
Apr 7, 2009 12:45 am
You cannot use PIN_AddSyscallEntryFunction() if you want to use INS_InsertCall(). You need to use INS_AddInstrumentFunction(). Why do you want to call...
3634
mona_attarian
Apr 7, 2009 2:20 am
The problem is that I need to insert instrumentation both before and after the syscall. In the new implementation of Pin, it's not possible to place...
3635
mona_attarian
Apr 7, 2009 2:23 am
Well, I only want the instrumentation before and after syscall, so a generic AddInstrumentFunction would not work for me. The reason why I need the ExexuteAt...
3636
Dan Upton
draqza.rm
Apr 7, 2009 2:29 am
I think there's a way, but it's a bit roundabout. See http://tech.groups.yahoo.com/group/pinheads/message/3365 - I explained my approach there....
3637
nadav_chachmon
Apr 7, 2009 6:52 am
Hi, __imp__NtSetEaFile is not generated by pin. It is an entry in the DLLs import address table which suppose to be filled up by the loader with a pointer to...
3638
songk22h
Apr 7, 2009 7:23 am
greeting, I have sorted out instructions in order to get instructions that only access memory. This is done quick with using INS_IsMemoryRead() &...
3639
vishwa v
vishwa_v27
Apr 7, 2009 9:26 am
Hi Everyone, I would like to know, whether the multithreaded capability has been added to the PIN pid attaching feature in linux? Thanks Vish      ...