luajit

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BcMnone = iota
	BcMdst
	BcMbase
	BcMvar
	BcMrbase
	BcMuv
	BcMlit
	BcMlits
	BcMpri
	BcMnum
	BcMstr
	BcMtab
	BcMfunc
	BcMjump
	BcMcdata
)

Variables

View Source
var LuaJITFS embed.FS

Functions

func LuaJITDecode

func LuaJITDecode(d *decode.D) any

func LuaJITDecodeBCIns

func LuaJITDecodeBCIns(d *decode.D)

func LuaJITDecodeComplex

func LuaJITDecodeComplex(d *decode.D)

func LuaJITDecodeDebug

func LuaJITDecodeDebug(d *decode.D, debuglen uint64, numbc uint64)

func LuaJITDecodeHeader

func LuaJITDecodeHeader(di *DumpInfo, d *decode.D)

func LuaJITDecodeI64

func LuaJITDecodeI64(d *decode.D) int64

func LuaJITDecodeKGC

func LuaJITDecodeKGC(d *decode.D)

func LuaJITDecodeKNum

func LuaJITDecodeKNum(d *decode.D) any

func LuaJITDecodeKTabK

func LuaJITDecodeKTabK(d *decode.D)

func LuaJITDecodeNum

func LuaJITDecodeNum(d *decode.D)

func LuaJITDecodeProto

func LuaJITDecodeProto(di *DumpInfo, d *decode.D)

func LuaJITDecodeTab

func LuaJITDecodeTab(d *decode.D)

func LuaJITDecodeU64

func LuaJITDecodeU64(d *decode.D) uint64

Types

type BcDef

type BcDef struct {
	Name string
	MA   int
	MB   int
	MC   int
}

func (*BcDef) HasD

func (op *BcDef) HasD() bool

func (*BcDef) IsJump

func (op *BcDef) IsJump() bool

type BcDefList

type BcDefList []BcDef

func (BcDefList) MapUint

func (opcodes BcDefList) MapUint(s scalar.Uint) (scalar.Uint, error)

type DumpInfo

type DumpInfo struct {
	Strip     bool
	BigEndian bool
}

Jump to

Keyboard shortcuts

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