Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

counting the number of functions that make up a exe

Status
Not open for further replies.

ugly

Programmer
Joined
Jul 5, 2002
Messages
70
Location
GB
I am looking at suite of applications that are built from a large number of code libraries. For a particular application not all parts of a particular library will be used. I need to find out what classes and more importantly the total number of constituent functions that make up a particular exe. can this be done in studio (with a breakdown between mfc and stuff written by programmers).

thanks for any help
martin
 
I dont think you can, unless the functions are actually linked in a dll. You can then use the dependancy walker so see what functions in the DLL are called by the application.



Nerdy signatures are as lame as the inconsistent stardates of STTNG.
 
What I would do :

Build the entire suite of applications, making sure that a map-file is generated for every application.

The map-file contains all the information you need - only you have to learn how to read it (Looks a bit cryptic).
Maybe you should make a utillity program to parse the map-file. This program could also exclude the MFC-stuff from the final list. Nice little project !


/JOlesen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top