Detectors Overview
Misti currently supports 20 detectors designed to identify specific code issues, detect vulnerabilities, and enforce best practices:
# | Detector | Severity | Requires Soufflé | Enabled by default |
---|---|---|---|---|
1 | ArgCopyMutation | High | ✔ | |
2 | AsmIsUsed | Info | ||
3 | BranchDuplicate | High | ✔ | |
4 | ConstantAddress | Info | ||
5 | DivideBeforeMultiply | High | ✔ | ✔ |
6 | DumpIsUsed | Info | ||
7 | DuplicatedCondition | High | ✔ | |
8 | EnsurePrgSeed | Medium | ✔ | |
9 | FalseCondition | Medium | ✔ | |
10 | FieldDoubleInit | Medium | ✔ | |
11 | InheritedStateMutation | Low | ||
12 | NeverAccessedVariables | Medium | ✔ | |
13 | OptimalMathFunction | Low | ✔ | |
14 | PreferAugmentedAssign | Info | ✔ | |
15 | PreferredStdlibApi | Info | ||
16 | ReadOnlyVariables | Medium | ✔ | ✔ |
17 | StringReceiversOverlap | High | ✔ | |
18 | UnboundLoops | High | ✔ | ✔ |
19 | UnusedOptional | Low | ✔ | |
20 | ZeroAddress | Low | ✔ |
Some of the detectors require Soufflé to be installed. If no Soufflé installation is found, these detectors won't be executed.
A few detectors are optional and aimed at auditors to help uncover subtle issues in the source code. To enable all detectors, use the --all-detectors
option. You can find a full list of configuration options on the configuration page.
Each detector targets a specific type of problem in your code. Click on the detector name to learn more.