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/shadowing_local_variable.sh...

16 lines
1.2 KiB


FurtherExtendedContract.shadowingParent(uint256).x (tests/shadowing_local_variable.sol#25) shadows:
- FurtherExtendedContract.x (tests/shadowing_local_variable.sol#17) (state variable)
- ExtendedContract.x (tests/shadowing_local_variable.sol#9) (state variable)
- BaseContract.x (tests/shadowing_local_variable.sol#4) (state variable)
FurtherExtendedContract.shadowingParent(uint256).y (tests/shadowing_local_variable.sol#25) shadows:
- BaseContract.y (tests/shadowing_local_variable.sol#5) (state variable)
FurtherExtendedContract.shadowingParent(uint256).z (tests/shadowing_local_variable.sol#25) shadows:
- ExtendedContract.z() (tests/shadowing_local_variable.sol#11) (function)
FurtherExtendedContract.shadowingParent(uint256).w (tests/shadowing_local_variable.sol#25) shadows:
- FurtherExtendedContract.w() (tests/shadowing_local_variable.sol#20-23) (modifier)
FurtherExtendedContract.shadowingParent(uint256).v (tests/shadowing_local_variable.sol#25) shadows:
- ExtendedContractv() (tests/shadowing_local_variable.sol#13) (event)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#local-variable-shadowing
tests/shadowing_local_variable.sol analyzed (3 contracts with 1 detectors), 5 result(s) found