Skip to main content
Version: 0.9

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.

#ToolDescription
1DumpAstDumps Abstract Syntax Tree (AST) of project modules
2DumpCallGraphDumps Call Graph (CG) of project modules
3DumpCfgDumps Control Flow Graph (CFG) of project modules
4DumpConfigDumps Misti configuration file in use
5DumpImportsDumps graph of imports