[LLVMdev] LLVM memory management

Renato Golin renato.golin at linaro.org
Sun Mar 23 04:45:07 PDT 2014


On 23 March 2014 07:59, Tim Northover <t.p.northover at gmail.com> wrote:
>> 1. How does the lli keep itself from being overwritten by a misbehaving
>> program?
>
> It doesn't. If you want that kind of safety you have to generate input
> IR that checks all its accesses and avoids unsafe constructs.

I believe the NatvieClient had to deal with that and much more. Check it out:

http://www.chromium.org/nativeclient

cheers,
--renato



More information about the llvm-dev mailing list