-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #497 from fuzzland/fix_contract_lib
Fix contract lib
- Loading branch information
Showing
32 changed files
with
1,697 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ combined.json | |
/**/build/ | ||
Move.lock | ||
/w_**/ | ||
/tests/evm_manual/story-core | ||
run_ityfuzz.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,3 +132,4 @@ tracing = "0.1" | |
tracing-subscriber = "0.3" | ||
colored = "2.0" | ||
evmole = "0.3.2" | ||
semver = "1.0.22" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
|
||
# 定义path变量 | ||
path="./tests/evm/flashloan" | ||
|
||
# 执行 cargo build 命令 | ||
cargo build --release --features "cmp dataflow evm print_txn_corpus full_trace" --no-default-features | ||
|
||
solc "${path}/test.sol" -o "${path}/" --bin --abi --overwrite --base-path "." --combined-json "bin-runtime,srcmap-runtime" | ||
|
||
|
||
|
||
# 执行ityfuzz命令 | ||
./target/release/ityfuzz evm -t "${path}/*" -f --panic-on-bug |
Oops, something went wrong.