diff --git a/varc_core/systems/linux.py b/varc_core/systems/linux.py index 3848e2f..1192ba6 100644 --- a/varc_core/systems/linux.py +++ b/varc_core/systems/linux.py @@ -36,6 +36,16 @@ class IOVec(ctypes.Structure): class LinuxSystem(BaseSystem): + def __init__( + self, + include_memory: bool, + include_open: bool, + extract_dumps: bool, + yara_file: Optional[str], + **kwargs: Any + ) -> None: + super().__init__(include_memory=include_memory, include_open=include_open, extract_dumps=extract_dumps, yara_file=yara_file, **kwargs) + def parse_mem_map(self, pid: int, p_name: str) -> List[Tuple[int, int]]: """Returns a list of (start address, end address) tuples of the regions of process memory that are mapped diff --git a/varc_core/systems/windows.py b/varc_core/systems/windows.py index 43e35ff..719dd99 100644 --- a/varc_core/systems/windows.py +++ b/varc_core/systems/windows.py @@ -18,6 +18,16 @@ class WindowsSystem(BaseSystem): + def __init__( + self, + include_memory: bool, + include_open: bool, + extract_dumps: bool, + yara_file: Optional[str], + **kwargs: Any + ) -> None: + super().__init__(include_memory=include_memory, include_open=include_open, extract_dumps=extract_dumps, yara_file=yara_file, **kwargs) + def read_process(self, handle: int, address: int) -> Tuple[Optional[bytes], int]: """ Read a process. Based on pymems pattern module