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.
65 lines
2.9 KiB
65 lines
2.9 KiB
[
|
|
[
|
|
{
|
|
"elements": [
|
|
{
|
|
"type": "pragma",
|
|
"name": "^0.7.5",
|
|
"source_mapping": {
|
|
"start": 0,
|
|
"length": 23,
|
|
"filename_relative": "tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.5.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.5.sol",
|
|
"is_dependency": false,
|
|
"lines": [
|
|
1
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 24
|
|
},
|
|
"type_specific_fields": {
|
|
"directive": [
|
|
"solidity",
|
|
"^",
|
|
"0.7",
|
|
".5"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "pragma",
|
|
"name": "^0.7.6",
|
|
"source_mapping": {
|
|
"start": 0,
|
|
"length": 23,
|
|
"filename_relative": "tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.6.sol",
|
|
"filename_absolute": "/GENERIC_PATH",
|
|
"filename_short": "tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.6.sol",
|
|
"is_dependency": false,
|
|
"lines": [
|
|
1
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 24
|
|
},
|
|
"type_specific_fields": {
|
|
"directive": [
|
|
"solidity",
|
|
"^",
|
|
"0.7",
|
|
".6"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"description": "Different versions of Solidity are used:\n\t- Version used: ['^0.7.5', '^0.7.6']\n\t- ^0.7.5 (tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.5.sol#1)\n\t- ^0.7.6 (tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.6.sol#1)\n",
|
|
"markdown": "Different versions of Solidity are used:\n\t- Version used: ['^0.7.5', '^0.7.6']\n\t- [^0.7.5](tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.5.sol#L1)\n\t- [^0.7.6](tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.6.sol#L1)\n",
|
|
"first_markdown_element": "tests/e2e/detectors/test_data/pragma/0.7.6/pragma.0.7.5.sol#L1",
|
|
"id": "cc4121efef895d7909b1f1b353bf8e99df737389afbe71ace29e78d9a71f3100",
|
|
"check": "pragma",
|
|
"impact": "Informational",
|
|
"confidence": "High"
|
|
}
|
|
]
|
|
] |