Re: Mysterious Snow Crash
Re: Mysterious Snow Crash
- Subject: Re: Mysterious Snow Crash
- From: Kyle Sluder <email@hidden>
- Date: Wed, 23 Sep 2009 19:12:50 -0700
On Wed, Sep 23, 2009 at 6:59 PM, Graham Cox <email@hidden> wrote:
> (gdb) po *(id*)($ebp+4)
Of course this will only work when building i386, not x86_64.
On x86_64, I would break on _LSAcquireIconRefForURL and do `po $rdi`.
Looking at the disassembly, the first thing it does is load a constant
string object (@"_NSURLBindingKey") into $rsi before calling
CFURLCopyResourcePropertyForKey. If at this point $rdi doesn't point
at a valid CFURL object, it's going to blow up.
--Kyle Sluder
_______________________________________________
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