• 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
Finding assembly offset in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding assembly offset in code


  • Subject: Finding assembly offset in code
  • From: "Mills, Steve" <email@hidden>
  • Date: Fri, 07 Feb 2014 22:50:02 +0000
  • Thread-topic: Finding assembly offset in code

If an app has symbols in it (e.g. crash log shows IAmAFunction instead of 0x12345678), is there an *easy* way to figure out where in the source the +n is? Like in the following, how can I find the + 431:

0   com.makemusic.Finale          	0x002d7dde FinSpeedyWndProc(ECNTL, unsigned int, long, long) + 431

I took the long way around and put a nil deref into the code, run and crash, then keep moving it down until I get a number just after the one reported in the original crash log. Blech.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255


 _______________________________________________
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


  • Follow-Ups:
    • Re: Finding assembly offset in code
      • From: Sean McBride <email@hidden>
    • Re: Finding assembly offset in code
      • From: Jerry Krinock <email@hidden>
    • Re: Finding assembly offset in code
      • From: Jason Molenda <email@hidden>
  • Prev by Date: Re: Cannot sign in
  • Next by Date: Re: Finding assembly offset in code
  • Previous by thread: Re: Cannot sign in
  • Next by thread: Re: Finding assembly offset in code
  • Index(es):
    • Date
    • Thread