mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 13:17:56 +00:00
67032af69f
* Extend xcm-simulator with a fuzzer for xcm exec This commit adds a very basic fuzzer that fuzzes the xcm exectution, in particular the process_instruction function. * Update cargo.toml in xcm-simulator-fuzzer * Add xcm-fuzzer to honggfuzz workflow * Update Cargo.lock * Update xcm/xcm-simulator/fuzzer/Cargo.toml so honggfuzz shows up on top Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update relay_chain.rs in xcm-fuzzer * Use MAX_XCM_DECODE_DEPTH instead of hardcoded decode limit in xcm-fuzzer * Add comment on how to generate coverage report in xcm-fuzzer * fix warnings, fmt, and unused result * fix compiler Co-authored-by: Vincent Ulitzsch <vincent.ulitzsch@srlabs.de> Co-authored-by: Vincent Ulitzsch <vincent@srlabs.de> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
33 lines
1.3 KiB
TOML
33 lines
1.3 KiB
TOML
[package]
|
|
name = "xcm-simulator-fuzzer"
|
|
version = "0.9.9"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Examples of xcm-simulator usage."
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
|
honggfuzz = "0.5.54"
|
|
scale-info = { version = "1.0", features = ["derive"] }
|
|
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
xcm = { path = "../../" }
|
|
xcm-simulator = { path = "../" }
|
|
xcm-executor = { path = "../../xcm-executor" }
|
|
xcm-builder = { path = "../../xcm-builder" }
|
|
pallet-xcm = { path = "../../pallet-xcm" }
|
|
polkadot-core-primitives = { path = "../../../core-primitives" }
|
|
polkadot-runtime-parachains = { path = "../../../runtime/parachains" }
|
|
polkadot-parachain = { path = "../../../parachain" }
|
|
|
|
[[bin]]
|
|
path = "src/fuzz.rs"
|
|
name = "xcm-fuzzer"
|