INS_Delete will let you delete an instruction To insert instructions, insert a call to a function that writes application registers with IARG_REG_REFERENCE. ...
Hi, I'm getting the following error when trying to run one of our apps through pin: Miniloader could not map segment Pin child/app terminated abnormally due to...
Collin, It's an address conflict between the application binary and (pin/tool). Can you try without a tool? pin - app Robert ________________________________ ...
Hi Robert, Thanks for the quick response. The app seems to load fine without my tool. Do you have any suggestions for removing the conflict with my tool? ...
I am working on a more elegant fix. In the meanwhile, you can move your tool by editing makefile.config and relinking. ifeq ($(TARGET),ia32e) PIN_CXXFLAGS +=...
Think that did it. Had to go all the way up to 26, but finally that worked. Guess this app has a very large bss section. Thanks a lot for your help! Collin...
... If it's any help, for Valgrind we use 0x38000000 on x86/Linux for loading the Valgrind+tool executable. That's a bit below 0x40000000 where shared objects...
Nicholas Nethercote
njn@...
Sep 13, 2006 6:48 pm
1023
If I compile a pintool with -ffast-math, can this change the numerical accuracy or behavior of the instrumented program? -jeremy...
Does PIN_RemoveInstrumentation() remove instumentations inserted by IMG_AddInstrumentFunction()? If so, how to just remove instrumentations on traces and...
Hi, I'm new to PIN, and I hope someone will be able to help me with this. I'm trying to using PIN_ExecuteAt() to execute a different function. Everthing works...
Hi Vijay, Unfortunately, I do want to do this dynamically during the life time of the program (i.e. turn it on/off depending on some analysis). Thanks for the...
hi ed, what's in func_wrapper? if you hit the ret instruction of func_wrapper, then you have the set up the stack correctly with a return address, etc heidi...
Hi Heidi, I just have a test application now. In my application I have routines foo1() and foo2(), both with the same prototype signature, i.e. void foo1(int...
hi ed, by the time you instrument the routine the call instruction has already executed which has set up the stack correctly for you with the original argument...
Heidi, Yes you are right. That fixed it. I was looking at the stack in the wrong direction. Sorry for the rockie mistake. Thanks for your help with this! -...
hi! what would be the easiest way to dynamically change the effective read/write address of a non-stack memory operation (e.g. add an offset when detecting a...
Heidi, Look at ToolUnitTests/swizzle2.C. This will let an analysis routine supply an effective address. Robert ________________________________ From:...
I have a simple program that sets up a signal handler that calls PIN_ExecuteInstrumented when it is invoked. The program executes correctly, but if the...
I failed to mention that I have seen this error with both kits 3585 and 4229 with gcc 3.2 ia32 with a 2.4 linux kernel. Interestingly an alternative seems to...
Hi All, I'm new to Pin and I'm trying to add some instrumention after each memory write operation. IPOINT_AFTER does not work (complains that there is no...
Look at SimpleExamples/pinatrace.C: // instruments stores using a predicated call, i.e. // the call happens iff the store will be actually executed if...
I think you have stumbled across an experimental feature we've added to Pin for an internal user. The PIN_ExecuteInstrumented / PIN_ExecuteUninstrumented APIs...
hi, i want to get the register usage histograms in the AMD opteron. can anyone tell me which profiler can do this because pin doesn't support opteron. any...
... According to the Pin website it supports "IA-32E (64 bit x86)", aka AMD64, aka x86-64. Nick...
Nicholas Nethercote
njn@...
Sep 29, 2006 9:16 pm
1045
Is there any reason why a version of Pin compiled for 64 bit should not be able to run 32 bit applications? I'm running on the 64bit version of CentOS 4.3,...