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.
63 lines
2.9 KiB
63 lines
2.9 KiB
[
|
|
[
|
|
{
|
|
"elements": [
|
|
{
|
|
"type": "function",
|
|
"name": "test",
|
|
"source_mapping": {
|
|
"start": 21,
|
|
"length": 53,
|
|
"filename_used": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/external-function/0.5.16/external_function_3.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/external-function/0.5.16/external_function_3.sol",
|
|
"is_dependency": false,
|
|
"lines": [
|
|
3,
|
|
4,
|
|
5
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 6
|
|
},
|
|
"type_specific_fields": {
|
|
"parent": {
|
|
"type": "contract",
|
|
"name": "Test",
|
|
"source_mapping": {
|
|
"start": 0,
|
|
"length": 77,
|
|
"filename_used": "/GENERIC_PATH",
|
|
"filename_relative": "tests/detectors/external-function/0.5.16/external_function_3.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/detectors/external-function/0.5.16/external_function_3.sol",
|
|
"is_dependency": false,
|
|
"lines": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 0
|
|
}
|
|
},
|
|
"signature": "test(bytes)"
|
|
}
|
|
}
|
|
],
|
|
"description": "test(bytes) should be declared external:\n\t- Test.test(bytes) (tests/detectors/external-function/0.5.16/external_function_3.sol#3-5)\n",
|
|
"markdown": "test(bytes) should be declared external:\n\t- [Test.test(bytes)](tests/detectors/external-function/0.5.16/external_function_3.sol#L3-L5)\n",
|
|
"first_markdown_element": "tests/detectors/external-function/0.5.16/external_function_3.sol#L3-L5",
|
|
"id": "058fd57c313c645eff4b4e53234ca0f73ca3362bd28d3fdc90e0219a32099592",
|
|
"check": "external-function",
|
|
"impact": "Optimization",
|
|
"confidence": "High"
|
|
}
|
|
]
|
|
] |