Can you suggest some tool that generates both Abstract Syntax Tree and Control Flow Graph from C++ source code?

1 Answer 1


My company's product, the DMS Software Reengineering Toolkit, and its C++ Front End, can do this.

The front end link shows renderings of example ASTs as well and control data flow graphs. It handles C++17.

Nobody wants "just" a control flow graph. DMS also provides a vast amount of machinery for building custom source code analyzers and transformers (building on the rest of its capabilities for parsing and flow analysis), enabling one to build tools a lot more easily than if one contemplates building such a custom tool from scratch, even if it uses DMS's standard C++ analyses.

Your Answer

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

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