Skip to content

Commit 374542d

Browse files
paulkermannikelos
authored andcommitted
Added data_offset to pattern matching result, fixes pdb scanning bug
1 parent 70375f2 commit 374542d

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
@@ -357,4 +357,4 @@ def __call__(self, data: bytes, data_offset: int) -> Generator[Tuple[str, Any, b
357357

358358
guid = (16 * '{:02X}').format(g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, ga, gb, gc, gd, ge, gf)
359359
if match.start(0) < self.chunk_size:
360-
yield (guid, a, pdb_name, match.start(0))
360+
yield (guid, a, pdb_name, data_offset + match.start(0))

0 commit comments

Comments
 (0)