{ "success": true, "error": null, "results": { "detectors": [ { "elements": [ { "type": "variable", "name": "x", "source_mapping": { "start": 376, "length": 6, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 30, "ending_column": 36 }, "type_specific_fields": { "parent": { "type": "function", "name": "shadowingParent", "source_mapping": { "start": 351, "length": 79, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 5, "ending_column": 84 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } }, "signature": "shadowingParent(uint256)" } } } }, { "type": "variable", "name": "x", "source_mapping": { "start": 256, "length": 10, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 17 ], "starting_column": 5, "ending_column": 15 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } } } }, { "type": "variable", "name": "x", "source_mapping": { "start": 133, "length": 10, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 9 ], "starting_column": 5, "ending_column": 15 }, "type_specific_fields": { "parent": { "type": "contract", "name": "ExtendedContract", "source_mapping": { "start": 85, "length": 110, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 8, 9, 10, 11, 12, 13, 14 ], "starting_column": 1, "ending_column": 2 } } } }, { "type": "variable", "name": "x", "source_mapping": { "start": 54, "length": 10, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 4 ], "starting_column": 5, "ending_column": 15 }, "type_specific_fields": { "parent": { "type": "contract", "name": "BaseContract", "source_mapping": { "start": 26, "length": 57, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 3, 4, 5, 6 ], "starting_column": 1, "ending_column": 2 } } } } ], "description": "FurtherExtendedContract.shadowingParent(uint256).x (tests/shadowing_local_variable.sol#25) shadows:\n\t- FurtherExtendedContract.x (tests/shadowing_local_variable.sol#17) (state variable)\n\t- ExtendedContract.x (tests/shadowing_local_variable.sol#9) (state variable)\n\t- BaseContract.x (tests/shadowing_local_variable.sol#4) (state variable)\n", "markdown": "[FurtherExtendedContract.shadowingParent(uint256).x](tests/shadowing_local_variable.sol#L25) shadows:\n\t- [FurtherExtendedContract.x](tests/shadowing_local_variable.sol#L17) (state variable)\n\t- [ExtendedContract.x](tests/shadowing_local_variable.sol#L9) (state variable)\n\t- [BaseContract.x](tests/shadowing_local_variable.sol#L4) (state variable)\n", "check": "shadowing-local", "impact": "Low", "confidence": "High" }, { "elements": [ { "type": "variable", "name": "y", "source_mapping": { "start": 398, "length": 5, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 52, "ending_column": 57 }, "type_specific_fields": { "parent": { "type": "function", "name": "shadowingParent", "source_mapping": { "start": 351, "length": 79, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 5, "ending_column": 84 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } }, "signature": "shadowingParent(uint256)" } } } }, { "type": "variable", "name": "y", "source_mapping": { "start": 70, "length": 10, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 5 ], "starting_column": 5, "ending_column": 15 }, "type_specific_fields": { "parent": { "type": "contract", "name": "BaseContract", "source_mapping": { "start": 26, "length": 57, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 3, 4, 5, 6 ], "starting_column": 1, "ending_column": 2 } } } } ], "description": "FurtherExtendedContract.shadowingParent(uint256).y (tests/shadowing_local_variable.sol#25) shadows:\n\t- BaseContract.y (tests/shadowing_local_variable.sol#5) (state variable)\n", "markdown": "[FurtherExtendedContract.shadowingParent(uint256).y](tests/shadowing_local_variable.sol#L25) shadows:\n\t- [BaseContract.y](tests/shadowing_local_variable.sol#L5) (state variable)\n", "check": "shadowing-local", "impact": "Low", "confidence": "High" }, { "elements": [ { "type": "variable", "name": "z", "source_mapping": { "start": 405, "length": 6, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 59, "ending_column": 65 }, "type_specific_fields": { "parent": { "type": "function", "name": "shadowingParent", "source_mapping": { "start": 351, "length": 79, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 5, "ending_column": 84 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } }, "signature": "shadowingParent(uint256)" } } } }, { "type": "function", "name": "z", "source_mapping": { "start": 150, "length": 27, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 11 ], "starting_column": 5, "ending_column": 32 }, "type_specific_fields": { "parent": { "type": "contract", "name": "ExtendedContract", "source_mapping": { "start": 85, "length": 110, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 8, 9, 10, 11, 12, 13, 14 ], "starting_column": 1, "ending_column": 2 } }, "signature": "z()" } } ], "description": "FurtherExtendedContract.shadowingParent(uint256).z (tests/shadowing_local_variable.sol#25) shadows:\n\t- ExtendedContract.z() (tests/shadowing_local_variable.sol#11) (function)\n", "markdown": "[FurtherExtendedContract.shadowingParent(uint256).z](tests/shadowing_local_variable.sol#L25) shadows:\n\t- [ExtendedContract.z()](tests/shadowing_local_variable.sol#L11) (function)\n", "check": "shadowing-local", "impact": "Low", "confidence": "High" }, { "elements": [ { "type": "variable", "name": "w", "source_mapping": { "start": 413, "length": 6, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 67, "ending_column": 73 }, "type_specific_fields": { "parent": { "type": "function", "name": "shadowingParent", "source_mapping": { "start": 351, "length": 79, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 5, "ending_column": 84 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } }, "signature": "shadowingParent(uint256)" } } } }, { "type": "function", "name": "w", "source_mapping": { "start": 274, "length": 71, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 20, 21, 22, 23 ], "starting_column": 5, "ending_column": 6 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } }, "signature": "w()" } } ], "description": "FurtherExtendedContract.shadowingParent(uint256).w (tests/shadowing_local_variable.sol#25) shadows:\n\t- FurtherExtendedContract.w() (tests/shadowing_local_variable.sol#20-23) (modifier)\n", "markdown": "[FurtherExtendedContract.shadowingParent(uint256).w](tests/shadowing_local_variable.sol#L25) shadows:\n\t- [FurtherExtendedContract.w()](tests/shadowing_local_variable.sol#L20-L23) (modifier)\n", "check": "shadowing-local", "impact": "Low", "confidence": "High" }, { "elements": [ { "type": "variable", "name": "v", "source_mapping": { "start": 421, "length": 6, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 75, "ending_column": 81 }, "type_specific_fields": { "parent": { "type": "function", "name": "shadowingParent", "source_mapping": { "start": 351, "length": 79, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 25 ], "starting_column": 5, "ending_column": 84 }, "type_specific_fields": { "parent": { "type": "contract", "name": "FurtherExtendedContract", "source_mapping": { "start": 197, "length": 235, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ], "starting_column": 1, "ending_column": 2 } }, "signature": "shadowingParent(uint256)" } } } }, { "type": "event", "name": "v", "source_mapping": { "start": 183, "length": 10, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 13 ], "starting_column": 5, "ending_column": 15 }, "type_specific_fields": { "parent": { "type": "contract", "name": "ExtendedContract", "source_mapping": { "start": 85, "length": 110, "filename_used": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_relative": "tests/shadowing_local_variable.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/shadowing_local_variable.sol", "filename_short": "tests/shadowing_local_variable.sol", "is_dependency": false, "lines": [ 8, 9, 10, 11, 12, 13, 14 ], "starting_column": 1, "ending_column": 2 } }, "signature": "v()" } } ], "description": "FurtherExtendedContract.shadowingParent(uint256).v (tests/shadowing_local_variable.sol#25) shadows:\n\t- ExtendedContractv() (tests/shadowing_local_variable.sol#13) (event)\n", "markdown": "[FurtherExtendedContract.shadowingParent(uint256).v](tests/shadowing_local_variable.sol#L25) shadows:\n\t- [ExtendedContractv()](tests/shadowing_local_variable.sol#L13) (event)\n", "check": "shadowing-local", "impact": "Low", "confidence": "High" } ] } }