I am working on a problem that goes as follows:
I have the executable file ready with me. I have the source code has a function named f(). I know the entire signature of the function. However, I do not have the source code available with me. I donot have any other header file etc with me either.
Now, I need to override this function f() with my own function f(). How can I achieve that?
Any pointers on this would be welcome.