Sponsored Content
Top Forums UNIX for Dummies Questions & Answers finding called functions recursively Post 302295413 by jim mcnamara on Sunday 8th of March 2009 06:02:34 AM
Old 03-08-2009
Most systems have a utility called cflow - try that.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

finding functions

I'm working on a project right now and I'm supposed to figure out how to go into a file located in a directory called ~cs252/Assingment/commandAsst/project/ and find all of the function calls to "sequentialInsert" and I tried using grep... (7 Replies)
Discussion started by: adamsy
7 Replies

2. Shell Programming and Scripting

Procedures are not called ?

My shell script is executing i am having no syntax errors or other errors. When i am testing the shell script i am having a problem that the procedure Prompt, Environment,List are not found. I defined all these procedures in the shell script. Environment() { FULL=N export FULL LOGON=cat... (2 Replies)
Discussion started by: dreams5617
2 Replies

3. Shell Programming and Scripting

finding duplicate files by size and finding pattern matching and its count

Hi, I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern. Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies

4. Shell Programming and Scripting

finding difference between 2 directory recursively

Hi, i'm trying to compare two directories in Unix. I need a recursive search ie my shell script should also compare common files in those two directory and so on... any clues.. ?? (2 Replies)
Discussion started by: yayati
2 Replies

5. Shell Programming and Scripting

what is it called?

Hey, I've come across and have used things like: fase1=${QUERY_STRING%%&*} and I was wondering what this kind of actions is called? (I'm talking about the % and # operators on strings) Does anyone know where i can find more info about it? It looks like a very powerful tool... Regards, Karel (1 Reply)
Discussion started by: KarelVH
1 Replies

6. Shell Programming and Scripting

Perl script to find where functions is called in c

Hello, I need to write a perl script to find where functions is called in c files.. The script should scan the file and find out the function names and then search to see where they are called... Lets for now assume all functions are internal. I don't know where to start :( ... (4 Replies)
Discussion started by: bojomojo
4 Replies

7. HP-UX

What is this shell called ?

:wall:What is this shell called ? "/sbin/sh" When I run "echo $SHELL" command on my HP-UX,I get above output. In Linux It was "/bin/bash". Which is bash shell. (5 Replies)
Discussion started by: manalisharmabe
5 Replies

8. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies

9. Shell Programming and Scripting

Function getting called recursively

I have the below script which creates a directory or simply terminates without throwing error (exit 1) incase the directory exists. bash-4.1$ vi mdir.sh #!/bin/bash -e shopt -s expand_aliases alias mkdir=mkdir_s mkdir_s(){ if ]; then echo " directory EXISTS " return else echo "... (3 Replies)
Discussion started by: mohtashims
3 Replies

10. Shell Programming and Scripting

Mkdir fails when defined and called with functions.

In the below script i found that the alias mkdir_s is getting invoked from function configure() i.e the alias is kicking in. #!/bin/bash -e shopt -s expand_aliases alias mkdir=mkdir_s mkdir_s(){ if ]; then return else /usr/bin/mkdir "$1" return fi } configure() { mkdir -p... (9 Replies)
Discussion started by: mohtashims
9 Replies
CFLOW(1)							   cflow manual 							  CFLOW(1)

NAME
cflow - analyze control flow in C source files SYNOPSIS
cflow [option...] file... cflow {--help | --usage | --version | -V} DESCRIPTION
This manual page documents briefly the cflow command. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the GNU info(1) format. GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program. GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally a cross-reference listing can be generated. Two output formats are implemented: POSIX and GNU (extended). Input files can optionally be preprocessed before analyzing. OPTIONS
A summary of options is included below. For a complete description, see the info(1) files. The program follows the usual GNU command line syntax, with long options starting with two dashes (-). Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with 'no-'. For example, '--no-cpp' cancels '--cpp'. General options -d, --depth=number Set the depth at which the flowgraph is cut off. -f, --format=name Use given output format name. Valid names are 'gnu' (default) and 'posix'. -i, --include=classes Include specified classes of symbols (see below). Prepend classes with ^ or - to exclude them from the output. Symbols classes: _ symbols whose names begin with an underscore s static symbols t typedefs (for cross-references only) x all data symbols, both external and static -o, --output=file Set output file name. Default is -, meaning standard output. -r, --reverse * Print reverse call graph. -x, --xref Produce cross-reference listing only. Parser control -a, --ansi * Accept only sources in ANSI C. -D, --define=name[=defn] Predefine name as a macro. -I, --include-dir=dir Add the directory dir to the list of directories to be searched for header files. -m, --main=name Assume main function to be called name. -p, --pushdown=number Set initial token stack size to number. --preprocess[=command], --cpp[=command] * Run the specified preprocessor command. -s, --symbol=symbol:type Register symbol with given type. Valid types are: 'keyword' (or 'kw'), 'modifier', 'identifier', 'type', 'wrapper'. Any unambiguous abbreviation of the above is also accepted. -S, --use-indentation * Use source file indentation as a hint. -U, --undefine=name Cancel any previous definition of name. Output control -b, --brief * Use brief output. --emacs * Additionally format output for use with GNU Emacs. -l, --print-level * Print nesting level along with the call graph. --level-indent=string Use string when indenting to each new level. -n, --number * Print line numbers. --omit-arguments * Do not print argument lists in function declarations. --omit-symbol-names * Do not print symbol names in declaration strings. -T, --tree * Draw ASCII art tree. Informational options --debug[=number] Set debugging level. -v, --verbose * Verbosely list any any errors encountered in the input files. -?, --help Display help and exit. --usage Display short usage message and exit. -V, --version Display version information and exit. AUTHOR
Jakub Wilk <jwilk@debian.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 1997, 2005, 2007 Sergey Poznyakoff Copyright (C) 2009 Jakub Wilk This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License Version 3, as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License Version 3 can be found in /usr/share/common-licenses/GPL-3. cflow 1.2 12/14/2012 CFLOW(1)
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy