Static Analyzer for Solidity
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.
slither/tests/detectors/shadowing-builtin/shadowing_builtin_symbols.sol

35 lines
547 B

pragma solidity ^0.4.25;
contract BaseContract {
uint blockhash;
uint now;
event revert(bool condition);
}
contract ExtendedContract is BaseContract {
uint ecrecover = 7;
function assert(bool condition) public {
uint msg;
}
}
contract FurtherExtendedContract is ExtendedContract {
uint blockhash = 7;
uint this = 5;
uint abi;
modifier require {
assert(msg.sender != address(0));
uint keccak256;
uint sha3;
_;
}
}
contract Reserved{
address mutable;
}