mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-28 04:24:53 +02:00
With the plugin module __path__ variable updated at runtime, and plugin imports based on this updated path within their own module definitions, static type checkers and language servers cannot resolve these imports to provide support for autocompletion, type-checking, etc. This commit: - Adds the required stub files to make development easier when working on plugins - Removes the stubs directory from the .gitignore file - Adds a [tool.pyright] section to tell pyright where to look for stubs Development: Additional stub updates
86 lines
1.3 KiB
Python
86 lines
1.3 KiB
Python
from volatility3.framework.plugins.linux import (
|
|
bash,
|
|
boottime,
|
|
capabilities,
|
|
check_afinfo,
|
|
check_creds,
|
|
check_idt,
|
|
check_modules,
|
|
check_syscall,
|
|
ebpf,
|
|
elfs,
|
|
envars,
|
|
hidden_modules,
|
|
iomem,
|
|
ip,
|
|
kallsyms,
|
|
keyboard_notifiers,
|
|
kmsg,
|
|
kthreads,
|
|
library_list,
|
|
lsmod,
|
|
lsof,
|
|
malfind,
|
|
modxview,
|
|
mountinfo,
|
|
netfilter,
|
|
pagecache,
|
|
pidhashtable,
|
|
proc,
|
|
psaux,
|
|
pscallstack,
|
|
pslist,
|
|
psscan,
|
|
pstree,
|
|
ptrace,
|
|
sockstat,
|
|
tracing,
|
|
tty_check,
|
|
vmaregexscan,
|
|
vmayarascan,
|
|
vmcoreinfo,
|
|
)
|
|
|
|
__all__ = [
|
|
"bash",
|
|
"boottime",
|
|
"capabilities",
|
|
"check_afinfo",
|
|
"check_creds",
|
|
"check_idt",
|
|
"check_modules",
|
|
"check_syscall",
|
|
"ebpf",
|
|
"elfs",
|
|
"envars",
|
|
"hidden_modules",
|
|
"iomem",
|
|
"ip",
|
|
"kallsyms",
|
|
"keyboard_notifiers",
|
|
"kmsg",
|
|
"kthreads",
|
|
"library_list",
|
|
"lsmod",
|
|
"lsof",
|
|
"malfind",
|
|
"modxview",
|
|
"mountinfo",
|
|
"netfilter",
|
|
"pagecache",
|
|
"pidhashtable",
|
|
"proc",
|
|
"psaux",
|
|
"pscallstack",
|
|
"pslist",
|
|
"psscan",
|
|
"pstree",
|
|
"ptrace",
|
|
"sockstat",
|
|
"tracing",
|
|
"tty_check",
|
|
"vmaregexscan",
|
|
"vmayarascan",
|
|
"vmcoreinfo",
|
|
]
|