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.
128 lines
5.9 KiB
128 lines
5.9 KiB
[
|
|
[
|
|
{
|
|
"elements": [
|
|
{
|
|
"type": "function",
|
|
"name": "constructor",
|
|
"source_mapping": {
|
|
"start": 41,
|
|
"length": 32,
|
|
"filename_used": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/void-cst/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/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": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/void-cst/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/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": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/void-cst/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/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": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/void-cst/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/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": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/void-cst/void-cst.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/void-cst/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/void-cst.sol#10-12):\n\t- C() (tests/detectors/void-cst/void-cst.sol#10)\n",
|
|
"markdown": "Void constructor called in [D.constructor()](tests/detectors/void-cst/void-cst.sol#L10-L12):\n\t- [C()](tests/detectors/void-cst/void-cst.sol#L10)\n",
|
|
"id": "f3dacabc6aa95b22e6d535c4de48393d830fb3d4f0df012f649c851b4958209e",
|
|
"check": "void-cst",
|
|
"impact": "Low",
|
|
"confidence": "High"
|
|
}
|
|
]
|
|
] |