luajit

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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