mirror of https://github.com/ConsenSys/mythril
blockchainethereumsmart-contractssoliditysecurityprogram-analysissecurity-analysissymbolic-execution
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.
17 lines
397 B
17 lines
397 B
7 years ago
|
contract D {
|
||
|
uint public n;
|
||
|
address public sender;
|
||
|
|
||
|
function callSetN(address _e, uint _n) {
|
||
|
_e.call(bytes4(sha3("setN(uint256)")), _n);
|
||
|
}
|
||
|
|
||
|
function callcodeSetN(address _e, uint _n) {
|
||
|
_e.callcode(bytes4(sha3("setN(uint256)")), _n);
|
||
|
}
|
||
|
|
||
|
function delegatecallSetN(address _e, uint _n) {
|
||
|
_e.delegatecall(bytes4(sha3("setN(uint256)")), _n);
|
||
|
}
|
||
|
}
|