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.
52 lines
2.1 KiB
52 lines
2.1 KiB
==== Exception state ====
|
|
Type: Informational
|
|
Contract: Exceptions
|
|
Function name: _function_0x546455b5
|
|
PC address: 446
|
|
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking.
|
|
--------------------
|
|
In file: <TESTDATA>/inputs/exceptions.sol:16
|
|
|
|
assert(input != 23)
|
|
|
|
--------------------
|
|
|
|
==== Exception state ====
|
|
Type: Informational
|
|
Contract: Exceptions
|
|
Function name: _function_0x92dd38ea
|
|
PC address: 484
|
|
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking.
|
|
--------------------
|
|
In file: <TESTDATA>/inputs/exceptions.sol:34
|
|
|
|
myarray[index]
|
|
|
|
--------------------
|
|
|
|
==== Exception state ====
|
|
Type: Informational
|
|
Contract: Exceptions
|
|
Function name: _function_0xa08299f1
|
|
PC address: 506
|
|
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking.
|
|
--------------------
|
|
In file: <TESTDATA>/inputs/exceptions.sol:24
|
|
|
|
1/input
|
|
|
|
--------------------
|
|
|
|
==== Exception state ====
|
|
Type: Informational
|
|
Contract: Exceptions
|
|
Function name: _function_0xb34c3610
|
|
PC address: 531
|
|
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking.
|
|
--------------------
|
|
In file: <TESTDATA>/inputs/exceptions.sol:7
|
|
|
|
assert(i == 0)
|
|
|
|
--------------------
|
|
|
|
|