runtime_data_area

package
v0.0.0-...-d1d7e88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 2 Imported by: 16

Documentation

Index

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) GetMethod

func (frame *Frame) GetMethod() *heap.Method

func (*Frame) GetNextPC

func (frame *Frame) GetNextPC() int

func (*Frame) GetOperandStack

func (frame *Frame) GetOperandStack() *OperandStack

func (*Frame) GetThread

func (frame *Frame) GetThread() *Thread

func (*Frame) RevertNextPC

func (frame *Frame) RevertNextPC()

func (*Frame) SetNextPC

func (frame *Frame) SetNextPC(nextPC int)

type JVMStack

type JVMStack struct {
	// contains filtered or unexported fields
}

func (*JVMStack) Clear

func (jvmStack *JVMStack) Clear()

func (*JVMStack) GetFrames

func (jvmStack *JVMStack) GetFrames() []*Frame

func (*JVMStack) GetTopFrame

func (jvmStack *JVMStack) GetTopFrame() *Frame

func (*JVMStack) IsEmpty

func (jvmStack *JVMStack) IsEmpty() bool

func (*JVMStack) PopFrame

func (jvmStack *JVMStack) PopFrame() *Frame

func (*JVMStack) PushFrame

func (jvmStack *JVMStack) PushFrame(frame *Frame)

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 NewThread

func NewThread() *Thread

func (*Thread) ClearStack

func (thread *Thread) ClearStack()

func (*Thread) GetCurrentFrame

func (thread *Thread) GetCurrentFrame() *Frame

func (*Thread) GetFrames

func (thread *Thread) GetFrames() []*Frame

func (*Thread) GetPC

func (thread *Thread) GetPC() int

func (*Thread) GetTopFrame

func (thread *Thread) GetTopFrame() *Frame

func (*Thread) IsJVMStackEmpty

func (thread *Thread) IsJVMStackEmpty() bool

func (*Thread) NewFrame

func (thread *Thread) NewFrame(method *heap.Method) *Frame

func (*Thread) PopFrame

func (thread *Thread) PopFrame() *Frame

func (*Thread) PushFrame

func (thread *Thread) PushFrame(frame *Frame)

func (*Thread) SetPC

func (thread *Thread) SetPC(pc int)

type Variable

type Variable struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL