Skip to content

Commit d70d882

Browse files
committed
use winxp against scanner plugins (performances)
1 parent 6a28d14 commit d70d882

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

test/plugins/windows/windows.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ def test_windows_specific_pslist(self, volatility, python):
6060

6161

6262
class TestWindowsPsscan:
63-
def test_windows_generic_psscan(self, volatility, python, image):
63+
def test_windows_specific_psscan(self, volatility, python):
64+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
6465
rc, out, _err = test_volatility.runvol_plugin(
6566
"windows.psscan.PsScan", image, volatility, python
6667
)
@@ -243,7 +244,8 @@ def test_windows_generic_svcscan(self, volatility, python, image):
243244

244245

245246
class TestWindowsThrdscan:
246-
def test_windows_generic_thrdscan(self, volatility, python, image):
247+
def test_windows_specific_thrdscan(self, volatility, python):
248+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
247249
rc, out, _err = test_volatility.runvol_plugin(
248250
"windows.thrdscan.ThrdScan", image, volatility, python
249251
)
@@ -327,7 +329,8 @@ def test_windows_generic_envars(self, volatility, python, image):
327329

328330

329331
class TestWindowsCallbacks:
330-
def test_windows_generic_callbacks(self, volatility, python, image):
332+
def test_windows_specific_callbacks(self, volatility, python):
333+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
331334
rc, out, _err = test_volatility.runvol_plugin(
332335
"windows.callbacks.Callbacks", image, volatility, python
333336
)
@@ -359,7 +362,8 @@ def test_windows_specific_vadwalk(self, volatility, python):
359362

360363

361364
class TestWindowsDevicetree:
362-
def test_windows_generic_devicetree(self, volatility, python, image):
365+
def test_windows_specific_devicetree(self, volatility, python):
366+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
363367
rc, out, _err = test_volatility.runvol_plugin(
364368
"windows.devicetree.DeviceTree", image, volatility, python
365369
)
@@ -577,7 +581,8 @@ def test_windows_specific_crashinfo(self, volatility, python):
577581

578582

579583
class TestWindowsDriverIrp:
580-
def test_windows_generic_driverirp(self, volatility, python, image):
584+
def test_windows_specific_driverirp(self, volatility, python):
585+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
581586
rc, out, _err = test_volatility.runvol_plugin(
582587
"windows.driverirp.DriverIrp",
583588
image,
@@ -594,7 +599,8 @@ def test_windows_generic_driverirp(self, volatility, python, image):
594599

595600

596601
class TestWindowsDriverScan:
597-
def test_windows_generic_driverscan(self, volatility, python, image):
602+
def test_windows_specific_driverscan(self, volatility, python):
603+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
598604
rc, out, _err = test_volatility.runvol_plugin(
599605
"windows.driverscan.DriverScan",
600606
image,
@@ -740,7 +746,8 @@ def test_windows_generic_kpcrs(self, volatility, python, image):
740746

741747

742748
class TestWindowsLdrModules:
743-
def test_windows_generic_ldrmodules(self, volatility, python, image):
749+
def test_windows_specific_ldrmodules(self, volatility, python):
750+
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
744751
rc, out, _err = test_volatility.runvol_plugin(
745752
"windows.ldrmodules.LdrModules",
746753
image,

0 commit comments

Comments
 (0)