1
2
3
4 from rekall import plugin
5 from rekall_lib import registry
6
7
9 """A mechanism for automatically calculating a parameter.
10
11 The session contains many parameters which are calculated through the
12 various plugins, or provided by the user. These parameters essentially
13 represent a growing body of knowledge about the image we are currently
14 analysing.
15
16 Some plugins require this information before they can continue. If the
17 information is already known, we do not need to re-derive it, and the value
18 can be cached in the session.
19
20 A ParameterHook is a class which is called to find out the value of a
21 parameter when it is not known.
22 """
23 __abstract = True
24
25 __metaclass__ = registry.MetaclassRegistry
26
27
28
29
30 name = None
31
32
33
34
35 expiry = None
36
37
38
39 volatile = True
40
46
48 """Derive the value of the parameter."""
49