I have a function pointer defined like below:
typedef void (*FPT)(void);
FPT Fp;
The pointer variable "Fp" is located at address 0x1234 I have my function defined like below:
void myfunc (void)
{
return;
}
I do not have access to the symbol name "Fp" but I know its address (0x1234). Now how do I assign the address of myfunc() to "Fp" ??