Hi Pinheads, I am working on a project "Parameter value characterization of GNU applications". In this project, I want to keep a track of all the parameter...
Hi, I am trying to use pin to collect eip samples during binary execution. When I try the itrace or inscount pintools in ManualExamples, I get very strange eip...
Most likely these are the eips from the shared objects loaded. Do a static link of the executable and you will see all the eips reported by pin in the output...
Furgan: Have a look at the calltrace tool included with the kit. It shows how to get the function name and the first parameter. Unfortunately, it is hard to...
Thanks Ramesh, when statically linked, the addresses all became 0x8048000+ as one would expect. Also I saw that I can actually grep the 0x8... lines from the...
Check the file /proc/<process-id>/maps to figure out where these addresses belong while the program is running. This will give you the name of the shared...
I am running Linux version 2.4.22-1.2199.nptl I am trying to use Pin to instrument user-mode Linux (2.4.27), but I get the following error: % ../Bin/pin -mt -t...
Thanks for your reply. I would appreciate if you can tell me the registers which hold the value of the parameters passed. Example if I call foo(a=10) from...
Ted: Usermode linux will probably require some more changes to pin in addition to fixing the .stab problem. We will try to play with it locally and see how...
If looking a /proc/<pid>/maps does not help, you can use the debugtrace tool to look at the instructions that are executed at the unusual addresses. Debugtrace...
Pin lets you look at the arguments without having to know where they are stored. If you really want to know the location, you have to look at the ABI: Ia32: ...
Hello, Thanks a lot for the process map pointer. It was perfectly explaining the numbers as you said. I tried two experiments one on linux 2.4.7 with gcc 2.96,...
Hello, I am trying to make pin on a different system, which has an old gcc 2.9.6 on it. As pin doesn't work with this, i installed gcc 3.3.4 on the same system...
Hello, Another problem I am having with gcc 3.3.4 installation is, when I make a tool with the new g++ installation, it seems to compile w/o errors, but I when...
Hi, Is it possible to instrument pin for specific intervals of the execution time.(e.g. from 10million to 20million instruction count, and again start from...
See the function PIN_RemoveInstrumentation() in http://rogue.colorado.edu/Pin/docs/1541/group__PIN__CONTROL.html In order to know how far you are along, you'll...
Artur Klauser
Pin.Project@...
Apr 5, 2005 8:51 am
209
Dear Pin folks, I am trying to profile passed parameter values. I was able to get this info when I used ALTO, so I was hoping we could do something similar...
David, I don't think the x86 ABI provides runtime information on the number of parameters passed to a routine. Ia32: http://www.caldera.com/developers/gabi/ ...
Artur Klauser
Pin.Project@...
Apr 6, 2005 8:34 am
211
Hola Artur, Que tal? I think you are correct. I forget how it was implemented in Alto/Plto, but I suspect they used static information that is not available...
It looks like gdb knows the number and type of arguments, so the information must be in the dwarf information. I don't think anyone here has the time to work...
Dave: Since we had complete flowgraphs in ALTO and parameters were passed in registers we could run a register liveness analysis for each routine. Whatever...
Hi, I have another question about instructions such as CMPS and SCAS when used with the REP family of prefix operations. The number of times such an...
➢ The number of times ➢ such an instruction is executed depends on terminating conditions so, ➢ it seems that IARG_MEMORYWRITE(READ)_SIZE give you the...
Hi I am trying to debug my pin tool using gdb. The tool is compiled using : $ make dcache g++ -c -Wall -Werror -Wno-unknown-pragmas -D_GLIBCXX_DEBUG -ggdb -O0 ...
Change both occurrences of -g1 to -g. We will make this the default. ... From: Rahul Saxena [mailto:rahul.k.saxena@...] Sent: Friday, April 08, 2005 7:49...
Hi, I am trying to do an analysis approx at every 1million instruction count (or every ~200Kth executed BBL) in the dynamic exec-n order. Currently, what i do...