Hi Chris, Oops, my apology. The nmake.bat file I mentioned is new version which will be used in the next official Pin kit. Pin kit 25945 uses old version of...
Pin does not control the scheduling of threads. When the application creates a thread, Pin creates one too. From that point on, the scheduling of the threads...
Hi all, I'm new here,and to the PIN tool in general. I was happy to find this forum as I encountered an issue with IMAGES. A few details about my system: gcc...
? For some reason the Image function is called only for one specific image (one of the libs in the code) The function Image always opens the same file: ...
Hi, apparently the Image function worked fine the whole time. The problem was,as you have mentioned, that I was rewriting the same file and thus only saw the...
I am using instrumentation by TRACE but when I display the instruction I can not display the routine name (alway got .text). Is there any way to get the...
Hi David, See http://tech.groups.yahoo.com/group/pinheads/message/3570 Kim From: pinheads@yahoogroups.com [mailto:pinheads@yahoogroups.com] On Behalf Of David...
Kim Hazelwood
hazelwood@...
Jun 3, 2009 3:43 am
3870
Hi, You can pass to your analysis routine the instruction pointer at the entrance to the BBL (using IARG_INST_PTR). In the analysis routine you can have a data...
Hi, You can maintain set of "visited BBLs". Pass IARG_INST_PTR to your analysis routine (docount in your example), check in the analysis routine if this value...
Hi! I have a question , how can I use the filter, I am running the filter program but the filter is not working. pin -t filter.dll -- xx.exe -filter_rtn main...
Hi, Command line switches for the pin tool (filter.dll) should be declared adter the tool and before the "--". Please try: pin -t filter.dll -filter_rtn main...
Pin supports "far ret" instruction only if the transition is to the same code segment. We don't have a full support of "far ret" in our plans right now. -...
Hi all, I'm trying to write a tool to profile the cache. I'm using the pin_cache include to create a cache. What I'm missing and could not find (although...
I'll answer part of your question. The code cache module is related neither to the data cache nor the instruction cache. It is related to an internal "software...
Kim Hazelwood
hazelwood@...
Jun 4, 2009 6:49 pm
3880
Hi, By the way, is there any undocumented magic experimental option that would solve the problem ? BR, Matthieu...
Thanks for the reply, I was suspecting something of this sort, just could not find the right words for it, so thanks for that. Regarding the first part of my...
Hi again, just wanted to update that I have found the way to find the information I was looking for: apparently, the CACHE class (pin_cache.H) has a function...
Hello, i'm making a tool similar to calltrace.cpp but i want to instrument the calls to a methods (similar to a function but not the same) instead of the...
Hi, all When i want to know the code line(in source file) of malloc fuction caller, i add IARG_RETURN_IP in RTN_InsertCall's argument(fix malloctrace.cpp). EX:...
... Yes. ... The problem is intrinsic in that compiler optimizations destroy the illusion that each machine instruction maps to a dedicated source code line. -...
Hi guys, I was wondering, is there any way to determine what indices in the eflags register are changed by a given instruction? Preferably one that doesn't...
nnp
version5@...
Jun 6, 2009 4:45 pm
3887
... To get that level of information you need to use XED. There are several examples of using XED from Pin in the SimpleExamples directory (like xed-use.cpp)....
Hi, Thanks for your report. It is currently under investigation, we will update you when it will be fixed. Can you temporarily use "int 0x4" instead of "int...
Hi, Can you please elaborate on the differences you see in the instrumentation level and provide an example of an application which will demonstrate it? ...