Search the web
Sign In
New User? Sign Up
pinheads · Pin Dynamic Binary Instrumentation Tool
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1269 - 1298 of 4498   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1269
The second parameter to INS_OperandWritten() must be in the range [0, n-1] where 'n' is the value returned by INS_OperandCount(). For example: INS ins = ... ...
Lueck, Gregory M
gregorylueck
Offline Send Email
Jan 2, 2007
8:28 pm
1270
thank you Greg. Now, it is clear for me. I have another question about the inscount0 tool. i wrote a small C program, #include <stdio.h> main() { int i; i=19; ...
kiran kumar
kirandotkumar
Offline Send Email
Jan 3, 2007
12:30 am
1271
The instruction count includes *all* the instructions executed - including those in the shared libraries - not only those in the executable you created. ...
Yadavalli, S Bharadwaj
aadibharani
Offline Send Email
Jan 3, 2007
2:50 pm
1272
For instructions like: ins = mov edx,dword ptr gs:[0x0] INS_IsMemoryRead(ins) = false but INS_OperandIsMemory(ins, 2) && INS_OperandRead(ins, 2) = true I'm...
Jim Clause
clause33
Offline Send Email
Jan 4, 2007
4:49 pm
1273
Yes, you are right about this. Pin currently pretends that memory accesses with explicit segment overrides are NOT memory access instructions. The reason for...
Lueck, Gregory M
gregorylueck
Offline Send Email
Jan 5, 2007
12:50 pm
1274
Hi pinheads, I am using INS_Mnemonic(ins)== "MOV" to calculate the number of mov instrucitons in a program. I have 3 tools, some part of these program will...
kiran kumar
kirandotkumar
Offline Send Email
Jan 6, 2007
12:15 am
1275
... Is this because the INS_InsertCall will include all the instructions including the shared libaries whereas the "mov" will count only in the executable. ......
kiran kumar
kirandotkumar
Offline Send Email
Jan 6, 2007
12:53 am
1276
int icount = 0, mov=0; VOID docount() { icount++; } VOID Instruction(INS ins, VOID *v) {if(INS_Mnemonic(ins)=="MOV"){ mov++; INS_InsertCall(ins, IPOINT_BEFORE,...
Amithash Prasad
amithash_84
Offline Send Email
Jan 6, 2007
12:54 am
1277
not necessarily. for your code, mov will count the number of instructions in the application you are instrumenting (both include shared libraries, so that is...
Amithash Prasad
amithash_84
Offline Send Email
Jan 6, 2007
1:17 am
1278
In other words: icount will count the total number of _dynamic_ instructions, while mov will count the number of _static_ MOV instructions. Does this help? ......
Kenneth Hoste
b0egel
Offline Send Email
Jan 6, 2007
8:46 am
1279
thank you prasad and kenneth. it really helped me to understand. Kenneth Hoste <kenneth.hoste@...> wrote: In other...
kiran kumar
kirandotkumar
Offline Send Email
Jan 6, 2007
5:48 pm
1280
Hello, When PIN_RemoveInstrumentation() is used, is there a way of retaining or reinvoking the calls to analysis routines set up by the image API? To give you...
Aamer Jaleel
aamer0604
Offline Send Email
Jan 8, 2007
2:56 am
1281
Call PIN_RemoveInstrumentation. The first time you enter an instrumentation routine after that, use APP_ImageHead(APP) to walk the list of loaded images and...
Cohn, Robert S
rscohn2000
Offline Send Email
Jan 8, 2007
2:12 pm
1282
Hello PINheads, First, are the following statements true for PIN: * instructions prefixed with REP k (thus which are repeated k times) are only 'counted' once ...
Kenneth Hoste
b0egel
Offline Send Email
Jan 8, 2007
2:34 pm
1283
Hi all, I'm writing a PinTool that generates a large amount of program traces. For efficiency, I would like to use double buffering to minimize the number of...
mabdelmalek314
Offline Send Email
Jan 9, 2007
2:54 am
1284
Pin does not discard NOP instructions. Are you seeing some sort of bug where it does? Pin does consider REP prefixed instructions as just one instruction. You...
Lueck, Gregory M
gregorylueck
Offline Send Email
Jan 9, 2007
7:12 pm
1285
... No, I was printing out a list of executed instructions, and there were no NOPs in there. Since compilers use NOPs quite often, I assumed PIN might be...
Kenneth Hoste
b0egel
Offline Send Email
Jan 9, 2007
8:26 pm
1286
I try to use pin-2.0-7259-gcc.3.4-ipf-linux with a binary compiled with HP C compiler and have the following error message, ...
raofu05
Offline Send Email
Jan 9, 2007
8:52 pm
1287
What do the program headers look like? Do an objdump -x The assertion is checking that the delta between vaddr and paddr in a program header is the same for...
Cohn, Robert S
rscohn2000
Offline Send Email
Jan 9, 2007
9:13 pm
1288
Thanks for the reply! Here is the output from "readelf -l", Elf file type is EXEC (Executable file) Entry point 0x4000000000009120 There are 12 program...
raofu05
Offline Send Email
Jan 9, 2007
9:25 pm
1289
VJ brought up a good point about the NOPs. Pin disassemblies don't print the string "nop", so you may have missed them. Instead, Pin prints the actual...
Lueck, Gregory M
gregorylueck
Offline Send Email
Jan 9, 2007
9:53 pm
1290
The physaddr for your headers is always 0. I can weaken the assertion since I don't think pin uses the physaddr anyway. Please try: ...
Cohn, Robert S
rscohn2000
Offline Send Email
Jan 9, 2007
9:59 pm
1291
I just downloaded the tarball and tried it. But somehow a few assertion happens. A:elfio/img_elf.cpp:ProcessProgramHeaders:389: unknown prog header type...
raofu05
Offline Send Email
Jan 9, 2007
10:10 pm
1292
... Oh, ok... So, what would be the best way to identify NOP instructions? This is just for future use, because, as long as they are counted in the total...
Kenneth Hoste
b0egel
Offline Send Email
Jan 9, 2007
10:58 pm
1293
Hi, I am trying to instrument specific functions to collect memory address traces separately for each function. I am using Pin kit 7674 on cygwin/Windows &...
omutlu
Offline Send Email
Jan 10, 2007
8:35 am
1294
Hi, if you want to compile the application with gcc on windows, you can export your functions (e.g by using __declspec( dllexport )), the PinTool sample you...
nadav_chachmon
Offline Send Email
Jan 11, 2007
8:28 am
1295
Pin tools cannot use pthreads, even if it is indirectly through a second library such as libaio. I have not heard of anyone doing async I/O in Pin, but maybe...
Lueck, Gregory M
gregorylueck
Offline Send Email
Jan 11, 2007
10:23 pm
1296
It appears that we don't have a convenient function for identifying NOPs at present. For now, you would have to use INS_Address() to get the address, then...
Lueck, Gregory M
gregorylueck
Offline Send Email
Jan 11, 2007
10:39 pm
1297
Hi Greg, Thanks for the reply. I took a quick look at libaio but couldn't find any pthread usage or linking. Rather than get into Linux's asynchronous I/O...
mabdelmalek314
Offline Send Email
Jan 11, 2007
10:51 pm
1298
Hi, I am trying to use Pin to do some multi-thread experiments, but I am not sure if my understanding of how multi-thread program would execute upon pin is...
shanlu_uiuc
Offline Send Email
Jan 12, 2007
3:22 am
Messages 1269 - 1298 of 4498   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help