473,791 Members | 2,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Source code analysis tool

hello,
Is there any source code analysis tool avail for C programmers under
Linux?
That tool should go through all source code files and print functional
dependencies. tool can run in any environment but its better to be a
linux
tool?Also is there any graphical utility for C programmers for that?

Nov 15 '05 #1
6 2678
ra*******@gmail .com wrote:
hello,
Is there any source code analysis tool avail for C programmers under
Linux?
That tool should go through all source code files and print functional
dependencies. tool can run in any environment but its better to be a
linux
tool?Also is there any graphical utility for C programmers for that?


One is http://www.stack.nl/~dimitri/doxygen/index.html which has links
to others.

-- ced

--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
Nov 15 '05 #2
ra*******@gmail .com wrote:
hello,
Is there any source code analysis tool avail for C programmers under
Linux?
That tool should go through all source code files and print functional
dependencies. tool can run in any environment but its better to be a
linux
tool?Also is there any graphical utility for C programmers for that?


Probably. Ask in a Linux group and they might be able to answer. Here we
discuss the C language, not the millions of tools around that have
something to do with C.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 15 '05 #3
On 5 Oct 2005 10:39:45 -0700, ra*******@gmail .com wrote:
Is there any source code analysis tool avail for C programmers under
Linux?
....

(a) Understand for C / C++:
http://www.scitools.com/ucpp.html

(b) RedHat's Source Navigator (Doesn't do all you ask but is free.)

(c) Probably/partially the Eclipse/CDT project:
http://www.eclipse.org

Roberto Waltman

[ Please reply to the group, ]
[ return address is invalid. ]
Nov 15 '05 #4
ra*******@gmail .com wrote:
hello,
Is there any source code analysis tool avail for C programmers under
Linux?
That tool should go through all source code files and print functional
dependencies. tool can run in any environment but its better to be a
linux
tool?Also is there any graphical utility for C programmers for that?


This is off topic. But here are the tools I use for what you want.

1) Search for the ncc compiler. You compile all your code just like
gcc, it would give you analysis information. Supports function
pointers, too.

2) Graphviz and Codeviz developed by Mel Gorman. You can use both
CodeViz and ncc to generate output that can be displayed by Graphviz as
a gif, pdf, ps etc.

Bahadir

Nov 15 '05 #5
I think "cscope" is the best the best tool i have used. Although i
doest give u graphical interface but going through is as good as lot
more graphical tools and its free

Nov 15 '05 #6
"spat" <ma***********@ gmail.com> writes:
I think "cscope" is the best the best tool i have used. Although i
doest give u graphical interface but going through is as good as lot
more graphical tools and its free


You really should browse the newsgroup before posting. If you had,
you almost certainly would have seen this:

If you want to post a followup via groups.google.c om, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.

Don't assume your readers can easily see the article to which you're
replying. You need to provide some context.

Please complain to Google about their broken interface.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
12073
by: Mark | last post by:
Sorry, I'm a newbie to php ;) I was thinking about using php to write the script file, something like: <script type="text/javascript" src="http://insert_url_here.com/myScript.php"></script> The php file then echo'ing the source code. If that works then how can I stop the php file being loaded directly, that is the user browsing
5
3604
by: Scott Chapman | last post by:
I'm sure I'm not using the conventional names for this tool, more of a cross-referencer?. I couldn't find it on Google, I think for this reason. I need a tool that will go through a python module (ClientForm in this case) and allow me to specify a starting module to parse and tell me what all it uses. What I'm trying to do is to take ClientForm apart enough to pull out just the html form parsing code in it and use it elsewhere. It...
4
1830
by: Moosebumps | last post by:
I have a whole bunch of script files in a custom scripting "language" that were basically copied and pasted all over the place -- a huge mess, basically. I want to clean this up using Python -- and I'm wondering if there is any sort of algorithm for detecting copied and pasted code with slight modifications. i.e. a simple example:
188
8524
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python 2.4 installer for windows. Now I have problems to compile python extension that some packages
9
5000
by: TCMA | last post by:
I am looking for some tools to help me understand source code of a program written in C++ by someone else. Are there any non-commercial, open source C or C++ tools to reverse engineer C or C++ programs with source codes on linux? i.e. It parses any sized C or C++ project to help reverse engineer, document, draw UML diagram and understand it and thus maintain it better.
6
16452
by: Xing Xu | last post by:
Hi guiders, sorry , since I don't know which group suit for this question,I just post this question at these group. As we know , we can get the run-time call graph by some proved tools . now I have a problem about the extract call graph from statice C source code , not from binary. I have try to use cscope and write some perl script for it .
2
2453
by: pinetaj | last post by:
Hello, I usually use global ( gtags, htags..) to analyze source codes in C. But, global tool doesn't support C# currently. Is there any tool I can use to browse C# sources like global? Thanks
2
1770
by: Jack | last post by:
Dear everyone, Has anyone heard of source analysis for C/C++? If someone does, please let me know. Freeware would be the best. Commercial would be okay too I've been googling, I've seen only a few and they are used in Linux Thanks Jack
6
2326
by: beantaxi | last post by:
Hello all, I'm looking for a very simple code analysis tool. I have a large codebase to analyze, and all I really need to do is to find all uses of all methods in a few interfaces. Many tools (e.g. Resharper) obviously do this internally, but I can't seem to find any that expose this simple functionality. Command line would be fine -- in fact I'd prefer that but its not necessary.
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.