Google Answers Logo
View Question
 
Q: perl or python script to list all functions not defined in current .c file ( No Answer,   2 Comments )
Question  
Subject: perl or python script to list all functions not defined in current .c file
Category: Computers > Programming
Asked by: russianspy-ga
List Price: $2.00
Posted: 14 Sep 2006 21:28 PDT
Expires: 14 Oct 2006 21:28 PDT
Question ID: 765461
I need perl or python script to list all functions that are called but
not defined in the current file.
Answer  
There is no answer at this time.

Comments  
Subject: Re: perl or python script to list all functions not defined in current .c file
From: frankcorrao-ga on 15 Sep 2006 12:13 PDT
 
Why not just compile the file to a .o and run the nm command on them? 
It will tell you what all your undefined references are.

To do this with a script would be much more complicated than you might
think.  Things that look undefined might actually be defined (as
macros perhaps) in a header file.
Subject: Re: perl or python script to list all functions not defined in current .c file
From: politicalguru-ga on 19 Sep 2006 06:12 PDT
 
Answering a question like this is impossible without investing much
time and work. You might want to have a look at the Google Answers
pricing guide:
http://answers.google.com/answers/pricing.html

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy