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/metacoin.sol.markdown

399 B

Analysis Results

Integer Overflow

  • Type: Warning
  • Contract: metaCoin
  • Function name: sendToken(address,uint256)
  • PC address: 498

Description

A possible integer overflow exists in the function sendToken(address,uint256). The addition may result in a value higher than the maximum representable integer.

In /inputs/metacoin.sol:12

balances[receiver] += amount