mirror of https://github.com/ConsenSys/mythril
Revert "Merge pull request #1076 from ConsenSys/bugfix/bectoken"
This reverts commitpull/1083/head558dd42390
, reversing changes made to0107a6212d
.
parent
558dd42390
commit
a0f0767b15
File diff suppressed because one or more lines are too long
@ -1,19 +1,5 @@ |
|||||||
{ |
{ |
||||||
"error": null, |
"error": null, |
||||||
"issues": [ |
"issues": [], |
||||||
{ |
|
||||||
"address": 498, |
|
||||||
"contract": "Unknown", |
|
||||||
"debug": "<DEBUG-DATA>", |
|
||||||
"description": "The binary addition can overflow.\nThe operands of the addition operation are not sufficiently constrained. The addition could therefore result in an integer overflow. Prevent the overflow by checking inputs or ensure sure that the overflow is caught by an assertion.", |
|
||||||
"function": "sendToken(address,uint256)", |
|
||||||
"max_gas_used": 52806, |
|
||||||
"min_gas_used": 11860, |
|
||||||
"severity": "High", |
|
||||||
"sourceMap": null, |
|
||||||
"swc-id": "101", |
|
||||||
"title": "Integer Overflow" |
|
||||||
} |
|
||||||
], |
|
||||||
"success": true |
"success": true |
||||||
} |
} |
@ -1,14 +1,3 @@ |
|||||||
# Analysis results for test-filename.sol |
# Analysis results for None |
||||||
|
|
||||||
## Integer Overflow |
The analysis was completed successfully. No issues were detected. |
||||||
- SWC ID: 101 |
|
||||||
- Severity: High |
|
||||||
- Contract: Unknown |
|
||||||
- Function name: `sendToken(address,uint256)` |
|
||||||
- PC address: 498 |
|
||||||
- Estimated Gas Usage: 11860 - 52806 |
|
||||||
|
|
||||||
### Description |
|
||||||
|
|
||||||
The binary addition can overflow. |
|
||||||
The operands of the addition operation are not sufficiently constrained. The addition could therefore result in an integer overflow. Prevent the overflow by checking inputs or ensure sure that the overflow is caught by an assertion. |
|
||||||
|
@ -1,11 +1 @@ |
|||||||
==== Integer Overflow ==== |
The analysis was completed successfully. No issues were detected. |
||||||
SWC ID: 101 |
|
||||||
Severity: High |
|
||||||
Contract: Unknown |
|
||||||
Function name: sendToken(address,uint256) |
|
||||||
PC address: 498 |
|
||||||
Estimated Gas Usage: 11860 - 52806 |
|
||||||
The binary addition can overflow. |
|
||||||
The operands of the addition operation are not sufficiently constrained. The addition could therefore result in an integer overflow. Prevent the overflow by checking inputs or ensure sure that the overflow is caught by an assertion. |
|
||||||
-------------------- |
|
||||||
|
|
||||||
|
Loading…
Reference in new issue