Skip to content

Commit 701ad1a

Browse files
committed
Windows: Use device offsets instead of driver offsets
This updates the `devicetree` plugin to return the virtual offsets of the device objects themselves instead of that of their parent driver.
1 parent 043c64c commit 701ad1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volatility3/framework/plugins/windows/devicetree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _generator(self) -> Iterator[Tuple]:
138138
yield (
139139
1,
140140
(
141-
format_hints.Hex(driver.vol.offset),
141+
format_hints.Hex(device.vol.offset),
142142
"DEV",
143143
driver_name,
144144
device_name,
@@ -170,7 +170,7 @@ def _generator(self) -> Iterator[Tuple]:
170170
yield (
171171
level,
172172
(
173-
format_hints.Hex(driver.vol.offset),
173+
format_hints.Hex(attached_device.vol.offset),
174174
"ATT",
175175
driver_name,
176176
device_name,

0 commit comments

Comments
 (0)