Hello everyone. I'm trying to get function call trace in java. Like public static int fact(int num) { if (num == 0) {return 1;} else { return num * fact(num...
7828
nikolovivann
Aug 4, 2012 7:07 am
Hello everybody, I tried looking for a solution to this problem, but I couldn't find it anywhere. I am working on a tool which I integrate with my application....
7829
nafta452
Aug 4, 2012 7:51 am
Hi, This is a known issue in Pin which is fixed in our next release. The release should be out in the next few days. Nafta...
7830
nikolovivann
Aug 4, 2012 10:27 pm
Hi, Thank you for the answer! I really hope "the next few days" means soon, because I really need this functionality right now and I am chasing a firm...
7831
nitzan_mor_sarid
nitzan_mor_s...
Aug 5, 2012 7:35 am
Pin doesn't read Java images. If you're interested in function tracing specifically, maybe this Stack Overflow question can help:...
7832
Ahmad Hassan
hassanshono
Aug 6, 2012 6:11 pm
Hi Folks, I am trying to attached PIN to a process ID of a database. But when I try to execute the following command then the database process restarts with ...
7833
nafta452
Aug 7, 2012 6:31 am
Hi, Try this: INS_InsertCall(ins, IPOINT_BEFORE, (AFUNPTR)Register, IARG_CONST_CONTEXT, IARG_THREAD_ID, IARG_END); Then access the required registers using...
7834
nafta452
Aug 7, 2012 6:33 am
Hi, Currently you cannot attach Pin to Window services running under one of the built-in service accounts. The recommended workaround is to reconfigure the...
7835
nafta452
Aug 7, 2012 6:36 am
The release is planned is planned for this week. Nafta...
7836
nafta452
Aug 7, 2012 7:02 am
I'm not aware of Pin restarting a running program. Can you please describe what you're seeing? Nafta...
7837
nikolovivann
Aug 7, 2012 8:05 am
Hi Nafta, Thank you for the reply! I am checking the PIN website a few times a day. In the meantime I tried to use an older version of PIN (Kit 33586) where I...
7838
hassanshono
Aug 7, 2012 5:47 pm
Hi Nafta, We have an application that has multiple processes. When I attach PIN to one particular PID then that process gets killed and eventually the...
7839
tevi.devor
Aug 8, 2012 7:32 am
If you pass the analysis routine a CONTEXT* (using IARG_CONST_CONTEXT) then in your analysis routine you should use PIN_GetContextFPState to get the floating...
7840
tevi.devor
Aug 8, 2012 10:48 am
Hi I used your code supplied below to create both UrlDownload.cpp and PinTool.cpp I compiled UrlDownload.cpp into UrlDownload.exe by doing cl UrlDownload.cpp ...
7841
Sunil Kumar
sunil_dastaq
Aug 8, 2012 11:35 am
Sorry, my bad, I messed it up. I thought the DLLs get loaded before execution starts. ... -- Your smile is the most precious thing that doesn't cost you. Keep...
7842
tevi.devor
Aug 8, 2012 11:58 am
Hi Please do 2 things 1) decalre icount as volatile 2) instead of using PIN_GetTid() in the analysis function, pass the analysis function (docount) a THREADID,...
7843
hassanshono
Aug 8, 2012 12:47 pm
Hi Nafta, The problem has been fixed by providing the absolute path of pin and the inscount tool. If I try to attach pin again then I see the error that PIN is...
7844
bwzhou
Aug 8, 2012 8:50 pm
The type of the argument is integer in Fortran. I tried with IARG_FUNCARG_ENTRYPOINT_VALUE/REFERENCE but the result is some random numbers instead of the...
7845
Cownie, James H
jim.cownie
Aug 9, 2012 8:23 am
You need to understand the calling convention used by the Fortran compiler. For simple scalars it's *probably* call by reference (so your "random numbers" are...
7846
Ahmad Hassan
hassanshono
Aug 9, 2012 10:18 am
Hi Team, I am attaching PIN to a running Database (i.e pid 3951) as: pin -pid 3951 -t ABS_PATH/pinatrace.so After that all the memory access patterns (R/W)...
7847
Kim Hazelwood
hazelwood@...
Aug 10, 2012 1:21 am
This should be an easy one. Given an INS, I want to dump out the raw bits in that instruction (not a pretty printed version). I was looking for something like ...
7848
mark_charney
Aug 10, 2012 2:53 am
Use INS_Address() to get the address. get the xed_decoded_inst_t from INS_XedDec() then use xed_decoded_inst_get_length() to get the length in BYTES. Then use...
7849
Cownie, James H
jim.cownie
Aug 10, 2012 9:03 am
... The tool you're using has to detach itself from the application using PIN_Detach...
7850
Lueck, Gregory M
lueckintel
Aug 10, 2012 1:02 pm
You can also use INS_Size() to get the length of the instruction. From: pinheads@yahoogroups.com [mailto:pinheads@yahoogroups.com] On Behalf Of mark_charney ...
7851
Heiner Litz
heiner.litz
Aug 10, 2012 8:37 pm
Hi, my pintool instruments gettimeofday and time in libc. This worked perfectly fine with libc-2.13 (shipped with Ubuntu 11.04 for example) but now fails with...
7852
nafta452
Aug 11, 2012 10:52 am
Hi Heiner, The "i" stands for ifunc. Pin doesn't completely support ifuncs yet, this is a known caveat. We're working on it, but I don't have a time estimate...
7853
nafta452
Aug 11, 2012 10:58 am
Hi, ... This depends on the tool. There is no generic standard to a tool's output. If you're using an example tool, take a look at the source code to see where...
7854
nikolovivann
Aug 12, 2012 12:25 pm
Hi Nafta, I've been waiting for the new release, but my deadline is also coming closer. I just wanted to ask - this issue is in all versions of PIN or maybe if...
7855
nafta452
Aug 12, 2012 12:50 pm
Hi Ivan, As far as I know the problem exists in all versions of Pin, however I did not test all of them, you're welcome to try. The release is ready, it's...
7856
nikolovivann
Aug 12, 2012 1:15 pm
Hi Nafta, Maybe I will try the other versions to see if I could get around this thing. Just to try my luck - I understand that you probably don't have such a...