[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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