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

18 lines
358 B

contract Test{
mapping(uint => mapping(uint => address)) authorized_destination;
address destination;
function init(){
authorized_destination[0][0] = msg.sender;
}
function setup(uint idx){
destination = authorized_destination[0][0];
}
function withdraw(){
destination.transfer(this.balance);
}
}