How can I get address of a function where the name of that function is in a variable?
Look: right now I can get the address of a function with any of this:
Code: Select all
addr = &myfunc;
addr = (unsigned int *)myfunc;
But that is not the problem. I want to know if is it possible to get the address of myfunc if the name is in a variable. What I want to do is to get the address of several functions in a loop. So I want to have those function names in an array.
Is it possible?