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.
336 lines
17 KiB
336 lines
17 KiB
4 years ago
|
[
|
||
|
[
|
||
|
{
|
||
|
"elements": [
|
||
|
{
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "DerivedContract_good",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 775,
|
||
|
"length": 243,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
35,
|
||
|
36,
|
||
|
37,
|
||
|
38,
|
||
|
39,
|
||
|
40,
|
||
|
41
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
3 years ago
|
"name": "get",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 495,
|
||
|
"length": 42,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
24
|
||
4 years ago
|
],
|
||
|
"starting_column": 5,
|
||
3 years ago
|
"ending_column": 47
|
||
4 years ago
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "BaseInterface3",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 465,
|
||
|
"length": 74,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
23,
|
||
|
24,
|
||
|
25
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
3 years ago
|
"signature": "get(uint256)"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
2 years ago
|
"description": "DerivedContract_good (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#35-41) does not implement functions:\n\t- BaseInterface3.get(uint256) (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#24)\n",
|
||
|
"markdown": "[DerivedContract_good](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L35-L41) does not implement functions:\n\t- [BaseInterface3.get(uint256)](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L24)\n",
|
||
|
"first_markdown_element": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L35-L41",
|
||
3 years ago
|
"id": "08d3e8a72b5da6d189acb46ecd36f00787a87812727526a0cae248a2bac348fc",
|
||
|
"check": "unimplemented-functions",
|
||
|
"impact": "Informational",
|
||
|
"confidence": "High"
|
||
|
},
|
||
|
{
|
||
|
"elements": [
|
||
|
{
|
||
|
"type": "contract",
|
||
|
"name": "DerivedContract_bad2",
|
||
|
"source_mapping": {
|
||
|
"start": 541,
|
||
|
"length": 232,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
3 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
3 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
|
27,
|
||
|
28,
|
||
|
29,
|
||
|
30,
|
||
|
31,
|
||
|
32,
|
||
|
33
|
||
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
4 years ago
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
3 years ago
|
"name": "get",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 495,
|
||
|
"length": 42,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
24
|
||
4 years ago
|
],
|
||
|
"starting_column": 5,
|
||
3 years ago
|
"ending_column": 47
|
||
4 years ago
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "BaseInterface3",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 465,
|
||
|
"length": 74,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
23,
|
||
|
24,
|
||
|
25
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
3 years ago
|
"signature": "get(uint256)"
|
||
4 years ago
|
}
|
||
|
}
|
||
|
],
|
||
2 years ago
|
"description": "DerivedContract_bad2 (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#27-33) does not implement functions:\n\t- BaseInterface3.get(uint256) (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#24)\n",
|
||
|
"markdown": "[DerivedContract_bad2](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L27-L33) does not implement functions:\n\t- [BaseInterface3.get(uint256)](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L24)\n",
|
||
|
"first_markdown_element": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L27-L33",
|
||
3 years ago
|
"id": "31915d2f480e24ddd054de973440a02abdac0ccd6332c47cd4eb8d836d3fddda",
|
||
4 years ago
|
"check": "unimplemented-functions",
|
||
|
"impact": "Informational",
|
||
|
"confidence": "High"
|
||
|
},
|
||
|
{
|
||
|
"elements": [
|
||
|
{
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "DerivedContract_bad0",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 185,
|
||
|
"length": 133,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
10,
|
||
|
11,
|
||
|
12,
|
||
|
13,
|
||
|
14
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
3 years ago
|
"name": "f2",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 72,
|
||
4 years ago
|
"length": 37,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
3
|
||
4 years ago
|
],
|
||
|
"starting_column": 5,
|
||
|
"ending_column": 42
|
||
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "BaseInterface",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 0,
|
||
|
"length": 111,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
1,
|
||
|
2,
|
||
|
3,
|
||
|
4
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
3 years ago
|
"signature": "f2()"
|
||
4 years ago
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
3 years ago
|
"name": "f3",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 144,
|
||
|
"length": 37,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
7
|
||
4 years ago
|
],
|
||
|
"starting_column": 5,
|
||
3 years ago
|
"ending_column": 42
|
||
4 years ago
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "BaseInterface2",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 113,
|
||
|
"length": 70,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
6,
|
||
|
7,
|
||
|
8
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
3 years ago
|
"signature": "f3()"
|
||
4 years ago
|
}
|
||
|
}
|
||
|
],
|
||
2 years ago
|
"description": "DerivedContract_bad0 (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#10-14) does not implement functions:\n\t- BaseInterface.f2() (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#3)\n\t- BaseInterface2.f3() (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#7)\n",
|
||
|
"markdown": "[DerivedContract_bad0](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L10-L14) does not implement functions:\n\t- [BaseInterface.f2()](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L3)\n\t- [BaseInterface2.f3()](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L7)\n",
|
||
|
"first_markdown_element": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L10-L14",
|
||
3 years ago
|
"id": "8614d351f7aac0c05e8df6ef7c89c6b46a2b8acf6295c9d5a886ff6489c74a41",
|
||
4 years ago
|
"check": "unimplemented-functions",
|
||
|
"impact": "Informational",
|
||
|
"confidence": "High"
|
||
|
},
|
||
|
{
|
||
|
"elements": [
|
||
|
{
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "AbstractContract_bad1",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 320,
|
||
|
"length": 143,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
16,
|
||
|
17,
|
||
|
18,
|
||
|
19,
|
||
|
20,
|
||
|
21
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
3 years ago
|
"name": "f1",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 357,
|
||
|
"length": 37,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
17
|
||
4 years ago
|
],
|
||
|
"starting_column": 5,
|
||
3 years ago
|
"ending_column": 42
|
||
4 years ago
|
},
|
||
|
"type_specific_fields": {
|
||
|
"parent": {
|
||
|
"type": "contract",
|
||
3 years ago
|
"name": "AbstractContract_bad1",
|
||
4 years ago
|
"source_mapping": {
|
||
3 years ago
|
"start": 320,
|
||
|
"length": 143,
|
||
2 years ago
|
"filename_relative": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"filename_absolute": "/GENERIC_PATH",
|
||
2 years ago
|
"filename_short": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol",
|
||
4 years ago
|
"is_dependency": false,
|
||
|
"lines": [
|
||
3 years ago
|
16,
|
||
|
17,
|
||
|
18,
|
||
|
19,
|
||
|
20,
|
||
|
21
|
||
4 years ago
|
],
|
||
|
"starting_column": 1,
|
||
|
"ending_column": 2
|
||
|
}
|
||
|
},
|
||
3 years ago
|
"signature": "f1()"
|
||
4 years ago
|
}
|
||
|
}
|
||
|
],
|
||
2 years ago
|
"description": "AbstractContract_bad1 (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#16-21) does not implement functions:\n\t- AbstractContract_bad1.f1() (tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#17)\n",
|
||
|
"markdown": "[AbstractContract_bad1](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L16-L21) does not implement functions:\n\t- [AbstractContract_bad1.f1()](tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L17)\n",
|
||
|
"first_markdown_element": "tests/e2e/detectors/test_data/unimplemented-functions/0.4.25/unimplemented.sol#L16-L21",
|
||
3 years ago
|
"id": "adc202df4717efc4e19b549c0e623a79fac759a36bffb5d5e4aac401e33375d7",
|
||
4 years ago
|
"check": "unimplemented-functions",
|
||
|
"impact": "Informational",
|
||
|
"confidence": "High"
|
||
|
}
|
||
|
]
|
||
|
]
|