Hi,
Is there a tool that would parse a C file and tell me the list of functions
that are being called in the file. The C file includes header files for the
functions being used.
Also is there a tool that would give me a full 'tree' of what functions are
being called from a C file, that is if function A calls function B, which
calls function C, then I need to know that function B & function C are being
called, anything that can do that?
Ahmed
--
"Never interrupt your enemy when he is making a mistake." - Napolean
Bonaparte 4 2105
"Ahmed S. Badran" <ah**********@spymac.com> wrote in message news:40********@solnews.wv.mentorg.com... Hi,
Is there a tool that would parse a C file and tell me the list of functions that are being called in the file. The C file includes header files for the functions being used.
Also is there a tool that would give me a full 'tree' of what functions are being called from a C file, that is if function A calls function B, which calls function C, then I need to know that function B & function C are being called, anything that can do that?
Ahmed
-- "Never interrupt your enemy when he is making a mistake." - Napolean Bonaparte
See here one of R. Heathfield's postings:
news:c4**********@hercules.btinternet.com
Ahmed S. Badran wrote: Hi,
Is there a tool that would parse a C file and tell me the list of functions that are being called in the file. The C file includes header files for the functions being used.
Also is there a tool that would give me a full 'tree' of what functions are being called from a C file, that is if function A calls function B, which calls function C, then I need to know that function B & function C are being called, anything that can do that?
Ahmed
Taks a look at cscope ( http://cscope.sourceforge.net) and it's GUI
front-end, cbrowser ( http://cbrowser.sourceforge.net). You might also
find something useful, for a charge, in the revtools package from Bell
Labs ( http://www.bell-labs.com/project/wwe...packages.html).
Ed. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: |
last post by:
If in my project I have a function which is not called,
does linker add this function from object file to final binary file? (not a lib, an executable)
If yes, why? (function has not 'extern')
...
|
by: Richard Hayden |
last post by:
Hi,
I have the following code:
/******************************** file1.c
#include <iostream>
extern void dummy();
inline int testfunc() {
|
by: bugzilla |
last post by:
hi, all.
I want to know which flag can be used to give me a warning that one
declared function is not called in the program. for example:
#include <stdio.h>
int Nouse();
int main()
{
|
by: Frank Lopez |
last post by:
Question: Is there any way to use the Visual Studio .NET environment
to easily identify C and C++ functions that are not called?
If not, does anyone have any recommendations on some other...
|
by: tshad |
last post by:
I am setting up some of my functions in a class called MyFunctions.
I am not clear as to the best time to set a function as Shared and when not
to. For example, I have the following bit...
|
by: Alan Silver |
last post by:
Hello,
I have spent ages trawling through Google, looking for information about
global functions in ASP.NET and I'm still not clear about the best way
to go about this (or not).
I am writing...
|
by: bobueland |
last post by:
The module string has a function called translate. I tried to find the
source code for that function. In:
C:\Python24\Lib
there is one file called
string.py
I open it and it says
|
by: one man army |
last post by:
Hi All-
I am new to PHP. I found FAQTS and the php manual. I am trying this
sequence, but getting 'no zip string found:'... PHP Version 4.4.0
$doc = new DomDocument;
$res =...
|
by: Bo Berglund |
last post by:
I have defined a few functions in a file, let's say it is called
functions.cpp. There are no objects involved, these are pure simple
functions.
In my test application I want to call this...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |