mirror of https://github.com/ConsenSys/mythril
parent
c755a58dc4
commit
b3bf6fbcde
File diff suppressed because one or more lines are too long
@ -1,5 +1,19 @@ |
||||
{ |
||||
"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 |
||||
} |
@ -1,3 +1,14 @@ |
||||
# Analysis results for None |
||||
# Analysis results for test-filename.sol |
||||
|
||||
The analysis was completed successfully. No issues were detected. |
||||
## Integer Overflow |
||||
- 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 +1,11 @@ |
||||
The analysis was completed successfully. No issues were detected. |
||||
==== Integer Overflow ==== |
||||
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