I have a list of fields extracted from a C/C++ code base. I have to analyze the source files to check which fields are modified or used by which functions. The tool I used for fields extraction is Exuberant CTAGS which gives a list of fields and functions after analyzing a code file independently. Any ideas/suggestions are welcome, if there are any tools out there that can be used to achieve the functionality or if some built-in functionality of some development tool like Visual Studio can help.

  • I'm guessing you won't find tools based on ctags to do this, but you might be better served looking for things in the LLVM/clang ecosystem.
    – einpoklum
    Apr 2, 2017 at 7:31
  • What do you mean, "files modified by functions"?
    – einpoklum
    Aug 15, 2017 at 21:32
  • FIELDS, or variables. Aug 16, 2017 at 15:14

2 Answers 2


You can try CppDepend, it can report you what you want and you can customize its cqlinq queries to query as you want the codebase.


I achieved it by writing a mini-parser which parses source files to provide a list of functions and all fields modified by them.

  • 2
    This is not a SR style answer. OP is looking for something he can get, not something you have ih a directory on some machine you own. The "accepted as best answer" is self-serving nonsense.
    – Ira Baxter
    Oct 9, 2017 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.