• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Loading function from a bundle without loading all globals.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading function from a bundle without loading all globals.


  • Subject: Re: Loading function from a bundle without loading all globals.
  • From: Peter O'Gorman <email@hidden>
  • Date: Fri, 14 Dec 2007 10:41:22 -0600

Michael Siek wrote:
> RTLD_PRIVATE exists...but Apple did not choose to provide it ;-)
>
> The producer of the framework in question obviously did not know the
> "-exported_symbols_list " option. They export everything.
> Probably several symbols would cause issues but new/delete are the ones i
> found by now.

Well, if it is a framework that you plan to provide in your app bundle,
then you can run nmedit or strip on it to reduce the number of global
symbols.

But, it seems likely that RTLD_LOCAL did not work because more than one
of the libraries/frameworks that are loaded as a result of your dlopen()
provide a global new and delete.

It all seems very icky.

Peter
--
Peter O'Gorman
http://pogma.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Loading function from a bundle without loading all globals.
      • From: Michael Siek <email@hidden>
References: 
 >Loading function from a bundle without loading all globals. (From: Michael Siek <email@hidden>)
 >Re: Loading function from a bundle without loading all globals. (From: Peter O'Gorman <email@hidden>)
 >Re: Loading function from a bundle without loading all globals. (From: Michael Siek <email@hidden>)
 >Re: Loading function from a bundle without loading all globals. (From: Peter O'Gorman <email@hidden>)
 >Re: Loading function from a bundle without loading all globals. (From: Michael Siek <email@hidden>)
 >Re: Loading function from a bundle without loading all globals. (From: Peter O'Gorman <email@hidden>)
 >Re: Loading function from a bundle without loading all globals. (From: Michael Siek <email@hidden>)

  • Prev by Date: Re: Loading function from a bundle without loading all globals.
  • Next by Date: Re: Expanding "this" kills my application
  • Previous by thread: Re: Loading function from a bundle without loading all globals.
  • Next by thread: Re: Loading function from a bundle without loading all globals.
  • Index(es):
    • Date
    • Thread