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.
39 lines
1.5 KiB
39 lines
1.5 KiB
7 years ago
|
{
|
||
|
"success": true,
|
||
|
"error": null,
|
||
|
"issues": [
|
||
|
{
|
||
|
"title": "Integer Underflow",
|
||
|
"description": "A possible integer underflow exists in the function sendeth(address,uint256).\nThe subtraction may result in a value < 0.",
|
||
|
"function": "sendeth(address,uint256)",
|
||
|
"type": "Warning",
|
||
|
"address": 649,
|
||
|
"debug": "<DEBUG-DATA>",
|
||
|
"filename": "<TESTDATA>/inputs/overflow.sol",
|
||
|
"lineno": 12,
|
||
|
"code": "balances[msg.sender] -= _value"
|
||
|
},
|
||
|
{
|
||
|
"title": "Integer Overflow ",
|
||
|
"description": "A possible integer overflow exists in the function sendeth(address,uint256).\n Addition will result in a lower value",
|
||
|
"function": "sendeth(address,uint256)",
|
||
|
"type": "Warning",
|
||
|
"address": 725,
|
||
|
"debug": "<DEBUG-DATA>",
|
||
|
"filename": "<TESTDATA>/inputs/overflow.sol",
|
||
|
"lineno": 13,
|
||
|
"code": "balances[_to] += _value"
|
||
|
},
|
||
|
{
|
||
|
"title": "Integer Underflow",
|
||
|
"description": "A possible integer underflow exists in the function sendeth(address,uint256).\nThe subtraction may result in a value < 0.",
|
||
|
"function": "sendeth(address,uint256)",
|
||
|
"type": "Warning",
|
||
|
"address": 567,
|
||
|
"debug": "<DEBUG-DATA>",
|
||
|
"filename": "<TESTDATA>/inputs/overflow.sol",
|
||
|
"lineno": 11,
|
||
|
"code": "balances[msg.sender] - _value"
|
||
|
}
|
||
|
]
|
||
|
}
|