Auto-sync: 2026-04-21 00:02
This commit is contained in:
31
wiki/entities/Echidna.md
Normal file
31
wiki/entities/Echidna.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "Echidna"
|
||||
type: entity
|
||||
tags: [tool, security, fuzzing]
|
||||
sources: [blockchain-security-auditor]
|
||||
last_updated: 2026-04-20
|
||||
---
|
||||
|
||||
## 定义
|
||||
Echidna 是由 Trail of Bits 开发的 Property-based fuzzing 工具,用于通过模糊测试验证以太坊智能合约的安全属性。
|
||||
|
||||
## 功能
|
||||
- 属性驱动模糊测试
|
||||
- 不变量验证(invariant testing)
|
||||
- 自动生成攻击用例
|
||||
- Foundry 测试集成
|
||||
|
||||
## 使用方式
|
||||
```bash
|
||||
echidna . --contract EchidnaTest --config echidna-config.yaml --test-mode assertion
|
||||
```
|
||||
|
||||
## 核心概念
|
||||
- **Invariant**:合约应始终满足的属性
|
||||
- **Property**:用户定义的测试属性
|
||||
- **Corpus**:测试用例语料库
|
||||
|
||||
## Connections
|
||||
- [[Invariant Verification]] ← provides ← [[Echidna]]
|
||||
- [[Trail of Bits]] ← created ← [[Echidna]]
|
||||
|
||||
Reference in New Issue
Block a user