mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
Tests: Add Symlinkscan generic test
This should be enough to prevent serious regressions that break all output.
This commit is contained in:
@@ -746,6 +746,19 @@ class TestWindowsKPCRs:
|
||||
assert test_volatility.count_entries_flat(json.loads(out)) > 0
|
||||
|
||||
|
||||
class TestWindowsSymlinkScan:
|
||||
def test_windows_generic_symlinkscan(self, volatility, python, image):
|
||||
rc, out, _err = test_volatility.runvol_plugin(
|
||||
"windows.symlinkscan.SymlinkScan",
|
||||
image,
|
||||
volatility,
|
||||
python,
|
||||
globalargs=("-r", "json"),
|
||||
)
|
||||
assert rc == 0
|
||||
assert test_volatility.count_entries_flat(json.loads(out)) > 0
|
||||
|
||||
|
||||
class TestWindowsLdrModules:
|
||||
def test_windows_specific_ldrmodules(self, volatility, python):
|
||||
image = WindowsSamples.WINDOWSXP_GENERIC.value.path
|
||||
|
||||
Reference in New Issue
Block a user