frysk.testbed
Class CorefileFactory

java.lang.Object
  extended by TestLib
      extended by frysk.testbed.CorefileFactory

public class CorefileFactory
extends TestLib


Constructor Summary
CorefileFactory()
           
 
Method Summary
static File constructCore(Proc ackProc)
           
static File constructCoreAtEntry(File exeFile, String[] args)
          Given a path to an executable it will run it until it sigfaults then extracts a corefile at that point, and return a File representing that core file.
static File constructCoreAtSignal(File exeFile)
          Given a path to an executable it will run it until it sigfaults then extracts a corefile at that point, and return a File representing that core file.
static File constructCoreAtSignal(String program)
          Given a path to an executable it will run it until it sigfaults then extracts a corefile at that point, and return a File representing that core file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorefileFactory

public CorefileFactory()
Method Detail

constructCore

public static File constructCore(Proc ackProc)

constructCoreAtSignal

public static File constructCoreAtSignal(File exeFile)
Given a path to an executable it will run it until it sigfaults then extracts a corefile at that point, and return a File representing that core file.


constructCoreAtEntry

public static File constructCoreAtEntry(File exeFile,
                                        String[] args)
Given a path to an executable it will run it until it sigfaults then extracts a corefile at that point, and return a File representing that core file.


constructCoreAtSignal

public static File constructCoreAtSignal(String program)
Given a path to an executable it will run it until it sigfaults then extracts a corefile at that point, and return a File representing that core file.