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/suicide.sol

13 lines
163 B

6 years ago
pragma solidity 0.5.1;
contract Suicide {
function kill(address payable addr) public {
6 years ago
if (addr == address(0x0)) {
selfdestruct(addr);
}
}
6 years ago
}