leeqx / calltree

calltree for c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

     calltree -	static call tree generator for C programs

     The calltree command parses  a  collection	 of  input  files
     (assuming	C  syntax) and builds a	graph that represents the
     static call structure of these files.

     Calltree  is  similar  to	cflow(1)  but  unlike	cflow(1),
     calltree  is not based on lint(1).	 Calltree implements some
     more functions than cflow(1), but does not	list  the  return
     types of the functions. This is because calltree includes an
     own C parser and thus may be used even on systems that don't
     have lint(1).  The	disadvantage is	that the C parser that is
     used by calltree is not completely	correct	and may	not  find
     all  calls	of a function. This is mainly true for calls that
     are done via function pointers.

     Calltree is able to detect	recursive  function  calls  (e.g.
     functions	that  call themselves).	 Recursive function calls
     are marked	with an	ellipsis in the	output.
     
     
find . -name "*.[c|h]" |xargs sed -i -e "s/fexecve/fexecve_calltree/"
find . -name "*.[c|h]" |xargs sed -i -e "s/getline/getline_calltree/"

About

calltree for c

License:GNU General Public License v2.0


Languages

Language:C 59.9%Language:M4 26.1%Language:Shell 5.9%Language:Roff 1.9%Language:Starlark 1.7%Language:Makefile 1.1%Language:TeX 0.8%Language:C++ 0.5%Language:xBase 0.5%Language:Batchfile 0.4%Language:AMPL 0.4%Language:Gnuplot 0.3%Language:Csound Score 0.3%Language:NASL 0.3%