• 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
Tool for inspecting size of functions in binaries?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tool for inspecting size of functions in binaries?


  • Subject: Tool for inspecting size of functions in binaries?
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 22 Jan 2012 12:51:36 -0800

I have a compiled binary whose code size I would like to make smaller (ensmallen?) So I’d like to be able to see how many bytes each of its functions/methods/constants/etc. take up. Now, the output of ‘otool’ seems to include enough information to derive that, but it’s not in a human comprehensible form — for example, it lists the address of each symbol, but to find sizes you'd have to sort by address and then subtract adjacent lines.

Long ago I remember there being a tool that would crunch these numbers and show you a listing of symbols and sizes. But I can’t remember what it was called. Anyone know of such a beast? (And no, Mach-O-Scope doesn’t seem to do this, unless I’m missing a setting.)

—Jens
 _______________________________________________
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: Tool for inspecting size of functions in binaries?
      • From: Ross Carter <email@hidden>
  • Prev by Date: Re: Getting otx or Mach-O-Scope to work
  • Next by Date: vForce Performance
  • Previous by thread: Re: Xcode 4.2 crashes after launch on 10.6.8 that also has Xcode 3.
  • Next by thread: Re: Tool for inspecting size of functions in binaries?
  • Index(es):
    • Date
    • Thread