joeq.Compiler.BytecodeAnalysis
Class Bytecodes.JsrInstruction

java.lang.Object
  extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
      extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
          extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.JsrInstruction
All Implemented Interfaces:
Serializable, Cloneable, Bytecodes.InstructionTargeter, Bytecodes.StackProducer, Bytecodes.TypedInstruction, Bytecodes.UnconditionalBranch
Direct Known Subclasses:
Bytecodes.JSR, Bytecodes.JSR_W
Enclosing interface:
Bytecodes

public abstract static class Bytecodes.JsrInstruction
extends Bytecodes.BranchInstruction
implements Bytecodes.UnconditionalBranch, Bytecodes.TypedInstruction, Bytecodes.StackProducer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
index, position, target
 
Fields inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Method Summary
 jq_Type getType()
           
 Bytecodes.InstructionHandle physicalSuccessor()
          Returns an InstructionHandle to the physical successor of this JsrInstruction.
 
Methods inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
containsTarget, dump, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, setTarget, toString, updatePosition, updateTarget
 
Methods inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
accept, consumeStack, copy, getLength, getOpcode, produceStack, readInstruction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface joeq.Compiler.BytecodeAnalysis.Bytecodes.StackProducer
produceStack
 

Method Detail

getType

public jq_Type getType()
Specified by:
getType in interface Bytecodes.TypedInstruction
Returns:
return address type

physicalSuccessor

public Bytecodes.InstructionHandle physicalSuccessor()
Returns an InstructionHandle to the physical successor of this JsrInstruction. For this method to work, this JsrInstruction object must not be shared between multiple InstructionHandle objects! Formally, there must not be InstructionHandle objects i, j where i != j and i.getInstruction() == this == j.getInstruction().

Returns:
an InstructionHandle to the "next" instruction that will be executed when RETurned from a subroutine.


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