Package lib :: Package cuckoo :: Package common :: Module abstracts :: Class BehaviorHandler
[hide private]
[frames] | no frames]

Class BehaviorHandler

source code

object --+
         |
        BehaviorHandler

Base class for behavior handlers inside of BehaviorAnalysis.

Instance Methods [hide private]
 
__init__(self, behavior_analysis)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
handles_path(self, logpath)
Needs to return True for the log files this handler wants to process.
source code
 
parse(self, logpath)
Called after handles_path succeeded, should generate behavior events.
source code
 
handle_event(self, event)
Handle an event that gets passed down the stack.
source code
 
run(self)
Return the handler specific structure, gets placed into behavior[self.key].
source code

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

Class Variables [hide private]
  key = "undefined"
  event_types = []
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, behavior_analysis)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)