1

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

0

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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