Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
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.
mythril/tests/testdata/outputs_expected/ether_send.sol.o.markdown

39 lines
835 B

# Analysis results for <TESTDATA>/inputs/ether_send.sol
## Ether send
- Type: Warning
- Contract: Unknown
- Function name: `withdrawfunds()`
- PC address: 816
### Description
In the function `withdrawfunds()` a non-zero amount of Ether is sent to msg.sender.
There is a check on storage index 1. This storage slot can be written to by calling the function `crowdfunding()`.
In *<TESTDATA>/inputs/ether_send.sol:18*
```
msg.sender.transfer(this.balance)
```
## Integer Overflow
- Type: Warning
- Contract: Unknown
- Function name: `invest()`
- PC address: 483
### Description
A possible integer overflow exists in the function `invest()`.
The addition or multiplication may result in a value higher than the maximum representable integer.
In *<TESTDATA>/inputs/ether_send.sol:24*
```
balances[msg.sender] += msg.value
```