Skip to content

Commit 364a6a7

Browse files
committed
Windows: Fix bad use of strip
Close #867
1 parent 27951ae commit 364a6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volatility3/framework/symbols/windows/pdbutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _modtable_from_pdb(cls, context: interfaces.context.ContextInterface, config
345345

346346
vollog.debug(f"Found {guid['pdb_name']}: {guid['GUID']}-{guid['age']}")
347347

348-
module_name = guid["pdb_name"].strip('.pdb')
348+
module_name = guid["pdb_name"].replace('.pdb', '')
349349

350350
symbol_table_name = cls.load_windows_symbol_table(context,
351351
guid["GUID"],

0 commit comments

Comments
 (0)