• 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: How to manually register a symbol address in dyld?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to manually register a symbol address in dyld?


  • Subject: Re: How to manually register a symbol address in dyld?
  • From: Amanda Walker <email@hidden>
  • Date: Wed, 14 Oct 2009 10:58:58 -0400

On Oct 14, 2009, at 9:56 AM, Stéphane Corthésy wrote:
That cannot work. As I wrote, the bundle (already weakly linked) has symbols that are not available on 10.6 (they were on 10.5), BUT though the symbols are not exported, the actual functions are available in 10.6, thus I'd like to create a bundle which would augment dyld symbol table and then load the other bundle with (previously unknown) symbols, and it would link well.

You might be able to do this with DYLD_INSERT_LIBRARIES, though without knowing exactly how your application is structured it's a little difficult to tell.


Here are some examples of how to use it:
http://tlrobinson.net/blog/2007/12/21/overriding-library-functions-in-mac-os-x-the-easy-way-dyld_insert_libraries/

--Amanda

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to manually register a symbol address in dyld? (From: Stéphane Corthésy <email@hidden>)
 >Re: How to manually register a symbol address in dyld? (From: Peter O'Gorman <email@hidden>)
 >Re: How to manually register a symbol address in dyld? (From: Stéphane Corthésy <email@hidden>)

  • Prev by Date: Re: How to manually register a symbol address in dyld?
  • Next by Date: Re: kqueue EVFILT_PROC and child process pid
  • Previous by thread: Re: How to manually register a symbol address in dyld?
  • Next by thread: Re: How to manually register a symbol address in dyld?
  • Index(es):
    • Date
    • Thread