Package FuzzManager :: Package FTB :: Package Signatures :: Module Symptom :: Class Symptom
[hide private]
[frames] | no frames]

Class Symptom

source code


Abstract base class that provides a method to instantiate the right sub class. It also supports generating a CrashSignature based on the stored information.

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
__init__(self, jsonObj)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code
bool
matches(self, crashInfo)
Check if the symptom matches the given crash information
source code

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

Static Methods [hide private]
Symptom
fromJSONObject(obj)
Create the appropriate Symptom based on the given object (decoded from JSON)
source code
Class Variables [hide private]
  __abstractmethods__ = frozenset(['matches'])
  _abc_cache = <_weakrefset.WeakSet object at 0x7ff6c70ab9d0>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x7ff6c70...
  _abc_negative_cache_version = 23
  _abc_registry = <_weakrefset.WeakSet object at 0x7ff6c70ab990>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, jsonObj)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

fromJSONObject(obj)
Static Method

source code 

Create the appropriate Symptom based on the given object (decoded from JSON)

Parameters:
  • obj (map) - Object as decoded from JSON
Returns: Symptom
Symptom subclass instance matching the given object

matches(self, crashInfo)

source code 

Check if the symptom matches the given crash information

Parameters:
  • crashInfo (CrashInfo) - The crash information to check against
Returns: bool
True if the symptom matches, False otherwise
Decorators:
  • @abstractmethod

Class Variable Details [hide private]

_abc_negative_cache

Value:
<_weakrefset.WeakSet object at 0x7ff6c70aba10>