tech-userlevel archive

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

Re: dlopen interception on libasan



On 11/30/16 14:37, Christos Zoulas wrote:
On Nov 30,  7:34am, skrll%netbsd.org@localhost (Nick Hudson) wrote:


[incorrect test deleted]

You did not define dlopen() in your own shared object; libasan needs to
do that to override the default definition. This is not the right test.

OK, so... add something like

https://nxr.netbsd.org/xref/src/libexec/ld.elf_so/symbol.c#565

to

  https://nxr.netbsd.org/xref/src/libexec/ld.elf_so/rtld.c#1125


?


Nick



Home | Main Index | Thread Index | Old Index