Parsing .obj files (VS2005)

T

Thomas Voigt

Hi,

I would like to extract information about used symbols in object
files. The objective is that we have some pretty old libraries most of
which have been marked as deprecated over time and we would like to
know which of the symbols/libraries we can safely remove (and which
program still use this old code). The general idea is to parse the
symbols in the libraries and check which of them are no longer used
anywhere.

I know that dumpbin can extract information from object files, but I
would prefer code that parses the object files directly. MSDN
indicates that the object files are in COFF format so maybe there is
something that I can use?

Regards, tv
 
L

Lionel B

Hi,

I would like to extract information about used symbols in object files.
The objective is that we have some pretty old libraries most of which
have been marked as deprecated over time and we would like to know which
of the symbols/libraries we can safely remove (and which program still
use this old code). The general idea is to parse the symbols in the
libraries and check which of them are no longer used anywhere.

I know that dumpbin can extract information from object files, but I
would prefer code that parses the object files directly. MSDN indicates
that the object files are in COFF format so maybe there is something
that I can use?

This is highly platform-dependent, so you'd be much better off asking on
a forum specific to your platform.

Please note that this newsgroup is for questions pertaining to the C++
*language* only:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,942
Members
47,490
Latest member
Finplus

Latest Threads

Top