mirror of https://github.com/crytic/slither
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.
130 lines
4.4 KiB
130 lines
4.4 KiB
5 years ago
|
{
|
||
|
"success": true,
|
||
|
"error": null,
|
||
|
"results": {
|
||
|
"detectors": [
|
||
|
{
|
||
|
"check": "void-cst",
|
||
|
"impact": "Low",
|
||
|
"confidence": "High",
|
||
|
"description": "Void constructor called in D.constructor() (tests/void-cst.sol#10-12):\n\t-C() tests/void-cst.sol#10\n",
|
||
|
"elements": [
|
||
|
{
|
||
|
"type": "function",
|
||
|
"name": "constructor",
|
||
|
"source_mapping": {
|
||
|
"start": 41,
|
||
|
"length": 32,
|
||
|
"filename_used": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_relative": "tests/void-cst.sol",
|
||
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_short": "tests/void-cst.sol",
|
||
|
"is_dependency": false,
|
||
|
"lines": [
|
||
|
10,
|
||
|
11,
|
||
|
12
|
||
|
],
|
||
|
"starting_column": 5,
|
||
|
"ending_column": 6
|
||
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
|
"name": "D",
|
||
|
"source_mapping": {
|
||
|
"start": 19,
|
||
|
"length": 57,
|
||
|
"filename_used": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_relative": "tests/void-cst.sol",
|
||
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_short": "tests/void-cst.sol",
|
||
|
"is_dependency": false,
|
||
|
"lines": [
|
||
|
8,
|
||
|
9,
|
||
|
10,
|
||
|
11,
|
||
|
12,
|
||
|
13,
|
||
|
14
|
||
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
|
"signature": "constructor()"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "node",
|
||
|
"name": "C()",
|
||
|
"source_mapping": {
|
||
|
"start": 62,
|
||
|
"length": 3,
|
||
|
"filename_used": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_relative": "tests/void-cst.sol",
|
||
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_short": "tests/void-cst.sol",
|
||
|
"is_dependency": false,
|
||
|
"lines": [
|
||
|
10
|
||
|
],
|
||
|
"starting_column": 26,
|
||
|
"ending_column": 29
|
||
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "function",
|
||
|
"name": "constructor",
|
||
|
"source_mapping": {
|
||
|
"start": 41,
|
||
|
"length": 32,
|
||
|
"filename_used": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_relative": "tests/void-cst.sol",
|
||
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_short": "tests/void-cst.sol",
|
||
|
"is_dependency": false,
|
||
|
"lines": [
|
||
|
10,
|
||
|
11,
|
||
|
12
|
||
|
],
|
||
|
"starting_column": 5,
|
||
|
"ending_column": 6
|
||
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
|
"name": "D",
|
||
|
"source_mapping": {
|
||
|
"start": 19,
|
||
|
"length": 57,
|
||
|
"filename_used": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_relative": "tests/void-cst.sol",
|
||
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/void-cst.sol",
|
||
|
"filename_short": "tests/void-cst.sol",
|
||
|
"is_dependency": false,
|
||
|
"lines": [
|
||
|
8,
|
||
|
9,
|
||
|
10,
|
||
|
11,
|
||
|
12,
|
||
|
13,
|
||
|
14
|
||
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
|
"signature": "constructor()"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|