mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
23 lines
679 B
Python
23 lines
679 B
Python
from enum import Enum
|
|
from pathlib import Path
|
|
|
|
TESTS_ROOT_DIR = Path(__file__).parent
|
|
WINDOWS_TESTS_DATA_DIR = TESTS_ROOT_DIR / "plugins" / "windows" / "test_data"
|
|
|
|
|
|
class Sample:
|
|
def __init__(self, path: str):
|
|
self.path = path
|
|
|
|
|
|
class WindowsSamples(Enum):
|
|
WINDOWSXP_GENERIC = Sample("./test_images/win-xp-laptop-2005-06-25.img")
|
|
"""WindowsXP sample from early Volatility training."""
|
|
WINDOWS10_GENERIC = Sample("./test_images/win-10_19041-2025_03.dmp")
|
|
"""Windows10 CrashDump sample."""
|
|
|
|
|
|
class LinuxSamples(Enum):
|
|
LINUX_GENERIC = Sample("./test_images/linux-sample-1.bin")
|
|
"""Linux Debian 3.2.0-4 sample from early Volatility training."""
|