source code analysis
is a program that can help you hack/study the source code of C programs.
It will report which functions call which other functions, which functions
are called by other functions and what global variables and members of
structures are used by functions. This is useful if you want to analyse
a program and eventually hack it.
of the program you want to analyse. In the
locate the line which sets the C compiler. That is
usually something like
CC = gcc
and you must change it to
CC = nccgen -ncgcc -ncld -ncfabs.
Then compile the application. It may be useful to also replace
AR = ar
AR = nccar
LD = ld
LD = nccld
to link nccout object files.
will produce a file with
extension for every C file analysed.
Then you can use the viewer
) to view this data and do your work.
If the procedure of make links object files with "ar" or "ld" you should
manually link the produced