|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Allocator.CodeAllocator.InstructionPointer
public static class CodeAllocator.InstructionPointer
An object of this class represents a code address. It can be compared with a jq_CompiledCode object with compareTo and equals. They are equal if the InstructionPointer points within the range of the compiled code; the InstructionPointer is less if it is before the start address of the compiled code; the InstructionPointer is less if it is after the end address of the compiled code.
Field Summary | |
---|---|
static jq_InstanceField |
_ip
|
Constructor Summary | |
---|---|
CodeAllocator.InstructionPointer(CodeAddress ip)
Create a new instruction pointer. |
Method Summary | |
---|---|
int |
compareTo(CodeAllocator.InstructionPointer that)
Compare this instruction pointer to another instruction pointer. |
int |
compareTo(jq_CompiledCode that)
Compare this instruction pointer to a compiled code object. |
int |
compareTo(Object that)
Compares this instruction pointer to the given object (InstructionPointer or jq_CompiledCode) |
boolean |
equals(CodeAllocator.InstructionPointer that)
Returns true if this instruction pointer refers to the same location as the given instruction pointer, false otherwise. |
boolean |
equals(jq_CompiledCode that)
Returns true if this instruction pointer refers to a location within the given compiled code, false otherwise. |
boolean |
equals(Object that)
Compares this instruction pointer with the given object (InstructionPointer or jq_CompiledCode). |
CodeAddress |
getIP()
Extract the address of this instruction pointer. |
int |
hashCode()
Returns the hash code of this instruction pointer. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final jq_InstanceField _ip
Constructor Detail |
---|
public CodeAllocator.InstructionPointer(CodeAddress ip)
ip
- instruction pointer valueMethod Detail |
---|
public CodeAddress getIP()
public int compareTo(jq_CompiledCode that)
that
- compiled code to compare against
public int compareTo(CodeAllocator.InstructionPointer that)
that
- instruction pointer to compare against
public int compareTo(Object that)
compareTo
in interface Comparable
that
- object to compare to
public boolean equals(jq_CompiledCode that)
that
- compiled code to compare to
public boolean equals(CodeAllocator.InstructionPointer that)
that
- instruction pointer to compare to
public boolean equals(Object that)
equals
in class Object
that
- object to compare with
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |