
 #!/bin/bash 

 pin="/home/waqarm/Work/Sim_Tools/PIN"

 pintool="/home/waqarm/Work/Sim_Tools/PIN/source/tools/ManualExamples/obj-intel64"

 infile="test"

 clang ./${infile}.c > ./${infile}.out

 sudo ${pin}/pin -t ${pintool}/inscount0.so -- ./${infile}.out


