• 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: otool addresses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: otool addresses


  • Subject: Re: otool addresses
  • From: Bill Bumgarner <email@hidden>
  • Date: Sun, 31 Aug 2008 19:26:41 -0700

On Aug 31, 2008, at 7:05 PM, Martin Redington wrote:
When I'm looking at the otool output, do the offsets represent
absolute offsets within the binary, or to some kind of internal point
of reference (e.g. the start of the objective-C segment)?

Assuming that they are not absolute offsets (in the otool output), how
can I convert from the otool output to actual offsets in the binary,
or vice versa.

The offsets you are seeing in the binary are absolute offsets from the beginning of the binary. A binary is actually a mach-o file and, thus, otool is showing you addresses that are offsets from the beginning of the segment being disabled.


First, I'd recommend you get a hold of otx -- http://otx.osxninja.com/ -- as it is a wrapper for otool that produces considerably more detailed output.

Secondly, I would recommend that you take the output of otool or the output of otx against the two binaries and then diff the two. That will pinpoint the changes much more precisely within your app.

b.bum

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: otool addresses
      • From: "Martin Redington" <email@hidden>
References: 
 >otool addresses (From: "Martin Redington" <email@hidden>)

  • Prev by Date: otool addresses
  • Next by Date: Re: otool addresses
  • Previous by thread: otool addresses
  • Next by thread: Re: otool addresses
  • Index(es):
    • Date
    • Thread