dextool is a suite of tools for analyzing and code generation of C/C++ source code.
The plugin "C Test Double" is with release v1.0.0 guaranteed to be stable regarding how the generated code behaves.
The other plugins are to be regarded as beta quality.
The basic plugins for deXtool are:
- C TestDouble. Analyze C code to generate an implementation. Suitable for the use cases "Generate a test double" and "Generate a test harness".
- C++ TestDouble. Analyze C++ code to generate an implementation. Suitable for the use case "Generate a test double". It is capable of handling free functions in namespaces (akin to C TestDouble), virtual and pure classes and inheritance hierarchies.
- UML. Analyze C/C++ code to generate PlantUML diagrams. Component and classes.
- GraphML. Analyze C/C++ code to generate a GraphML representation. Call chains, type usage, classes as groups of methods and members.
- libclang 3.7+. deXtool has been tested with versions [3.7, 3.8].
See INSTALL.md
Jacob Carlborg for his excellent DStep. It was used as a huge inspiration for this code base. Without DStep deXTool wouldn't exist.