Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
- Subject: Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
- From: Michael Hall <email@hidden>
- Date: Sat, 23 May 2015 11:53:12 -0500
> On May 23, 2015, at 8:18 AM, Scott Ribe <email@hidden> wrote:
>
> DEADBEEF is what some memory debugging utilities write over memory it's freed. If it’s showing in your isa pointer, then you’re accessing an object which has been dealloc’d.
>
This is probably the main one I was remembering. It looks like it has been used for memory as you suggest.
This though
https://en.wikipedia.org/wiki/Magic_number_(programming) <https://en.wikipedia.org/wiki/Magic_number_(programming)>
mentions that it is…
> also used in the original Mac OS <https://en.wikipedia.org/wiki/Mac_OS> operating systems <https://en.wikipedia.org/wiki/Operating_system>
I thought it was file magic and was thinking it’s use even pre-dated Mac’s. There were, I thought, a couple others as well but my memory is probably not the best going back that far.
Michael Hall
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden