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.
724 lines
25 KiB
724 lines
25 KiB
{
|
|
"success": true,
|
|
"error": null,
|
|
"results": [
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "BaseContract.blockhash (state variable @ tests/shadowing_builtin_symbols.sol#4) shadows built-in symbol \"blockhash\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "blockhash",
|
|
"source_mapping": {
|
|
"start": 54,
|
|
"length": 14,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
4
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 19
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "BaseContract",
|
|
"source_mapping": {
|
|
"start": 26,
|
|
"length": 94,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "BaseContract.now (state variable @ tests/shadowing_builtin_symbols.sol#5) shadows built-in symbol \"now\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "now",
|
|
"source_mapping": {
|
|
"start": 74,
|
|
"length": 8,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
5
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 13
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "BaseContract",
|
|
"source_mapping": {
|
|
"start": 26,
|
|
"length": 94,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "BaseContract.revert (event @ tests/shadowing_builtin_symbols.sol#7) shadows built-in symbol \"revert\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "event",
|
|
"name": "revert",
|
|
"source_mapping": {
|
|
"start": 89,
|
|
"length": 29,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
7
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 34
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "BaseContract",
|
|
"source_mapping": {
|
|
"start": 26,
|
|
"length": 94,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "ExtendedContract.assert (function @ tests/shadowing_builtin_symbols.sol#13-15) shadows built-in symbol \"assert\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "function",
|
|
"name": "assert",
|
|
"source_mapping": {
|
|
"start": 195,
|
|
"length": 64,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
13,
|
|
14,
|
|
15
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 6
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "ExtendedContract",
|
|
"source_mapping": {
|
|
"start": 122,
|
|
"length": 139,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14,
|
|
15,
|
|
16
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "ExtendedContract.assert.msg (local variable @ tests/shadowing_builtin_symbols.sol#14) shadows built-in symbol \"msg\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "msg",
|
|
"source_mapping": {
|
|
"start": 244,
|
|
"length": 8,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
14
|
|
],
|
|
"starting_column": 9,
|
|
"ending_column": 17
|
|
},
|
|
"function": {
|
|
"type": "function",
|
|
"name": "assert",
|
|
"source_mapping": {
|
|
"start": 195,
|
|
"length": 64,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
13,
|
|
14,
|
|
15
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 6
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "ExtendedContract",
|
|
"source_mapping": {
|
|
"start": 122,
|
|
"length": 139,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14,
|
|
15,
|
|
16
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "ExtendedContract.ecrecover (state variable @ tests/shadowing_builtin_symbols.sol#11) shadows built-in symbol \"ecrecover\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "ecrecover",
|
|
"source_mapping": {
|
|
"start": 170,
|
|
"length": 18,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
11
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 23
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "ExtendedContract",
|
|
"source_mapping": {
|
|
"start": 122,
|
|
"length": 139,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14,
|
|
15,
|
|
16
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "FurtherExtendedContract.require (modifier @ tests/shadowing_builtin_symbols.sol#23-28) shadows built-in symbol \"require\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "function",
|
|
"name": "require",
|
|
"source_mapping": {
|
|
"start": 380,
|
|
"length": 120,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 6
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "FurtherExtendedContract",
|
|
"source_mapping": {
|
|
"start": 263,
|
|
"length": 239,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28,
|
|
29
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "FurtherExtendedContract.require.keccak256 (local variable @ tests/shadowing_builtin_symbols.sol#25) shadows built-in symbol \"keccak256\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "keccak256",
|
|
"source_mapping": {
|
|
"start": 449,
|
|
"length": 14,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
25
|
|
],
|
|
"starting_column": 9,
|
|
"ending_column": 23
|
|
},
|
|
"function": {
|
|
"type": "function",
|
|
"name": "require",
|
|
"source_mapping": {
|
|
"start": 380,
|
|
"length": 120,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 6
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "FurtherExtendedContract",
|
|
"source_mapping": {
|
|
"start": 263,
|
|
"length": 239,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28,
|
|
29
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "FurtherExtendedContract.require.sha3 (local variable @ tests/shadowing_builtin_symbols.sol#26) shadows built-in symbol \"sha3\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "sha3",
|
|
"source_mapping": {
|
|
"start": 473,
|
|
"length": 9,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
26
|
|
],
|
|
"starting_column": 9,
|
|
"ending_column": 18
|
|
},
|
|
"function": {
|
|
"type": "function",
|
|
"name": "require",
|
|
"source_mapping": {
|
|
"start": 380,
|
|
"length": 120,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 6
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "FurtherExtendedContract",
|
|
"source_mapping": {
|
|
"start": 263,
|
|
"length": 239,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28,
|
|
29
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "FurtherExtendedContract.blockhash (state variable @ tests/shadowing_builtin_symbols.sol#19) shadows built-in symbol \"blockhash\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "blockhash",
|
|
"source_mapping": {
|
|
"start": 322,
|
|
"length": 18,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
19
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 23
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "FurtherExtendedContract",
|
|
"source_mapping": {
|
|
"start": 263,
|
|
"length": 239,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28,
|
|
29
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "FurtherExtendedContract.this (state variable @ tests/shadowing_builtin_symbols.sol#20) shadows built-in symbol \"this\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "this",
|
|
"source_mapping": {
|
|
"start": 346,
|
|
"length": 13,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
20
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 18
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "FurtherExtendedContract",
|
|
"source_mapping": {
|
|
"start": 263,
|
|
"length": 239,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28,
|
|
29
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "FurtherExtendedContract.abi (state variable @ tests/shadowing_builtin_symbols.sol#21) shadows built-in symbol \"abi\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "abi",
|
|
"source_mapping": {
|
|
"start": 365,
|
|
"length": 8,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
21
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 13
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "FurtherExtendedContract",
|
|
"source_mapping": {
|
|
"start": 263,
|
|
"length": 239,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23,
|
|
24,
|
|
25,
|
|
26,
|
|
27,
|
|
28,
|
|
29
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"check": "shadowing-builtin",
|
|
"impact": "Low",
|
|
"confidence": "High",
|
|
"description": "Reserved.mutable (state variable @ tests/shadowing_builtin_symbols.sol#32) shadows built-in symbol \"mutable\"\n",
|
|
"elements": [
|
|
{
|
|
"type": "variable",
|
|
"name": "mutable",
|
|
"source_mapping": {
|
|
"start": 527,
|
|
"length": 15,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
32
|
|
],
|
|
"starting_column": 5,
|
|
"ending_column": 20
|
|
},
|
|
"contract": {
|
|
"type": "contract",
|
|
"name": "Reserved",
|
|
"source_mapping": {
|
|
"start": 504,
|
|
"length": 42,
|
|
"filename_used": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_relative": "tests/shadowing_builtin_symbols.sol",
|
|
"filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_builtin_symbols.sol",
|
|
"filename_short": "tests/shadowing_builtin_symbols.sol",
|
|
"lines": [
|
|
31,
|
|
32,
|
|
33,
|
|
34
|
|
],
|
|
"starting_column": 1,
|
|
"ending_column": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |