Skip to content

Commit

Permalink
fix remapping detection regex
Browse files Browse the repository at this point in the history
  • Loading branch information
tuturu-tech committed Mar 29, 2024
1 parent 0c78e98 commit 36177c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fuzz_utils/utils/remappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
def find_remappings(include_attacks: bool) -> dict:
"""Finds the remappings used and returns a dict with the values"""
CryticPrint().print_information("Checking dependencies...")
openzeppelin = r"(\S+)=lib\/openzeppelin-contracts\/(?!\S*lib\/)(\S+)"
solmate = r"(\S+)=lib\/solmate\/(?!\S*lib\/)(\S+)"
properties = r"(\S+)=lib\/properties\/(?!\S*lib\/)(\S+)"
openzeppelin = r"(\S+)=lib\/openzeppelin-contracts\/(?!\S*lib\/)(\S*)"
solmate = r"(\S+)=lib\/solmate\/(?!\S*lib\/)(\S*)"
properties = r"(\S+)=lib\/properties\/(?!\S*lib\/)(\S*)"
remappings: str = ""

if os.path.exists("remappings.txt"):
Expand Down

0 comments on commit 36177c7

Please sign in to comment.