Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallMap ¶
CallMap implements compile.ObjectMap. It stores all function addresses and call sites, but no instruction information.
func (*CallMap) InitObjectMap ¶
func (*CallMap) PutCallSite ¶
type CallSite ¶
type CallSite struct {
ReturnAddr int32 // The address immediately after the call instruction
StackOffset int32 // Calling function's stack usage at time of call
}
CallSite represents a position within the text section (machine code) where a function call is made.
type FuncMap ¶
type FuncMap struct {
FuncAddrs []int32
}
FuncMap implements compile.ObjectMap. It stores all function addresses, but no call or instruction information.
func (*FuncMap) InitObjectMap ¶
func (*FuncMap) PutCallSite ¶
func (*FuncMap) PutFuncAddr ¶
func (*FuncMap) PutImportFuncAddr ¶
func (*FuncMap) PutInsnAddr ¶
Click to show internal directories.
Click to hide internal directories.