Documentation
¶
Overview ¶
copy from wagon/validate and customized it Copyright 2017 The go-interpreter Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. Modify by contentos Authors
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProhibitFloat = errors.New("float type be prohibited")
View Source
var ErrProhibitFloatComparision = errors.New("comparision between float type be prohibited")
View Source
var ErrProhibitFloatOperation = errors.New("operations of float type be prohibited")
View Source
var ErrStackUnderflow = errors.New("validate: stack underflow")
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.