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.
46 lines
1009 B
46 lines
1009 B
# Analysis Results
|
|
## Integer Underflow
|
|
- Type: Warning
|
|
- Contract: Over
|
|
- Function name: `sendeth(address,uint256)`
|
|
- PC address: 649
|
|
|
|
### Description
|
|
A possible integer underflow exists in the function sendeth(address,uint256).
|
|
The subtraction may result in a value < 0.
|
|
|
|
In *<TESTDATA>/inputs/overflow.sol:12*
|
|
|
|
```
|
|
balances[msg.sender] -= _value
|
|
```
|
|
## Integer Overflow
|
|
- Type: Warning
|
|
- Contract: Over
|
|
- Function name: `sendeth(address,uint256)`
|
|
- PC address: 725
|
|
|
|
### Description
|
|
A possible integer overflow exists in the function sendeth(address,uint256).
|
|
Addition will result in a lower value.
|
|
|
|
In *<TESTDATA>/inputs/overflow.sol:13*
|
|
|
|
```
|
|
balances[_to] += _value
|
|
```
|
|
## Integer Underflow
|
|
- Type: Warning
|
|
- Contract: Over
|
|
- Function name: `sendeth(address,uint256)`
|
|
- PC address: 567
|
|
|
|
### Description
|
|
A possible integer underflow exists in the function sendeth(address,uint256).
|
|
The subtraction may result in a value < 0.
|
|
|
|
In *<TESTDATA>/inputs/overflow.sol:11*
|
|
|
|
```
|
|
balances[msg.sender] - _value
|
|
```
|
|
|