selector data
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