1. A computer implemented method comprising: identifying a set of function execution paths through a program to a protected function; generating a polynomial based at least in part on the set of function execution paths; and embedding, via a processor, instructions throughout the program which, when executed by a computing device, allow proper execution of the program only when a runtime call order matches a predetermined runtime call order, the matching determined by evaluating the polynomial using a runtime generated secret.