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/solidity_examples/returnvalue.sol

17 lines
302 B

pragma solidity 0.5.0;
contract ReturnValue {
address public callee = 0xE0f7e56E62b4267062172495D7506087205A4229;
function callnotchecked() public {
callee.call("");
}
function callchecked() public {
(bool success, bytes memory data) = callee.call("");
require(success);
}
}