dumpreader::dumpTree Class Reference

dumpTree() More...

List of all members.

Public Member Functions

def __init__
 Constructor of dumpTree.
def getDates
 Function which returns a list of dates and associated dir when the fuzzing procedures were performed.
def refill
 Clears tree widget and fills it with up-to-date items.
def fillDir
 Fills tree with data from fuzzing procedure directory.
def processStatusFile
 Processes the status.txt file to find more information about run of fuzzing procedure.
def processStackFile
 Processes the stack file to find informations about dump.
def findDumpFiles
 Find all dump files in selected directory.
def querryDumpActions
 Querries for action which caused the dump.

Public Attributes

 tree
 QTreeWidget to be filled.
 path
 path to dump directory ("path to project"/dumps/)


Detailed Description

dumpTree()

This class is responsible for filling QTreeWidget with dump related items.

It reads the dump ditectory "path to project"/dumps/ and fills content of QTreeWidget according to its contents.

Author:
Stepan Henek

Member Function Documentation

def dumpreader::dumpTree::__init__ (   self,
  tree,
  path 
)

Constructor of dumpTree.

Parameters:
self The object pointer.
tree QTreeWidget to be filled
path path to dump directory ("path to project"/dumps/)

def dumpreader::dumpTree::fillDir (   self,
  name,
  path 
)

Fills tree with data from fuzzing procedure directory.

Note that whenever this dir doesn't contain any valid dump, no new dateTreeWidgetItem is added.

Parameters:
self The object pointer.
name default name which is used when no suitable name in status.txt is found.
path path to dir representing one fuzzing procedured

def dumpreader::dumpTree::findDumpFiles (   self,
  path 
)

Find all dump files in selected directory.

Dump files have .dmp extention.

Parameters:
self The object pointer.
path Start directory of the search

def dumpreader::dumpTree::getDates (   self  ) 

Function which returns a list of dates and associated dir when the fuzzing procedures were performed.

Parameters:
self The object pointer.
Returns:
a list of dates (and associated directory) when the fuzzing procedures were performed or False if directory with dumps doesn't exits.

def dumpreader::dumpTree::processStackFile (   self,
  path 
)

Processes the stack file to find informations about dump.

Parameters:
path Path to stack file.
self The object pointer.
Returns:
information acquired from stack file: short description, description, title, explenation and program. If one of these item isn't preset return empty string.

def dumpreader::dumpTree::processStatusFile (   self,
  path 
)

Processes the status.txt file to find more information about run of fuzzing procedure.

Parameters:
self The object pointer.
path Path to status.txt file.
Returns:
date of run in readable format and whole file content in a single string

def dumpreader::dumpTree::querryDumpActions (   self,
  dumpDirPath 
)

Querries for action which caused the dump.

Parameters:
self The object pointer.
dumpDirPath directory with the .dmp file
Returns:
list of actions which caused the dump (order of action, input/output type, content of packet, path to file with content)

def dumpreader::dumpTree::refill (   self  ) 

Clears tree widget and fills it with up-to-date items.

Parameters:
self The object pointer.


Member Data Documentation

path to dump directory ("path to project"/dumps/)

QTreeWidget to be filled.


The documentation for this class was generated from the following file:

Generated on Sun Sep 5 12:41:36 2010 for HotFuzz by  doxygen 1.5.8