34 lines
878 B
Markdown
34 lines
878 B
Markdown
---
|
||
title: "Mythril"
|
||
type: entity
|
||
tags: [tool, security, symbolic-execution]
|
||
sources: [blockchain-security-auditor]
|
||
last_updated: 2026-04-20
|
||
---
|
||
|
||
## 定义
|
||
Mythril 是由 Consensys Diligence 开发的智能合约安全分析工具,使用符号执行(symbolic execution)技术检测以太坊智能合约中的漏洞。
|
||
|
||
## 功能
|
||
- 符号执行深度分析
|
||
- 漏洞检测(assertion violation、selfdestruct)
|
||
- 控制流分析
|
||
- 调用图构建
|
||
|
||
## 使用方式
|
||
```bash
|
||
myth analyze src/Contract.sol --execution-timeout 300 --max-depth 30
|
||
```
|
||
|
||
## 与其他工具对比
|
||
| 工具 | 方法 | 优势 |
|
||
|------|------|------|
|
||
| Slither | 静态分析 | 速度快 |
|
||
| Mythril | 符号执行 | 路径覆盖深 |
|
||
| Echidna | Fuzzing | 属性测试 |
|
||
|
||
## Connections
|
||
- [[Formal Verification]] ← implements ← [[Mythril]]
|
||
- [[Consensys Diligence]] ← created ← [[Mythril]]
|
||
|