Hi, Thanks for your reply :) I found that there is a library called "libdwarf" could help me to read debug information from elf format code. Is "libdwarf" a...
Hi, all Sorry about i ask the question which is not suitable in this forum. If anyone is still willing to answer my qestion, i will appreciate you deeply... :)...
It probably depends on what you want to do. If you want to find the address of a global data symbol, libelf will probably be easier to use. If you want to...
Hello I need your help. I'm tracing memory instruction of IA-32. there are some instructions which read/write more than 64 bytes at once. those instructions...
You should look at the discussion of the "rep" prefixes used with string operations. See Intel(r) 64 and IA-32 Architectures Software Developer's Manual,...
Note, too, that DWARF symbolic information is only generated when you compile code with suitable debug flags (e.g. -g), so you cannot rely on it being present,...
In HDPV [1] we faced the same problem to visualize assignments to local variables. We ended up using a heavily extended version of Fjalar [2], which wraps much...
... If IARG_CONTEXT was less expensive, would that have solved the performance problems? ... From: pinheads@yahoogroups.com [mailto:pinheads@yahoogroups.com]...
Hi, I'm using PIN to instrument a program,and trying to get the control flow graph which is generated in the exectution. However, when i use the CFG class in...
Hi Might be a trivial question I tried to attach a pintool to a pid, in linux with version 2.6. ./pin -t source/tools/SimpleExamples/obj-ia32/icount.so -pid...
If i specify the application name, it is going to create another instance, then what is the use of specifying the PID. The main idea i think is to instrument...
Try -pid 1234 Not -pid -1234 ________________________________ From: pinheads@yahoogroups.com [mailto:pinheads@yahoogroups.com] On Behalf Of vishwa v Sent:...
I tried even that. It doesnt work It says the same error: Missing Application Name ... From: Cohn, Robert S <Robert.S.Cohn@...> Subject: RE: [pinheads]...
Try putting "-pid 1234" before the "-t" switch. Pin treats all arguments that are specified after "-t tool.so" as arguments to the tool, not arguments to Pin....
Hi, guys. I'm trying to insert analysis code to a specific statement, given by its line number file and source file name. There were no problem on getting RTN...
Hello, i have take a look in the staticcount example that counts the static instructions of a given IMG, i tried to think a way to instrument the dinamic...
Another question, is not possible to write a pin that includes a TRACE instrumentation function (or INS instrumentation) and IMG instrumentation function,...
I think you could use the trace API for generating dynamic instructions and use the IMG API on those instructions say suppose you want to know the image to...
Hi Assuming that I have a tool to instrument multithreaded Apps using PIN, is there a way to attach multi-threaded apps to PIN using PID's. Please Let me know ...
IMG level instrumentation is possible in the dynamic mode too. So, before calling to PIN_StartProgram() you should specify a callback for image load, a...
Hi I have read in this group (msg 2990)that using gcc thread locals (__thread) in pintools is not a good idea. I am trying to integrate a large library making...
PIN does not generate CFG automatically, and no any CFG class inside Pin. Pin gives function names and addresses. You can build CFG in your tool analyzing each...
The problem implementing at the same time IMG and INS/TRACE is that for running IMG you need to start the program with probe mode (PIN_StartProgramProbed())...
Hello Can anyone kindly provide a simple example to use command line switches with the tools. Apparently, it should be possible with 'KNOB', however, I have no...
Hi, all I have check that my cpu is intel64 by using CPUID.. I was confused with that i get the obj-ia32(instead of "obj-intel64") directory after i "make all"...
Hi, Excuse the long email, I'm having a problem with dynamic linking of pin tools and I wanted to be as clear as possible in capturing the problem. I am having...
Daniel J. Quinlan
dquinlan@...
Mar 9, 2009 9:41 pm
3505
Hi, I have the libtool magic for static and dynamic linking in place now for pin tools using our ROSE static analysis infrastructure and also ROSE static...
Daniel J. Quinlan
dquinlan@...
Mar 10, 2009 5:41 am
3506
Hi, I find that "i686" is classified to ia32 in /makefile.gnu.config, so it's correct that i get obj-ia32 directory(depend on uname -m).. But,the second...