Documentation ¶
Index ¶
- type Frame
- func (frame *Frame) GetLocalVariables() LocalVariables
- func (frame *Frame) GetMethod() *heap.Method
- func (frame *Frame) GetNextPC() int
- func (frame *Frame) GetOperandStack() *OperandStack
- func (frame *Frame) GetThread() *Thread
- func (frame *Frame) RevertNextPC()
- func (frame *Frame) SetNextPC(nextPC int)
- type JVMStack
- type LocalVariables
- func (localVariables LocalVariables) GetDoubleValue(index uint) float64
- func (localVariables LocalVariables) GetFloatValue(index uint) float32
- func (localVariables LocalVariables) GetIntegerValue(index uint) int32
- func (localVariables LocalVariables) GetLongValue(index uint) int64
- func (localVariables LocalVariables) GetReferenceValue(index uint) *heap.Object
- func (localVariables LocalVariables) GetThis() *heap.Object
- func (localVariables LocalVariables) SetDoubleValue(index uint, value float64)
- func (localVariables LocalVariables) SetFloatValue(index uint, value float32)
- func (localVariables LocalVariables) SetIntegerValue(index uint, value int32)
- func (localVariables LocalVariables) SetLongValue(index uint, value int64)
- func (localVariables LocalVariables) SetReferenceValue(index uint, value *heap.Object)
- func (localVariables LocalVariables) SetVariable(index uint, variable Variable)
- type OperandStack
- func (operandStack *OperandStack) Clear()
- func (operandStack *OperandStack) GetReferenceValueBelowTop(n uint) *heap.Object
- func (operandStack *OperandStack) PopBooleanValue() bool
- func (operandStack *OperandStack) PopDoubleValue() float64
- func (operandStack *OperandStack) PopFloatValue() float32
- func (operandStack *OperandStack) PopIntegerValue() int32
- func (operandStack *OperandStack) PopLongValue() int64
- func (operandStack *OperandStack) PopOperand() Variable
- func (operandStack *OperandStack) PopReferenceValue() *heap.Object
- func (operandStack *OperandStack) PushBooleanValue(value bool)
- func (operandStack *OperandStack) PushDoubleValue(value float64)
- func (operandStack *OperandStack) PushFloatValue(value float32)
- func (operandStack *OperandStack) PushIntegerValue(value int32)
- func (operandStack *OperandStack) PushLongValue(value int64)
- func (operandStack *OperandStack) PushOperand(variable Variable)
- func (operandStack *OperandStack) PushReferenceValue(referenceValue *heap.Object)
- type Thread
- func (thread *Thread) ClearStack()
- func (thread *Thread) GetCurrentFrame() *Frame
- func (thread *Thread) GetFrames() []*Frame
- func (thread *Thread) GetPC() int
- func (thread *Thread) GetTopFrame() *Frame
- func (thread *Thread) IsJVMStackEmpty() bool
- func (thread *Thread) NewFrame(method *heap.Method) *Frame
- func (thread *Thread) PopFrame() *Frame
- func (thread *Thread) PushFrame(frame *Frame)
- func (thread *Thread) SetPC(pc int)
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func (*Frame) GetLocalVariables ¶
func (frame *Frame) GetLocalVariables() LocalVariables
func (*Frame) GetOperandStack ¶
func (frame *Frame) GetOperandStack() *OperandStack
func (*Frame) RevertNextPC ¶
func (frame *Frame) RevertNextPC()
type JVMStack ¶
type JVMStack struct {
// contains filtered or unexported fields
}
func (*JVMStack) GetTopFrame ¶
type LocalVariables ¶
type LocalVariables []Variable
func (LocalVariables) GetDoubleValue ¶
func (localVariables LocalVariables) GetDoubleValue(index uint) float64
func (LocalVariables) GetFloatValue ¶
func (localVariables LocalVariables) GetFloatValue(index uint) float32
func (LocalVariables) GetIntegerValue ¶
func (localVariables LocalVariables) GetIntegerValue(index uint) int32
func (LocalVariables) GetLongValue ¶
func (localVariables LocalVariables) GetLongValue(index uint) int64
func (LocalVariables) GetReferenceValue ¶
func (localVariables LocalVariables) GetReferenceValue(index uint) *heap.Object
func (LocalVariables) GetThis ¶
func (localVariables LocalVariables) GetThis() *heap.Object
func (LocalVariables) SetDoubleValue ¶
func (localVariables LocalVariables) SetDoubleValue(index uint, value float64)
func (LocalVariables) SetFloatValue ¶
func (localVariables LocalVariables) SetFloatValue(index uint, value float32)
func (LocalVariables) SetIntegerValue ¶
func (localVariables LocalVariables) SetIntegerValue(index uint, value int32)
func (LocalVariables) SetLongValue ¶
func (localVariables LocalVariables) SetLongValue(index uint, value int64)
func (LocalVariables) SetReferenceValue ¶
func (localVariables LocalVariables) SetReferenceValue(index uint, value *heap.Object)
func (LocalVariables) SetVariable ¶
func (localVariables LocalVariables) SetVariable(index uint, variable Variable)
type OperandStack ¶
type OperandStack struct {
// contains filtered or unexported fields
}
func (*OperandStack) Clear ¶
func (operandStack *OperandStack) Clear()
func (*OperandStack) GetReferenceValueBelowTop ¶
func (operandStack *OperandStack) GetReferenceValueBelowTop(n uint) *heap.Object
func (*OperandStack) PopBooleanValue ¶
func (operandStack *OperandStack) PopBooleanValue() bool
func (*OperandStack) PopDoubleValue ¶
func (operandStack *OperandStack) PopDoubleValue() float64
func (*OperandStack) PopFloatValue ¶
func (operandStack *OperandStack) PopFloatValue() float32
func (*OperandStack) PopIntegerValue ¶
func (operandStack *OperandStack) PopIntegerValue() int32
func (*OperandStack) PopLongValue ¶
func (operandStack *OperandStack) PopLongValue() int64
func (*OperandStack) PopOperand ¶
func (operandStack *OperandStack) PopOperand() Variable
func (*OperandStack) PopReferenceValue ¶
func (operandStack *OperandStack) PopReferenceValue() *heap.Object
func (*OperandStack) PushBooleanValue ¶
func (operandStack *OperandStack) PushBooleanValue(value bool)
func (*OperandStack) PushDoubleValue ¶
func (operandStack *OperandStack) PushDoubleValue(value float64)
func (*OperandStack) PushFloatValue ¶
func (operandStack *OperandStack) PushFloatValue(value float32)
func (*OperandStack) PushIntegerValue ¶
func (operandStack *OperandStack) PushIntegerValue(value int32)
func (*OperandStack) PushLongValue ¶
func (operandStack *OperandStack) PushLongValue(value int64)
func (*OperandStack) PushOperand ¶
func (operandStack *OperandStack) PushOperand(variable Variable)
func (*OperandStack) PushReferenceValue ¶
func (operandStack *OperandStack) PushReferenceValue(referenceValue *heap.Object)
type Thread ¶
type Thread struct {
// contains filtered or unexported fields
}
func (*Thread) ClearStack ¶
func (thread *Thread) ClearStack()
func (*Thread) GetCurrentFrame ¶
func (*Thread) GetTopFrame ¶
func (*Thread) IsJVMStackEmpty ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.