Thread: Examine size of code/data in the exe

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    142

    Examine size of code/data in the exe

    Is there an utility that would tell me exactly what is the size of the code within some exe. I have this Win app that is 9 MB in size, but I would like to know how much of it goes to code, global data, strings, resources, etc. The application is created with an ancient compiler/linker that does not provide such information so I need something else.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Description of the DUMPBIN utility

    Probably with the /SUMMARY option

  3. #3
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    If you understand what you're doing, you're not learning anything.

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    Quote Originally Posted by Fordy View Post
    Description of the DUMPBIN utility

    Probably with the /SUMMARY option

    At the moment I don't have VS on my computer (Mac Book Air + XP in VirtualBox), plus a nice note from Microsoft about Safari/Mac on the page you linked. I don't have A/V software in XP so I'm not using the web from there.

    "System Tip
    This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled."
    Last edited by idelovski; 01-03-2012 at 02:47 PM.

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    Quote Originally Posted by itsme86 View Post
    Thanks, this looks very cool. Small and works well. It can even produce a HTML page wit all the info about the EXE.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Examine hex number?
    By Sly in forum C Programming
    Replies: 16
    Last Post: 03-01-2009, 01:04 PM
  2. Read size of data array when reading .txt data
    By Taquito in forum C Programming
    Replies: 13
    Last Post: 04-29-2007, 01:52 AM
  3. Examine a variable with GDB
    By ^xor in forum Linux Programming
    Replies: 8
    Last Post: 08-16-2005, 01:40 PM
  4. Examine my code please
    By TWIXMIX in forum C++ Programming
    Replies: 13
    Last Post: 03-21-2004, 12:28 PM
  5. Code and data size
    By Roaring_Tiger in forum C Programming
    Replies: 1
    Last Post: 03-24-2003, 10:16 PM