Struct ValidationContext
Context object for instruction validation.
Assembly: WaaS.Core.dll
View Source
Declaration
public readonly struct ValidationContext
Properties
Module
View Source
Declaration
public Module Module { get; }
CurrentFunction
View Source
Declaration
public Function CurrentFunction { get; }
Methods
GetFunctionType(uint)
View Source
Declaration
public FunctionType GetFunctionType(uint runtimeFunctionIndex)
Returns
Parameters
Type | Name |
---|---|
System.UInt32 | runtimeFunctionIndex |
GetLocalType(uint)
View Source
Declaration
public ValueType GetLocalType(uint index)
Returns
Parameters
Type | Name |
---|---|
System.UInt32 | index |
GetGlobalType(uint)
View Source
Declaration
public GlobalType GetGlobalType(uint index)
Returns
Parameters
Type | Name |
---|---|
System.UInt32 | index |
GetTableType(uint)
View Source
Declaration
public TableType GetTableType(uint index)
Returns
Parameters
Type | Name |
---|---|
System.UInt32 | index |
GetMemoryType(uint)
View Source
Declaration
public MemoryType GetMemoryType(uint index)
Returns
Parameters
Type | Name |
---|---|
System.UInt32 | index |