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/uninitialized_local_variabl...

73 lines
2.3 KiB

[
{
"check": "uninitialized-local",
"impact": "Medium",
"confidence": "Medium",
"description": "uint_not_init in Uninitialized.func (tests/uninitialized_local_variable.sol#4) is a local variable never initialiazed\n",
"elements": [
{
"type": "variable",
"name": "uint_not_init",
"source_mapping": {
"start": 77,
"length": 18,
"filename_used": "/home/travis/build/crytic/slither/tests/uninitialized_local_variable.sol",
"filename_relative": "tests/uninitialized_local_variable.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/uninitialized_local_variable.sol",
"filename_short": "tests/uninitialized_local_variable.sol",
"lines": [
4
],
"starting_column": 9,
"ending_column": 27
}
},
{
"type": "function",
"name": "func",
"source_mapping": {
"start": 29,
"length": 143,
"filename_used": "/home/travis/build/crytic/slither/tests/uninitialized_local_variable.sol",
"filename_relative": "tests/uninitialized_local_variable.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/uninitialized_local_variable.sol",
"filename_short": "tests/uninitialized_local_variable.sol",
"lines": [
3,
4,
5,
6,
7
],
"starting_column": 5,
"ending_column": 6
},
"contract": {
"type": "contract",
"name": "Uninitialized",
"source_mapping": {
"start": 0,
"length": 179,
"filename_used": "/home/travis/build/crytic/slither/tests/uninitialized_local_variable.sol",
"filename_relative": "tests/uninitialized_local_variable.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/uninitialized_local_variable.sol",
"filename_short": "tests/uninitialized_local_variable.sol",
"lines": [
1,
2,
3,
4,
5,
6,
7,
8,
9
],
"starting_column": 1,
"ending_column": 2
}
}
}
]
}
]