Library statistics

From: Alvin (replay_at_to_the_newsgroup.thanks)
Date: 11/24/05


Date: Thu, 24 Nov 2005 15:09:28 GMT

I have a C++ library (.a and .so) that I would like to examine. What I would
like to do is see the size of each Object and the size of each member.

Basically, if the MyClass.o is 130 KB I would like to determine the size (in
KB if possible) of each method inside of MyClass.o.

I have been tinkering with nm and am about to look into objdump. Are these
the right tools for what I want? Or is there another tool that will work or
work better - perhaps like a frontend?

Thanks,

Alvin



Relevant Pages

  • Re: Library statistics
    ... Paul Pluzhnikov wrote: ... >> I have been tinkering with nm and am about to look into objdump. ... I couldn't figure out how to get objdump to show similar information. ... Alvin ...
    (comp.os.linux.development.apps)
  • Re: Library statistics
    ... Alvin writes: ... > I have been tinkering with nm and am about to look into objdump. ... 'objdump' and 'readelf' are the right tools. ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.apps)