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.
30 lines
919 B
30 lines
919 B
7 years ago
|
# Analysis Results
|
||
|
## Message call to external contract
|
||
|
- Type: Warning
|
||
|
- Contract: D
|
||
|
- Function name: `_function_0xeea4c864`
|
||
|
- PC address: 1038
|
||
|
|
||
|
### Description
|
||
|
This contract executes a message call to an address provided as a function argument. Generally, it is not recommended to call user-supplied adresses using Solidity's call() construct. Note that attackers might leverage reentrancy attacks to exploit race conditions or manipulate this contract's state.
|
||
|
|
||
7 years ago
|
In *<TESTDATA>/inputs/kinds_of_calls.sol:6*
|
||
7 years ago
|
|
||
|
```
|
||
|
_e.call(bytes4(sha3("setN(uint256)")), _n)
|
||
|
```
|
||
|
## Unchecked CALL return value
|
||
|
- Type: Informational
|
||
|
- Contract: D
|
||
|
- Function name: `_function_0xeea4c864`
|
||
|
- PC address: 1038
|
||
|
|
||
|
### Description
|
||
|
The return value of an external call is not checked. Note that execution continue even if the called contract throws.
|
||
|
|
||
7 years ago
|
In *<TESTDATA>/inputs/kinds_of_calls.sol:6*
|
||
7 years ago
|
|
||
|
```
|
||
|
_e.call(bytes4(sha3("setN(uint256)")), _n)
|
||
|
```
|