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

Class RunSignatures

source code

object --+
         |
        RunSignatures

Run Signatures.

Instance Methods [hide private]
 
__init__(self, results)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_should_enable_signature(self, signature)
Should the given signature be enabled for this analysis?
source code
 
check_signature_version(self, signature)
Check signature version.
source code
 
call_signature(self, signature, handler, *args, **kwargs)
Wrapper to call into 3rd party signatures.
source code
 
init_api_sigs(self, apiname, category)
Initialize a list of signatures for which we should trigger its on_call method for this particular API name and category.
source code
 
yield_calls(self, proc)
Yield calls of interest to each interested signature.
source code
 
run(self)
Run signatures.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, results)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

check_signature_version(self, signature)

source code 

Check signature version.

Parameters:
  • current - signature class/instance to check.
Returns:
check result.

call_signature(self, signature, handler, *args, **kwargs)

source code 

Wrapper to call into 3rd party signatures. This wrapper yields the event to the signature and handles matched signatures recursively.