Documentation ¶
Overview ¶
package validate provides functions for validating WebAssembly modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStackUnderflow = errors.New("validate: stack underflow")
View Source
var PrintDebugInfo = false
Functions ¶
func VerifyModule ¶
VerifyModule verifies the given module according to WebAssembly verification specs.
Types ¶
type Error ¶
type InvalidElementIndexError ¶
type InvalidElementIndexError uint32
func (InvalidElementIndexError) Error ¶
func (e InvalidElementIndexError) Error() string
type InvalidImmediateError ¶
func (InvalidImmediateError) Error ¶
func (e InvalidImmediateError) Error() string
type InvalidLabelError ¶
type InvalidLabelError uint32
func (InvalidLabelError) Error ¶
func (e InvalidLabelError) Error() string
type InvalidLocalIndexError ¶
type InvalidLocalIndexError uint32
func (InvalidLocalIndexError) Error ¶
func (e InvalidLocalIndexError) Error() string
type InvalidTypeError ¶
func (InvalidTypeError) Error ¶
func (e InvalidTypeError) Error() string
type NoSectionError ¶
func (NoSectionError) Error ¶
func (e NoSectionError) Error() string
type UnmatchedOpError ¶
type UnmatchedOpError byte
func (UnmatchedOpError) Error ¶
func (e UnmatchedOpError) Error() string
Click to show internal directories.
Click to hide internal directories.