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.
71 lines
2.0 KiB
71 lines
2.0 KiB
{
|
|
"success": true,
|
|
"error": null,
|
|
"results": [
|
|
{
|
|
"check": "solc-version",
|
|
"impact": "Informational",
|
|
"confidence": "High",
|
|
"description": "Pragma version \"^0.4.23\" allows old versions (tests/solc_version_incorrect.sol#2)\n",
|
|
"elements": [
|
|
{
|
|
"type": "pragma",
|
|
"name": "^0.4.23",
|
|
"source_mapping": {
|
|
"start": 63,
|
|
"length": 24,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/solc_version_incorrect.sol",
|
|
"filename_relative": "tests/solc_version_incorrect.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/solc_version_incorrect.sol",
|
|
"filename_short": "tests/solc_version_incorrect.sol",
|
|
"lines": [
|
|
2
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 25
|
|
},
|
|
"directive": [
|
|
"solidity",
|
|
"^",
|
|
"0.4",
|
|
".23"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "solc-version",
|
|
"impact": "Informational",
|
|
"confidence": "High",
|
|
"description": "Pragma version \">=0.4.0<0.6.0\" allows old versions (tests/solc_version_incorrect.sol#3)\n",
|
|
"elements": [
|
|
{
|
|
"type": "pragma",
|
|
"name": ">=0.4.0<0.6.0",
|
|
"source_mapping": {
|
|
"start": 89,
|
|
"length": 31,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/solc_version_incorrect.sol",
|
|
"filename_relative": "tests/solc_version_incorrect.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/solc_version_incorrect.sol",
|
|
"filename_short": "tests/solc_version_incorrect.sol",
|
|
"lines": [
|
|
3
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 32
|
|
},
|
|
"directive": [
|
|
"solidity",
|
|
">=",
|
|
"0.4",
|
|
".0",
|
|
"<",
|
|
"0.6",
|
|
".0"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |