Greg, The documentation for PIN_RemoveInstrumentation(), it says this: VOID LEVEL_PINCLIENT::PIN_RemoveInstrumentation ( ) All instrumentation is removed. When...
Hi Greg, Please correct me if I am wrong: In the 20751 version of PIN, if I am running on Intel 64 I can instrument a 32-bit application with a 32-bit pintool...
Recently, I tried to probe a windows API call NtDuplicateToken whose prototype is: typedef MYSPACE::NTSTATUS (*NTDUPLICATETOKENFNPTR_)(MYSPACE::HANDLE ...
Hi, Thank you for you reply. If I try to pass a argument type that is not listed in the ARG_TYPE, how can I specify the argument type? I use PIN_PARG but get...
I have a question about multithreaded applications running under pin. If I have a 8 core machine and my application has 8 threads, when I run it under pin,...
Hi, I am trying to use a shared memory segment to keep statistics for parallel MPI runs of an application. I am getting some concurrency problem while using...
Hi, I am wondering if it is possible to instrument a routine that is not in the export table of a dll on windows. (it is in the debug symbol package from MS...
I am running the 18525 build for linux, have done PIN_InitSymbols(), and I have a for loop as taken exactly from the documentation, as shown below: ...
Hi Bob, We have release two Pin kits since the version you are using. Is there any particular reason you aren't using the latest Pin release? Kim From:...
Kim Hazelwood
hazelwood@...
Aug 6, 2008 2:51 pm
2933
I took a look at the CallTrace.cpp file and I wanted to modify this to trace the calldepth the instructions I instrument are at. So if lets say we have: main()...
The DebugTrace tool already has logic to trace call depth. See, for example, the CallTrace() function. -- Greg ________________________________ From:...
Hi, I am having trouble using GDB to debug my pintool. Here's what I do: 1. open two terminals 2. switch to the directory where my tool resides in both...
hello, I'm trying to obtain the instruction's name and pass it to my analysis routine, but that isn't possible because I can't pass in any strings from the...
The latest kit (20751) has better support for debugging, described here in the manual: http://rogue.colorado.edu/Pin/docs/20751/Pin/html/index.html#DEBUGGING ...
You can pass a pointer to data (e.g. pointer to a string) to an analysis routine with IARG_PTR. Just make sure the pointed-at data is in permanent storage...
Hello. I encounter a problem with RTN_FindByName(img, name). I use it to find printf() calls in a simple program I wrote that contains three printf()s in the...
Please use the latest Pin kit (20751), and let us know if you still have this problem. From: pinheads@yahoogroups.com [mailto:pinheads@yahoogroups.com] On...
Kim Hazelwood
hazelwood@...
Aug 15, 2008 7:20 pm
2944
Try using the sample tool debugtrace. It prints a trace of calls and returns to debugtrace.out with symbol information. It will help you to understand the...
Thank you very much for your replies. With reivsion 20751, RTN_InsertCall() works also on CentOS 4.6 but only for IPOINT_BEFORE. For printf() this is not a...
Hi: I am using Pin 20751 on Linux. I want to find all the system calls that will be called by a program. I know Pin can dynamiclly find system calls, and...
System call number is in register. Pin can't provide register value in static time. - Elena ________________________________ From: pinheads@yahoogroups.com...
Hi Elena: Thanks for your reply. I think the syscall number is in the eax register on X86. How about parse the source file and find out the value in the eax...
Thank you for your help. ... FAQ#My_IPOINT_AFTER_for_a_RT ... with ... readFun ... called ... +0x0008 ... don't ... and ... %40yahoogroups.com> , ... symbol ...
You can do this in your tool. You can find routine object (RTN) by address, open it (RTN_Open) and iterate over instructions inside routine. Pin allows you to...