I have a pointer to function, assume any signature. And I have 5 different functions with same signature.
At run time one of them gets assigned to the pointer, and that
This is utterly awful and non-portable, but assuming:
-rdynamic
when linking.You can obtain the name of a function by passing its address to the nonstandard dladdr function.