Re: Documentation on Guard Malloc system level interface?
Re: Documentation on Guard Malloc system level interface?
- Subject: Re: Documentation on Guard Malloc system level interface?
- From: Ken Thomases <email@hidden>
- Date: Sun, 9 Jan 2011 18:17:00 -0600
On Jan 9, 2011, at 4:13 PM, Yuri wrote:
> On 01/09/2011 00:18, Ken Thomases wrote:
>> It's using "DYLD interposing" to substitute its own functions in place of the malloc functions of libSystem. DYLD interposing of system APIs is pretty much impractical for anybody but Apple to use, since it is sensitive to exact symbol locations, which can change with any system update.
>
> I see that interposing causes the creation of the special segment with interposition pairs: one inner symbol and one imported one. It seems like its quite self-contained.
>
> Where are these Apple-dependent offsets that you are talking about?
Rather than relying on my imperfect understanding, I'll refer you to discussions of it where Apple engineers have chimed in. Here's a thread that migrated from one list to another:
http://lists.apple.com/archives/Darwin-kernel/2008/Jul/msg00015.html
http://lists.apple.com/archives/Darwin-dev/2008/Jul/msg00076.html
You can search for others.
Regards,
Ken
_______________________________________________
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