... No, not an easy way. You have to track the value that is read until it is interpreted, because a compiler often treats floating point values as integers...
Hello. I am new to PIN and I want to instrument instructions that involve memory reads. I found the INS_Category function but I can't find in the documentation...
Hi The address 0x7c000000 appears to be free. Since I can't send the attachments i have listed the address space here. 00400000-00430000 r-xp 00000000 08:05...
Having found out about pin I am very glad to see it, I liked atom and have missed that sort of tool for some time. I am writing some tools on Windows and had a...
For the BOOL thing, I think the recommendation is to include windows.h in its own namespace: namespace WINDOWS { #include <windows.h> } and then refer to all...
... Thank you! Now it only remains to find what is the correspondence between xed-category-enum and xed-iclass-enum. I think I'll do it by disassembling...
Hi, I am running Pinpoints (version gcc4.0) with Simpoints 3.2 on a Fedora core 6, intel pentium pro machine. Some of the reference material that i found on...
... You might want to look at the paper here: http://www.csl.cornell.edu/~vince/papers/hipeac08.html It looks at SimPoint BBV files generated by Pin, Valgrind,...
Vince Weaver
vince@...
Jun 4, 2008 6:09 pm
2662
Hi HyungChan, Sorry for the delay. I found a bug in the later versions of Pin that results in SuperPin hanging on a signal. It'll be fixed in a future Pin kit....
Kim Hazelwood
hazelwood@...
Jun 5, 2008 1:58 am
2663
Hi, I am trying to insert locks into a program by using PIN. I am not sure whether I should use the regular pthread_mutex_lock or PIN's own GetLock. Does...
Hi! I am implementing a very simple pintool. The instrumentation routine is working but the analysis routine never seems to execute. I am not sure what the...
Hi, I have been trying to read the zero flag from the eflags. I can do this at analysis time however everytime i do it i get back an 8-bit value (e.g. 246)....
How do you read EFLAGS? Anyway, assuming you can read its value, you just need a & operation to read the ZF, which is bit 6 of the flag register. For example,...
Hello I see that PIN has an API called Checkpointing which it enables re-execution of the program and offers: PIN_SaveCheckpoint(CHECKPOINT *chkptFrom,...
Hello All: I'm doing research on the AMD Opteron, and I wanted to use PIN for it. But, then I checked the website and it did not say if it supported AMD ...
... If you want to build PIN tools and analyze applications using PIN tools on systems using AMD processors, then yes, it should work perfectly. I've been...
The Intel Pin team does not test Pin on AMD processors, since we don't own any. Kim From: pinheads@yahoogroups.com [mailto:pinheads@yahoogroups.com] On Behalf ...
Kim Hazelwood
hazelwood@...
Jun 9, 2008 8:49 pm
2674
Hi, I have a PIN Fini Function and when I run my application with PIN, the Fini function outputs the debugging message, however, my application does not exit....
Can you explain what you mean when you say your application doesn't exit? Do you mean that the Fini function never gets called? Or that the main function never...
Kim Hazelwood
hazelwood@...
Jun 10, 2008 7:01 pm
2676
First, I would encourage you to look at the CONTEXT APIs instead, which provide similar functionality: ...
Yeah, but can I use it on AMD opteron. Well, it works there, but will the results be reliable? That's what I want to know. ... don't own ... Behalf ... it. ......
Obviously, the Pin team has no way of answering that question, so perhaps Kenneth Hoste or some other user wants to comment. From: pinheads@yahoogroups.com...
Kim Hazelwood
hazelwood@...
Jun 10, 2008 9:03 pm
2679
Actually, you can tell when Pin does either an explicit or an internal flush by registering a callback via CODECACHE_AddCacheFlushed. It will tell you just...
Kim Hazelwood
hazelwood@...
Jun 10, 2008 9:10 pm
2680
It works just fine on x86_64 supported OS's. I've been using it on Athlon X2, Phenom X4, and various opterons for more than a year. Rick Gorton ... From: Kim...