Package rekall :: Module plugin :: Class ModeBasedActiveMixin
[frames] | no frames]

Class ModeBasedActiveMixin

source code


Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
is_active(cls, session)
Checks we are active.
source code
Class Variables
  mode = None
hash(x)
Properties

Inherited from object: __class__

Method Details

is_active(cls, session)
Class Method

source code 

Checks we are active.

This method will be called with the session to check if this specific class is active. This mechanism allows multiple implementations to all share the same name, as long as only one is actually active. For example, we can have a linux, windows and mac version of plugins with the "pslist" name.

This mixin provides the mixed class with a basic is_active() method which honors a mode member defined on the class and all its subclasses. The mode is additive (meaning each class and its subclasses are only active if the mode is active).