I have a simple c code. I am running the binary of that with my pin tool:
pin -t tool.so -- test/test.o a
Here, test/test.o
is a binary, and a
is some random command line argument to the pin tool (say tool.so
), and not the binary (so, there is a distinction between passing command line argument to the pin tool and to the binary).
I would like to know how can I pass command line input (say arg1
) to the binary which I am running with the pin tool.
(like we would pass with - ./test/test.o arg1
)
Note: I think knowing my pin tool and the c code is irrelevant here.