[LLVMdev] Parsing (and compiling) on demand.

Török Edwin edwintorok at gmail.com
Sat Apr 17 13:59:06 PDT 2010


On 04/17/2010 11:29 PM, lost wrote:
> Just to do my own try. How can I use it to replace dlsym style
> lookups? Any example?

Yeah look in ClamAV's bytecode2llvm.cpp (GPLv2 code), there is a 
noUnknownFunctions() callback:
http://git.clamav.net/gitweb?p=clamav-devel.git;a=blob;f=libclamav/c%2B%2B/bytecode2llvm.cpp;

Best regards,
--Edwin



More information about the llvm-dev mailing list