-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not produce more corpus #436
Comments
It means it cannot find any more "interesting" testcase that can increase test coverage, likely the coverage is already = 100% |
“INFO ============= New Corpus Item ============= INFO ========================================== INFO ========================================== The above is the last part of the output that I re-captured. It can be seen that the coverage did not reach 100%, or even 50%, and it stopped generating new test cases. What could be the reason for this |
It is likely you did not deploy the contracts correctly. Would you mind sharing them? |
I get a contract from etherscan,I use "solc .sol -o . --bin --abi --overwrite --base-path ../../../ --combined-json bin-runtime,srcmap-runtime" to compile it.Then I use "ityfuzz evm -t '../../testContract/' --base-path ../../" to start.Here is the whole information: ================ EVM Fuzzer Start =================== INFO Deploying contract: ../../backup/contract/GaugeHelperContract/MXI* INFO [Stats #0] run time: 0h-0m-0s, clients: 1, corpus: 0, objectives: 0, executions: 0, exec/sec: 0.000 INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== INFO ========================================== |
here is the contract : /** // SPDX-License-Identifier: MIT /*
*/ abstract contract Context { interface IERC20 { library SafeMath {
} contract Ownable is Context {
} interface IUniswapV2Factory { interface IUniswapV2Router02 { contract MXI is Context, IERC20, Ownable {
constructor () {
} |
When I was testing the off-chain smart contract, the system only generated a few dozen test cases and then stopped. Afterwards, it kept outputting basic information. I want to know why it didn't continue to output transaction information like Txn:
[Sender] 0x8EF508Aca04B32Ff3ba5003177cb18BfA6Cd79dd
├─[1] 0xbF20B5892012c2a70a2212b06915494f7f7174E1.transferFrom(0x68Dd4F5AC792eAaa5e36f4f4e0474E0625dc9024, 0x8EF508Aca04B32Ff3ba5003177cb18BfA6Cd79dd, 5)
│ └─ ← 0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e536166654d6174683a207375627472616374696f6e206f766572666c6f770000
Does this mean that it also stopped generating new test cases?
The text was updated successfully, but these errors were encountered: