frysk.ftrace
Class IA32Arch

java.lang.Object
  extended by frysk.ftrace.IA32Arch
All Implemented Interfaces:
Arch

public class IA32Arch
extends Object
implements Arch

x86 implementation of Arch interface.


Field Summary
(package private) static Arch instance
           
 
Constructor Summary
private IA32Arch()
           
 
Method Summary
 Object[] getCallArguments(Task task)
          Construct an array of function call arguments.
 long getReturnAddress(Task task)
          Get a return address of current function call.
 Object getReturnValue(Task task)
          Construct a return value of a function call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

static final Arch instance
Constructor Detail

IA32Arch

private IA32Arch()
Method Detail

getReturnAddress

public long getReturnAddress(Task task)
Description copied from interface: Arch
Get a return address of current function call.

Specified by:
getReturnAddress in interface Arch

getCallArguments

public Object[] getCallArguments(Task task)
Description copied from interface: Arch
Construct an array of function call arguments.

Specified by:
getCallArguments in interface Arch

getReturnValue

public Object getReturnValue(Task task)
Description copied from interface: Arch
Construct a return value of a function call.

Specified by:
getReturnValue in interface Arch