joeq.Runtime
Class Unsafe

java.lang.Object
  extended by joeq.Runtime.Unsafe

public abstract class Unsafe
extends Object

Version:
$Id: Unsafe.java,v 1.14 2004/03/09 22:36:58 jwhaley Exp $
Author:
John Whaley

Field Summary
static jq_Class _class
           
static jq_StaticMethod _doubleToLongBits
           
static jq_StaticMethod _EAX
           
static jq_StaticMethod _floatToIntBits
           
static jq_StaticMethod _getThreadBlock
           
static jq_StaticMethod _intBitsToFloat
           
static jq_StaticMethod _invoke
           
static jq_StaticMethod _invokeA
           
static jq_StaticMethod _isEQ
           
static jq_StaticMethod _isGE
           
static jq_StaticMethod _longBitsToDouble
           
static jq_StaticMethod _longJump
           
static jq_StaticMethod _popFP32
           
static jq_StaticMethod _popFP64
           
static jq_StaticMethod _pushArg
           
static jq_StaticMethod _pushArgA
           
static jq_StaticMethod _pushFP32
           
static jq_StaticMethod _pushFP64
           
static jq_StaticMethod _setThreadBlock
           
 
Constructor Summary
Unsafe()
           
 
Method Summary
static long doubleToLongBits(double i)
           
static int EAX()
           
static int floatToIntBits(float i)
           
static jq_Thread getThreadBlock()
           
static float intBitsToFloat(int i)
           
static long invoke(CodeAddress address)
           
static Address invokeA(CodeAddress address)
           
static boolean isEQ()
           
static boolean isGE()
           
static double longBitsToDouble(long i)
           
static void longJump(CodeAddress ip, StackAddress fp, StackAddress sp, int eax)
           
static float popFP32()
           
static double popFP64()
           
static void pushArg(int arg)
           
static void pushArgA(Address arg)
           
static void pushFP32(float v)
           
static void pushFP64(double v)
           
static void setThreadBlock(jq_Thread t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_class

public static final jq_Class _class

_floatToIntBits

public static final jq_StaticMethod _floatToIntBits

_intBitsToFloat

public static final jq_StaticMethod _intBitsToFloat

_doubleToLongBits

public static final jq_StaticMethod _doubleToLongBits

_longBitsToDouble

public static final jq_StaticMethod _longBitsToDouble

_pushArg

public static final jq_StaticMethod _pushArg

_pushArgA

public static final jq_StaticMethod _pushArgA

_popFP32

public static final jq_StaticMethod _popFP32

_popFP64

public static final jq_StaticMethod _popFP64

_pushFP32

public static final jq_StaticMethod _pushFP32

_pushFP64

public static final jq_StaticMethod _pushFP64

_invoke

public static final jq_StaticMethod _invoke

_invokeA

public static final jq_StaticMethod _invokeA

_EAX

public static final jq_StaticMethod _EAX

_getThreadBlock

public static final jq_StaticMethod _getThreadBlock

_setThreadBlock

public static final jq_StaticMethod _setThreadBlock

_longJump

public static final jq_StaticMethod _longJump

_isEQ

public static final jq_StaticMethod _isEQ

_isGE

public static final jq_StaticMethod _isGE
Constructor Detail

Unsafe

public Unsafe()
Method Detail

floatToIntBits

public static final int floatToIntBits(float i)

intBitsToFloat

public static final float intBitsToFloat(int i)

doubleToLongBits

public static final long doubleToLongBits(double i)

longBitsToDouble

public static final double longBitsToDouble(long i)

pushArg

public static final void pushArg(int arg)

pushArgA

public static final void pushArgA(Address arg)

popFP32

public static final float popFP32()

popFP64

public static final double popFP64()

pushFP32

public static final void pushFP32(float v)

pushFP64

public static final void pushFP64(double v)

invoke

public static final long invoke(CodeAddress address)
                         throws Throwable
Throws:
Throwable

invokeA

public static final Address invokeA(CodeAddress address)
                             throws Throwable
Throws:
Throwable

EAX

public static final int EAX()

getThreadBlock

public static final jq_Thread getThreadBlock()

setThreadBlock

public static final void setThreadBlock(jq_Thread t)

longJump

public static final void longJump(CodeAddress ip,
                                  StackAddress fp,
                                  StackAddress sp,
                                  int eax)

isEQ

public static final boolean isEQ()

isGE

public static final boolean isGE()


Copyright © 2001-2005 John Whaley. All Rights Reserved.