lib.cuckoo.core.plugins

Package lib :: Package cuckoo :: Package core :: Module plugins |
[hide private]
[frames] | no frames]

# Module plugins

source code

Classes | [hide private]
| RunAuxiliary Auxiliary modules manager.
| RunProcessing Analysis Results Processing Engine.
| RunSignatures Run Signatures.
| RunReporting Reporting Engine.

Functions | [hide private]
enumerate_plugins(dirpath, module_prefix, namespace, class_, attributes={}) Import plugins of type `class` located at `dirpath` into the `namespace` that starts with `module_prefix`. | source code
import_plugin(name) | source code
import_package(package) | source code
load_plugins(module) | source code
register_plugin(group, name) | source code
list_plugins(group=None) | source code

Variables | [hide private]
| log = `logging.getLogger(__name__)`
| _modules = `defaultdict(list)`

Function Details | [hide private]

### enumerate_plugins(dirpath, module_prefix, namespace, class_, attributes={}) | source code
Import plugins of type `class` located at `dirpath` into the `namespace` that starts with `module_prefix`. If `dirpath` represents a filepath then it is converted into its containing directory. The `attributes` dictionary allows one to set extra fields for all imported plugins.