Skip to content

Commit

Permalink
Add fuzz tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mullr committed May 27, 2024
1 parent 24d2c02 commit 142ca6a
Show file tree
Hide file tree
Showing 7 changed files with 1,614 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,14 @@ The following describes the default mapping between DLT concepts and Modality's
payloads using an external data source.

* When importing from a file, storage header content is currently ignored.

# Development
## Fuzz testing
```
rustup install nightly
cargo install cargo-fuzz
# Each of these runs until ctrl-c
cargo +nightly fuzz run network --jobs=32 -- --max-len=64
cargo +nightly fuzz run storage_header --jobs=32 -- --max-len=18
```
4 changes: 4 additions & 0 deletions fuzz/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
target
corpus
artifacts
coverage
Loading

0 comments on commit 142ca6a

Please sign in to comment.