Static Analyzer for Solidity
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.
slither/tests/expected_json/solc_version_incorrect.solc...

44 lines
1.5 KiB

[
{
"check": "solc-version",
"impact": "Informational",
"confidence": "High",
"description": "Detected issues with version pragma in :\n\t- pragma solidity^0.4.23 (tests/solc_version_incorrect.sol#2): it allows old versions\n\t- pragma solidity>=0.4.0<0.6.0 (tests/solc_version_incorrect.sol#3): it allows old versions\n",
"elements": [
{
"type": "expression",
"expression": "^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
}
},
{
"type": "expression",
"expression": ">=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
}
}
]
}
]