• 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: Documentation on Guard Malloc system level interface?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Documentation on Guard Malloc system level interface? (From: Yuri <email@hidden>)
 >Re: Documentation on Guard Malloc system level interface? (From: Ken Thomases <email@hidden>)
 >Re: Documentation on Guard Malloc system level interface? (From: Yuri <email@hidden>)
 >Re: Documentation on Guard Malloc system level interface? (From: Ken Thomases <email@hidden>)
 >Re: Documentation on Guard Malloc system level interface? (From: Yuri <email@hidden>)

  • Prev by Date: Re: Why isn't Interface Builder showing any classes from my project?
  • Next by Date: Re: Xcode 3.2.5 keeps crashing
  • Previous by thread: Re: Documentation on Guard Malloc system level interface?
  • Next by thread: NIB loading with objects from a static library
  • Index(es):
    • Date
    • Thread