Hi, I am trying to mark certain write instructions as special in Jikes RVM during the compilation so that Pin will know these writes are special when they get...
Not sure if this is what you are after but here goes: You could use any nop-like instruction - preferably one that does not show up in your code. I'd suggest...
Hello Stephen, I looked at your code. There appears to be a pin bug. I'll file an internal bug report. Thank you for bringing this to our attention. BTW, I...
Hi Again Currently I'm using PIN for heavy rewriting of all instructions which access the memory. In order to speed up the whole PinTool and to prevent ugly...
Hi, Some of our students ran into a problem to which I don't have an answer. It seems they might have run into a bug in Pin, but I'm not sure. They were...
... Ah! Should I have known this somehow? I didn't see it mentioned in the docs, right? ... OK, this yields a pointer to a PIN_REGISTER union. Now, how would I...
I'm doing my PhD on OS simulation and tracing. Currently I want to use pin to inspect an uncompressed kernel binary (vmlinux) and get statistics about the...
Hi, When trying to debug a PIN tool, all seems to work. I can trace, start/stop functions using gdb alright. When stopped in functions, the stack looks normal....
under RedHat 7.3, the output from 'gcc --version' is '2.96'. All the versions of GCC are larger than it, which version of PIN should I use under RedHat 7.3? In...
The easiest way is to install a gcc3.4 or 4.x compiler on the machine. 2nd choice is to compile on another machine and use the -pin_runtime directions in the...
Hi, I am trying to profile input operands for each FP instruction in any given program. I followed one of the earlier posts on the newsgroup and was able to...
The pin type happens to be 64b but in 32b mode the displacement is 32b. You don't need to pass a 64b displacement to your analysis routine. Once you have the...
1. There is no need to compute the effective address yourself IARG_MEMORYREAD_EA will pass the EA to the analysis routine. 2. After you have the address, you...
Thanks. IARG_MEMORYREAD_EA saved me all the hassle.The code looks much cleaner and more importantly, it works :) ... memory ... operand ... routine. ... cast ...
Thank you. I have tried the second choice. but seems it does not work. I have done the following procedures with errors. <<< in the machine with RHEL 4.0 >>>> ...
I hate to be pushy, but I really need to get this to work. It is part of my master thesis and right now everything depends on PIN. The whole project may fail...
Does this program fail if you don't use PIN_ExecuteInstrumented? Pthread gets the thread id from thread local storage (TLS). TLS is accessed via a segment...
When you build with gcc3.4 and run on rh7.3, you have to install a newer libstc++ and libgcc from gcc3.4 on the rh7.3 system. This is true for any program you...
I have tried your suggestion but still failed with the following information. ../Bin/pin -pin_runtime -t inscount0 -- /bin/ls ../Bin/pin: /lib/i686/libc.so.6:...
You need a libstdc++.so.6 for rh7. The rhel4 lib doesn't work because it requires a newer glibc. Sometimes they put out the libstdc++.so.6 libraries as an...
I've just started to get into some more work using Pin so I downloaded the lastest version. I looks like there's been some changes to the INS_Operand*...
Ah, the tyranny of legacy. XED2 is used in the newer kits and has changed some things as you've discovered. There are an enormous number of details. I'll...
Hi, Pin tool debugtrace causes process to crash after OS-upgrade (at least, it seems that the OS-upgrade causes it, since no other changes were made). ...
Marco, Pin is asserting. It writes the assertion to stderr and to pin.log. I am guessing that stderr is no longer connected to your tty so you do not see it....
Hi, the logfile is not created, so I guess it doesn't fail on an ASSERT. Also running with '-slow_asserts' did not give any output. It is update 5: Enterprise...
It may be an assertion in the pintool. After you catch it in the debugger, can you look at /proc/<pid>/maps to see which binary the fault occurs at? And can...
Hi, it's 32bit. No logfile is created in 'cwd'. WIth gdb I see this: (gdb) where #0 0x010c335e in ?? () #1 0xb6a8cfb8 in ?? () #2 0x015a1058 in ?? () #3...
I am using the most recent version of PIN under RHEL 4.0. I have found several following instructions dumped from INS_Disassemble(): add eax, dword ptr gs[] ...