Skip to content

Commit 374960f

Browse files
committed
Windows: Fix bad use of strip
Close #867
1 parent 129b92e commit 374960f

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
@@ -359,7 +359,7 @@ def _modtable_from_pdb(cls, context: interfaces.context.ContextInterface, config
359359

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

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

364364
symbol_table_name = cls.load_windows_symbol_table(context,
365365
guid["GUID"],

0 commit comments

Comments
 (0)