Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

output a list of functions called by a source file

Is there a flag I can set so that the compiler (linker?) will output a list of all the functions called by (not just defined in) each separate source file during the compilation(linking) process?

Thanks,

like image 649
Mick Avatar asked Mar 01 '23 07:03

Mick


2 Answers

I don't know if VS can do that, but you can use doxygen to generate a call graph for each function.

like image 63
Dima Avatar answered Mar 06 '23 18:03

Dima


You can try CppDepends to generate dependency map of your project along with some other useful information

like image 44
Dror Helper Avatar answered Mar 06 '23 18:03

Dror Helper