[haiku-bugs] Re: [Haiku] #8064: dladdr doesn't work for local symbols

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 04 Apr 2012 19:37:09 -0000

#8064: dladdr doesn't work for local symbols
   Reporter:  unitedroad   |      Owner:  axeld
       Type:  bug          |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:               |    Version:  R1/alpha3
  System/libroot.so        |   Keywords:  dladdr, shared library, so, dlfcn
 Resolution:               |   Blocking:
 Blocked By:               |   Platform:  All
Has a Patch:  1            |

Comment (by hamish):

 I thought breaking out of a nested loop was one of the few acceptable uses
 for a goto. So it would be preferable to flag and break then?

 dladdr manuals for some platforms do state that the pointers can become
 invalid when the library in question is unloaded:
 http://www.commsys.isy.liu.se/cgi-bin/man-cgi?dladdr+3. Hopefully programs
 that use it take this into account, so passing back pointers from the
 runtime loader shouldn't be too big a problem.

Ticket URL: <http://dev.haiku-os.org/ticket/8064#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: