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.
124 lines
5.8 KiB
124 lines
5.8 KiB
[
|
|
[
|
|
{
|
|
"elements": [
|
|
{
|
|
"type": "function",
|
|
"name": "constructor",
|
|
"source_mapping": {
|
|
"start": 41,
|
|
"length": 32,
|
|
"filename_relative": "tests/detectors/void-cst/0.5.16/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/0.5.16/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_relative": "tests/detectors/void-cst/0.5.16/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/0.5.16/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_relative": "tests/detectors/void-cst/0.5.16/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/0.5.16/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_relative": "tests/detectors/void-cst/0.5.16/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/0.5.16/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_relative": "tests/detectors/void-cst/0.5.16/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/0.5.16/void-cst.sol",
|
|
"is_dependency": false,
|
|
"lines": [
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
},
|
|
"signature": "constructor()"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"description": "Void constructor called in D.constructor() (tests/detectors/void-cst/0.5.16/void-cst.sol#10-12):\n\t- C() (tests/detectors/void-cst/0.5.16/void-cst.sol#10)\n",
|
|
"markdown": "Void constructor called in [D.constructor()](tests/detectors/void-cst/0.5.16/void-cst.sol#L10-L12):\n\t- [C()](tests/detectors/void-cst/0.5.16/void-cst.sol#L10)\n",
|
|
"first_markdown_element": "tests/detectors/void-cst/0.5.16/void-cst.sol#L10-L12",
|
|
"id": "205eb5189a286fb251c8bfdf19fdd45acfab353670b5af81be434e43fbf1259f",
|
|
"check": "void-cst",
|
|
"impact": "Low",
|
|
"confidence": "High"
|
|
}
|
|
]
|
|
] |