dissect.target.plugins.os.unix.linux.modules
¶
Module Contents¶
Classes¶
Linux volatile kernel |
Attributes¶
- dissect.target.plugins.os.unix.linux.modules.ModuleRecord¶
- class dissect.target.plugins.os.unix.linux.modules.Module¶
- path: str¶
- name: str¶
- size: int¶
- refcnt: int¶
- used_by: list[str]¶
- class dissect.target.plugins.os.unix.linux.modules.ModulePlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugin.Plugin
Linux volatile kernel
/sys/module
plugin.- check_compatible() bool ¶
Perform a compatibility check with the target.
This function should return
None
if the plugin is compatible with the current target (self.target
). For example, check if a certain file exists. Otherwise it should raise anUnsupportedPluginError
.- Raises:
UnsupportedPluginError – If the plugin could not be loaded.
- sysmodules() Iterator[ModuleRecord] ¶
Return information about active kernel modules.
- lsmod() Iterator[str] ¶
Return information about active kernel modules in lsmod format