|
From: Julian S. <js...@ac...> - 2007-01-01 18:02:07
|
On Monday 01 January 2007 12:02, Tom Hughes wrote: > Can you not check for the PLT and suppress it when the access occurs > rather than trying to build suppressions up front? I agree, that sounds generally easier. You cannot really tell when a .so has been dlopen-d. You can ask (I believe) to be notified for mmap/munmap events, and maybe you can tell that they are of .so files. But it's still ugly: suppose a program mmaps a .so file for some other purpose -- eg to compute an md5sum of it. In short it's better not to put ELF-specific hacks in drd if you can avoid it - instead, think in terms of using/extending the interface provided by m_debuginfo. For one thing, not all current/potential future targets use ELF. J |