Displaying 2 results from an estimated 2 matches for "c0d67813".
2009 Oct 16
0
[LLVMdev] MallocInst/CallInst bitcast,
...being allocated to the
> program. Is it possible to cast/convert a MallocInst or FreeInst to a
> CallInst?
>
> Thanks,
>
> Daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091016/c0d67813/attachment.html>
2009 Oct 16
2
[LLVMdev] MallocInst/CallInst bitcast,
Hello,
I'm writing a virtual machine that functions as a sandbox based on llvm. In
order to prevent programs from accessing memory that has not been allocated
to them, I want to replace calls to malloc and free with calls to a logged
functions that will record the memory that is being allocated to the
program. Is it possible to cast/convert a MallocInst or FreeInst to a
CallInst?
Thanks,