[GSOC]Dynamic object file loading:basic dlsym and dlclose

JiSheng Zhang jszhang3 at gmail.com
Thu Jul 23 18:33:46 UTC 2009


Hi all,

I have completed the baisc implementation of dlsym and dlclose. Now
the four dlXXX functions are all basically completed, although only on
x86 now.

I have git push the code on github, so for test just do the following:
git clone git://github.com/absabs/objdl.git
cd objdl
make
./demo -l t.o -s get

enjoy;)



Note:there's a mem leak in dlclose, because the memory of global
symbol name allocated by strdup is not freed. But I have to go to bed,
this will be fixed tomorrow

Thanks,
JiSheng



More information about the users mailing list