Tools Overview
Misti Tools are additional modules designed to work alongside detectors, enabling various tasks beyond code analysis.
These tools are particularly useful for auditors, providing additional functionalities to assist in manual code reviews.
Misti comes with several built-in tools for common tasks and provides an API for creating custom tools.
Usage
List available built-in tools and their options:
misti --list-tools
To invoke a specific tool, use the following command format:
misti -t "ToolName:option=value,option=value" /path/to/tact.config.json
Usage Examples
Dump the AST of the project:
misti -t "DumpAst" my-example.tact
Dump the CFGs of the project in Mermaid format to the file /tmp/my-example.DumpCfg.out:
misti --output-path "/tmp" -t "DumpCfg:format=mermaid" my-example.tact
Available Tools
Below is the complete list of built-in tools. Click on any tool to learn more.
| # | Tool | Description |
|---|---|---|
| 1 | DumpAst | Dumps Abstract Syntax Tree (AST) of project modules |
| 2 | DumpCallGraph | Dumps Call Graph (CG) of project modules |
| 3 | DumpCfg | Dumps Control Flow Graph (CFG) of project modules |
| 4 | DumpConfig | Dumps Misti configuration file in use |
| 5 | DumpImports | Dumps graph of imports |