• 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: Michael Siek <email@hidden>
  • Date: Fri, 14 Dec 2007 17:34:37 +0100

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.


Michael


Am 14.12.2007 um 17:04 schrieb Peter O'Gorman:

Michael Siek wrote:

Hi Peter,
i modified my framework loading to work with dlopen/dlsym.
Unfortunately RTLD_PRIVATE is not supported in 10.4 or 10.5 SDK.
It looked so promising...
(I tried RTLD_LOCAL which delivers same result like CFBundle-stuff)

Hah, that's what happens when you work from memory, of course I meant RTLD_LOCAL. Sorry.

That's very strange. The only symbols that are causing issue are new and
delete? Or is it a whole bunch of them?


comosoft GmbH
Sitz: Hamburg
Registergericht: Amtsgericht Hamburg; HRB 96536
Geschaeftsfuehrer: Jochen Marheinecke, Manfred Ossenbeck, Sven Jacken
_______________________________________________
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: Peter O'Gorman <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>)

  • Prev by Date: Re: Expanding "this" kills my application
  • Next by Date: Re: Loading function from a bundle without loading all globals.
  • 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