• 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
selector data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

selector data


  • Subject: selector data
  • From: Braden Thomas <email@hidden>
  • Date: Sun, 05 Feb 2006 00:48:03 -0800

Hello cocoa-dev,
I have a question about the mach-o binary format and how it pertains to cocoa. I've noticed that in some simple cocoa applications, the selectors are loaded in memory right along with the code, which seems to always starts at 0x1000 when the binary is loaded.
However, in other cocoa applications, when the binary is loaded, the selectors go into another part of memory that's much higher, in fact an address that's greater than the size of the binary itself. Now of course, this must be defined at compile-time (how else could the compiler generate code), but I can't seem to figure out how I can find the real memory address without actually loading the binary. It must be stored somewhere in some header? :-\


Thanks for any input
Braden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: selector data
      • From: Damien Bobillot <email@hidden>
    • Re: selector data
      • From: Gen Kiyooka <email@hidden>
  • Prev by Date: Problem with Flash animations in WebView
  • Next by Date: Re: NSOutlineView Row Selection Color
  • Previous by thread: Problem with Flash animations in WebView
  • Next by thread: Re: selector data
  • Index(es):
    • Date
    • Thread