InsertIf/Then calls must be paired, so you could either insert two If calls or combine your Then calls. The first option is easier, but the second is probably...
2506
slice4e
Apr 1, 2008 4:47 pm
Hi, I want to be able to modify the store address of an instruction (IARG_MEMORYWRITE_EA) , before the instruction executes, so that it will write to a...
2507
parujr
Apr 1, 2008 6:53 pm
Hi Martin, I use INS_RewriteMemoryAddressingToBaseRegisterOnly whose information can be found under Generic modification API in the Pin's User Guide. You can ...
2508
reallydestrius
Apr 2, 2008 3:22 am
Hi, I am writing a pintool that does some application profiling. When running my tool on Microsoft Excel 2007 under Windows XP, I almost constantly get the...
2509
reallydestrius
Apr 2, 2008 3:30 am
Oops! I'm sorry... accidentally sent the mail before I completed it. Here's the full message below: Hi, I am writing a pintool that does some application...
2510
nadav_chachmon
Apr 3, 2008 5:11 am
Hi Xinyu, We suspect that some office 2007 applications contain self-modifying- code (SMC). SMC is not yet supported in Pin. This is planned to be supported......
2511
reallydestrius
Apr 3, 2008 10:27 am
Some testing seems to suggest that there is self-modifying code in Excel, but smc_check only locates a few instances through an entire run of the program....
2512
takeheartjoshua
Apr 3, 2008 9:30 pm
Dear Pinhead, I succeeded in replacing function of original code with my function in Pin tool. But my function is quiet simple. It just prints some words. Now...
2513
glyons01
Apr 4, 2008 3:42 pm
If you are working on an IA-32 or Intel(R) 64 architecture, look at the ToolUnitTests/replace_malloc_inst.cpp and ToolUnitTests/callapp*.cpp examples. They...
2514
rivgal16@...
rivgal162004...
Apr 4, 2008 3:51 pm
PLEASE TAKE OU MY EMAIL FROM THIS GROUP THANKS Diego To: pinheads@yahoogroups.com From: glyons01@... Date: Fri, 4 Apr 2008 15:39:44 +0000 Subject:...
2515
slice4e
Apr 6, 2008 2:03 am
Hi, I have been bugging the developers on this forum with my issue that PIN crashes while instrumenting a program with a buffer overflow, until you guys were...
2516
Cohn, Robert S
rscohn2000
Apr 6, 2008 11:31 am
To get the IARG_MEMORY*_EA or IARG_MEMORY*_SIZE of instructions with rep prefixes, we have to read memory. If the instrumented instruction was going to segv,...
2517
slice4e
Apr 6, 2008 5:38 pm
Hmm, it seems that this does not happen only for instructions with rep prefixes. In one case, the crashing instruction is: repnz scas %es:(%edi),%al , however...
2518
jin_ang02
Apr 7, 2008 3:08 pm
I am new to PIN, and I have some questions about the PIN's software architecture and how PIN works. 1) What is the function of Emulatoin Unit? And what is the...
2519
Dan Upton
draqza.rm
Apr 7, 2008 3:48 pm
You might want to look at the Pin paper from PLDI 2005: http://rogue.colorado.edu/Pin/docs/papers/pin-pldi05.pdf I think both of those questions are answered...
2520
nadav_chachmon
Apr 8, 2008 6:22 am
... Those instances are the stale traces which needs to be re-jitted due to SMC ... Yes. This is a normal behaviour. ... We will have to debug it and see if...
2521
takeheartjoshua
Apr 8, 2008 4:29 pm
Thanks a lot. It works well. :)...
2522
sreekumarvk
Apr 10, 2008 12:33 am
Hi, I am getting errors when I try to compile icount in SimpleExamples directory. I am using the following version of PIN tool. ...
2523
Lueck, Gregory M
lueckintel
Apr 10, 2008 3:40 pm
I think you need to do "make icount.so" instead. Pin tools on Linux are now shared libraries. -- Greg ________________________________ From:...
2524
sreekumarvk
Apr 10, 2008 5:15 pm
Hi Greg, Thanks for your reply. I read this example in the manual and thought it should be compiled as an executable. Examples ...
2525
Lueck, Gregory M
lueckintel
Apr 10, 2008 6:08 pm
Thanks for pointing that out, Sreekumar. We have updated the manual, so it will be fixed in the next Pin kit. -- Greg ________________________________ From:...
2526
rscohn2000
Apr 10, 2008 9:24 pm
New pin kit 18525 This version of pin makes it possible to build and run pintools on any linux distribution. Tools that use probe mode still require systems...
2527
Tipp Moseley
tippmoseley
Apr 10, 2008 11:21 pm
Hey All, So I get the following error when I try to run a probe-based pintool on x86_64. The same tool works fine on ia32. Also, the tests in the Probes/...
2528
glyons01
Apr 11, 2008 12:59 pm
The -probe option does not take an argument. Remove the "1" after the - probe, and see what happens. BTW, with the latest kit, 18525, -probe is not needed at...
2529
geniajh78
Apr 11, 2008 5:22 pm
Dear, I have questions about the usage of a function called "PIN_CallApplicationFunction". Please take a look at very simple application and pintool programs:...
2530
glyons01
Apr 11, 2008 7:06 pm
Jung Ho, As you have already guessed, you have uncovered two different problems in PIN_CallApplicationFunction(). We had not tried calling...
2531
arunaishus
Apr 12, 2008 12:28 am
I am using a slightly modified version of the DebugTrace tool to generate a memory reference trace. The references made by different threads are obviously...
2532
Stephan Günther
smgtum
Apr 12, 2008 8:18 am
Hello, You have to use either mutexes to protect the critical section of the Pin tool (in your case the section where you write to the file) or you have to ...
2533
roddomi
Apr 12, 2008 4:17 pm
Hi, I would like to write a pintool to instrument an specific routine and its children (i.e. other routines called inside). Is there a way to do this without...
2534
tippmoseley
Apr 12, 2008 6:57 pm
-probe 1 was me trying random things; sorry. It doesn't work either way using that kit. It seems to work fine in 18525, though. Thanks! Tipp...