created a pintool (findFunction) that finds when the function penter is called in testasm.cpp