Re: selector data
Re: selector data
- Subject: Re: selector data
- From: Gen Kiyooka <email@hidden>
- Date: Mon, 6 Feb 2006 08:06:12 -0800
There is a freeware (open source) tool for dumping cocoa binaries.
find you there the answers to your questions, jedi
On Feb 5, 2006, at 12:48 AM, Braden Thomas wrote:
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
_______________________________________________
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