Hello,
Does anybody know such a (preferably simple) tool that would allow an automated creation of a list of all used function related to some particular module in a project. For example, I have a project
\MyProject \module1.c \module2.c \module3.c ... \moduleN.c
where e.g. moduleX.c has functions like:
functionA(...) functionB(...) ... functionQQ(...)
declared somewhere.
I want to see which particular functions were ever called from my application - a tool may use either map or assembly generated listing or (??) for parsing analysis.
Ideally this tool should work like this:
a_parsing_tool.exe <my-some-form-of-entire-application> <c_module_in_interest (e.g. module3.c)>
which gives output like:
the function1() was called 2 times the function2() was never called the functionY() was called 74 times ...
Information about statistics may be dropped off but the tool needs to be a stand-alone application running ideally from the command line.
Any idea?
Regards, Nikolay.