Skip to content

Commit

Permalink
Fix paths with / in them for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia committed Oct 18, 2022
1 parent cf82a6f commit e4d785b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dumpulator/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def __init__(self, address: int, ordinal: int, name: str, forward: Tuple[str, st
class Module:
def __init__(self, pe: pefile.PE, path: str):
self.pe = pe
path = path.replace("/", "\\")
self.path = path
self.name = path.split("\\")[-1]
self._exports_by_address: Dict[int, int] = {}
Expand Down

0 comments on commit e4d785b

Please sign in to comment.