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/exceptions.sol.o.json

58 lines
2.8 KiB

{
"success": true,
"error": null,
"issues": [
{
"title": "Exception State",
"severity": "Low",
"max_gas_used": 301,
"function": "assert3(uint256)",
"address": 446,
"min_gas_used": 206,
"contract": "Unknown",
"swc-id": "110",
"SourceMap": null,
"debug": "<DEBUG-DATA>",
"description": "A reachable exception has been detected.\nIt is possible to trigger an exception (opcode 0xfe). Exceptions can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. Note that explicit `assert()` should only be used to check invariants. Use `require()` for regular input checking."
},
{
"swc-id": "110",
"min_gas_used": 256,
"contract": "Unknown",
"description": "A reachable exception has been detected.\nIt is possible to trigger an exception (opcode 0xfe). Exceptions can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. Note that explicit `assert()` should only be used to check invariants. Use `require()` for regular input checking.",
"debug": "<DEBUG-DATA>",
"SourceMap": null,
"severity": "Low",
"max_gas_used": 351,
"title": "Exception State",
"address": 484,
"function": "arrayaccess(uint256)"
},
{
"max_gas_used": 367,
"severity": "Low",
"title": "Exception State",
"address": 506,
"function": "divisionby0(uint256)",
"swc-id": "110",
"min_gas_used": 272,
"contract": "Unknown",
"description": "A reachable exception has been detected.\nIt is possible to trigger an exception (opcode 0xfe). Exceptions can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. Note that explicit `assert()` should only be used to check invariants. Use `require()` for regular input checking.",
"debug": "<DEBUG-DATA>",
"SourceMap": null
},
{
"title": "Exception State",
"max_gas_used": 363,
"severity": "Low",
"function": "assert1()",
"address": 531,
"min_gas_used": 268,
"contract": "Unknown",
"swc-id": "110",
"SourceMap": null,
"debug": "<DEBUG-DATA>",
"description": "A reachable exception has been detected.\nIt is possible to trigger an exception (opcode 0xfe). Exceptions can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. Note that explicit `assert()` should only be used to check invariants. Use `require()` for regular input checking."
}
]
}