• 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: Mysterious Snow Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mysterious Snow Crash
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Mysterious Snow Crash (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Mysterious Snow Crash (From: Kyle Sluder <email@hidden>)
 >Re: Mysterious Snow Crash (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Mysterious Snow Crash (From: Graham Cox <email@hidden>)

  • Prev by Date: Snow Leopard: unsupported PointerFunctions configuration was requested
  • Next by Date: Re: GetIndMenuItemWithCommandID / SetItemCmd on 64-bit? Cocoa?
  • Previous by thread: Re: Mysterious Snow Crash
  • Next by thread: Re: Mysterious Snow Crash
  • Index(es):
    • Date
    • Thread