[LLVMdev] Cast Pointer Address to Functions
Bill Wendling
wendling at apple.com
Mon Jun 18 19:21:38 PDT 2012
Using uintptr_t is the way to hold pointer values. However, I seem to recall there being an exception for function addresses.
-bw
On Jun 18, 2012, at 1:09 PM, Xin Tong wrote:
> I have a function address held in an uint64_t. I would like to cast
> the function address to a function prototype and create a call to the
> function in LLVM. How could I do this ?
>
> Thanks
>
> Xin
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list