I have declared an
test.cpp:
volatile int var;
and attempt to use this via extern in my pintool. However each time dlopen fails to find the variable. I have tried compiling test.cpp with -rdynamic.
Is there any way for the program and the pin tool to have some shared memory to communicate?