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

Class GDBCrashInfo

source code


Nested Classes [hide private]

Inherited from CrashInfo: __metaclass__

Instance Methods [hide private]
 
__init__(self, stdout, stderr, configuration, crashData=None)
Private constructor, called by CrashInfo.fromRawCrashData.
source code

Inherited from CrashInfo: __str__, createCrashSignature, createShortSignature, toCacheObject

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

Static Methods [hide private]
long @return The calculated crash address

On error, a string containing the failure message is returned instead.

calculateCrashAddress(crashInstruction, registerMap)
Calculate the crash address given the crash instruction and register contents
source code
 
calculateComplexDerefOpAddress(complexDerefOp, registerMap) source code

Inherited from CrashInfo: fromRawCrashData, sanitizeStackFrame

Class Variables [hide private]

Inherited from CrashInfo: __abstractmethods__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, stdout, stderr, configuration, crashData=None)
(Constructor)

source code 

Private constructor, called by CrashInfo.fromRawCrashData. Do not use directly.

Overrides: object.__init__

calculateCrashAddress(crashInstruction, registerMap)
Static Method

source code 

Calculate the crash address given the crash instruction and register contents

Parameters:
  • crashInstruction (string) - Crash instruction string as provided by GDB
  • registerMap (Map from string to long) - Map of register names to values
Returns: long @return The calculated crash address

On error, a string containing the failure message is returned instead.