Skip to content

Commit

Permalink
Merge pull request #1806 from crytic/dev-fix-is-storage
Browse files Browse the repository at this point in the history
Fix is_storage for calldata variables
  • Loading branch information
montyly authored Mar 30, 2023
2 parents b19a55a + cea5d64 commit a4e953e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slither/core/variables/local_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def is_storage(self) -> bool:
"""
if self.location == "memory":
return False
if self.location == "calldata":
return False
# Use by slithIR SSA
if self.location == "reference_to_storage":
return False
Expand Down

0 comments on commit a4e953e

Please sign in to comment.