Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mythril/tests/testdata/input_contracts/extcall.sol

15 lines
304 B

pragma solidity ^0.6.0;
interface IERC20 {
function transfer(address to, uint256 amount) external returns (bool);
}
contract A {
constructor() public {
/// nothing detected
address(0).call("");
IERC20(address(0)).transfer(address(0), 0);
assert(false);
}
}