/src/WasmEdge/include/loader/loader.h
Line | Count | Source |
1 | | // SPDX-License-Identifier: Apache-2.0 |
2 | | // SPDX-FileCopyrightText: 2019-2024 Second State INC |
3 | | |
4 | | //===-- wasmedge/loader/loader.h - Loader flow control class definition ---===// |
5 | | // |
6 | | // Part of the WasmEdge Project. |
7 | | // |
8 | | //===----------------------------------------------------------------------===// |
9 | | /// |
10 | | /// \file |
11 | | /// This file contains the declaration of the Loader class, which controls flow |
12 | | /// of WASM loading. |
13 | | /// |
14 | | //===----------------------------------------------------------------------===// |
15 | | #pragma once |
16 | | |
17 | | #include "ast/component/component.h" |
18 | | #include "ast/module.h" |
19 | | #include "common/configure.h" |
20 | | #include "common/errinfo.h" |
21 | | #include "loader/filemgr.h" |
22 | | #include "loader/serialize.h" |
23 | | #include "loader/shared_library.h" |
24 | | |
25 | | #include <cstdint> |
26 | | #include <memory> |
27 | | #include <mutex> |
28 | | #include <optional> |
29 | | #include <vector> |
30 | | |
31 | | namespace WasmEdge { |
32 | | namespace Loader { |
33 | | |
34 | | namespace { |
35 | | template <typename T> inline ASTNodeAttr NodeAttrFromAST() noexcept; |
36 | 53 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { |
37 | 53 | return ASTNodeAttr::Sec_Custom; |
38 | 53 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Line | Count | Source | 36 | 53 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { | 37 | 53 | return ASTNodeAttr::Sec_Custom; | 38 | 53 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() |
39 | 47 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { |
40 | 47 | return ASTNodeAttr::Sec_Type; |
41 | 47 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Line | Count | Source | 39 | 47 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { | 40 | 47 | return ASTNodeAttr::Sec_Type; | 41 | 47 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() |
42 | 143 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { |
43 | 143 | return ASTNodeAttr::Sec_Import; |
44 | 143 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Line | Count | Source | 42 | 143 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { | 43 | 143 | return ASTNodeAttr::Sec_Import; | 44 | 143 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() |
45 | | template <> |
46 | 50 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { |
47 | 50 | return ASTNodeAttr::Sec_Function; |
48 | 50 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Line | Count | Source | 46 | 50 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { | 47 | 50 | return ASTNodeAttr::Sec_Function; | 48 | 50 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() |
49 | 89 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { |
50 | 89 | return ASTNodeAttr::Sec_Table; |
51 | 89 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Line | Count | Source | 49 | 89 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { | 50 | 89 | return ASTNodeAttr::Sec_Table; | 51 | 89 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() |
52 | 58 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { |
53 | 58 | return ASTNodeAttr::Sec_Memory; |
54 | 58 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Line | Count | Source | 52 | 58 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { | 53 | 58 | return ASTNodeAttr::Sec_Memory; | 54 | 58 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() |
55 | 360 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { |
56 | 360 | return ASTNodeAttr::Sec_Global; |
57 | 360 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Line | Count | Source | 55 | 360 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { | 56 | 360 | return ASTNodeAttr::Sec_Global; | 57 | 360 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() |
58 | 101 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { |
59 | 101 | return ASTNodeAttr::Sec_Export; |
60 | 101 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Line | Count | Source | 58 | 101 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { | 59 | 101 | return ASTNodeAttr::Sec_Export; | 60 | 101 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() |
61 | 15 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { |
62 | 15 | return ASTNodeAttr::Sec_Start; |
63 | 15 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Line | Count | Source | 61 | 15 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { | 62 | 15 | return ASTNodeAttr::Sec_Start; | 63 | 15 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() |
64 | 1.12k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { |
65 | 1.12k | return ASTNodeAttr::Sec_Element; |
66 | 1.12k | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Line | Count | Source | 64 | 1.12k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { | 65 | 1.12k | return ASTNodeAttr::Sec_Element; | 66 | 1.12k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() |
67 | 1.06k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { |
68 | 1.06k | return ASTNodeAttr::Sec_Code; |
69 | 1.06k | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Line | Count | Source | 67 | 1.06k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { | 68 | 1.06k | return ASTNodeAttr::Sec_Code; | 69 | 1.06k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() |
70 | 1.40k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { |
71 | 1.40k | return ASTNodeAttr::Sec_Data; |
72 | 1.40k | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Line | Count | Source | 70 | 1.40k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { | 71 | 1.40k | return ASTNodeAttr::Sec_Data; | 72 | 1.40k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() |
73 | | template <> |
74 | 16 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { |
75 | 16 | return ASTNodeAttr::Sec_DataCount; |
76 | 16 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Line | Count | Source | 74 | 16 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { | 75 | 16 | return ASTNodeAttr::Sec_DataCount; | 76 | 16 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() |
77 | 30 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { |
78 | 30 | return ASTNodeAttr::Sec_Tag; |
79 | 30 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Line | Count | Source | 77 | 30 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { | 78 | 30 | return ASTNodeAttr::Sec_Tag; | 79 | 30 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() |
80 | 51 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { |
81 | 51 | return ASTNodeAttr::Type_Rec; |
82 | 51 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Line | Count | Source | 80 | 51 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { | 81 | 51 | return ASTNodeAttr::Type_Rec; | 82 | 51 | } |
Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() |
83 | 142 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { |
84 | 142 | return ASTNodeAttr::Type_Function; |
85 | 142 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Line | Count | Source | 83 | 142 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { | 84 | 142 | return ASTNodeAttr::Type_Function; | 85 | 142 | } |
Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() |
86 | 117 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { |
87 | 117 | return ASTNodeAttr::Seg_Element; |
88 | 117 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Line | Count | Source | 86 | 117 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { | 87 | 117 | return ASTNodeAttr::Seg_Element; | 88 | 117 | } |
Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() |
89 | | |
90 | | template <> |
91 | | inline ASTNodeAttr |
92 | 0 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { |
93 | 0 | return ASTNodeAttr::Comp_Sec_CoreMod; |
94 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() |
95 | | template <> |
96 | | inline ASTNodeAttr |
97 | 0 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { |
98 | 0 | return ASTNodeAttr::Comp_Sec_CoreInstance; |
99 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() |
100 | | template <> |
101 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { |
102 | 0 | return ASTNodeAttr::Comp_Sec_CoreType; |
103 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() |
104 | | template <> |
105 | | inline ASTNodeAttr |
106 | 0 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { |
107 | 0 | return ASTNodeAttr::Comp_Sec_Component; |
108 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() |
109 | | template <> |
110 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { |
111 | 0 | return ASTNodeAttr::Comp_Sec_Instance; |
112 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() |
113 | | template <> |
114 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { |
115 | 0 | return ASTNodeAttr::Comp_Sec_Alias; |
116 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() |
117 | | template <> |
118 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { |
119 | 0 | return ASTNodeAttr::Comp_Sec_Type; |
120 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() |
121 | | template <> |
122 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { |
123 | 0 | return ASTNodeAttr::Comp_Sec_Canon; |
124 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() |
125 | | template <> |
126 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { |
127 | 0 | return ASTNodeAttr::Comp_Sec_Start; |
128 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() |
129 | | template <> |
130 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { |
131 | 0 | return ASTNodeAttr::Comp_Sec_Import; |
132 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() |
133 | | template <> |
134 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { |
135 | 0 | return ASTNodeAttr::Comp_Sec_Export; |
136 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() |
137 | | template <> |
138 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { |
139 | 0 | return ASTNodeAttr::Comp_CoreInstance; |
140 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() |
141 | | template <> |
142 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { |
143 | 0 | return ASTNodeAttr::Comp_Instance; |
144 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() |
145 | | template <> |
146 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { |
147 | 0 | return ASTNodeAttr::Comp_CoreDefType; |
148 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() |
149 | | template <> |
150 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::DefType>() noexcept { |
151 | 0 | return ASTNodeAttr::Comp_DefType; |
152 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() |
153 | | template <> |
154 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { |
155 | 0 | return ASTNodeAttr::Comp_FuncType; |
156 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() |
157 | | template <> |
158 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { |
159 | 0 | return ASTNodeAttr::Comp_ComponentType; |
160 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() |
161 | | template <> |
162 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { |
163 | 0 | return ASTNodeAttr::Comp_InstanceType; |
164 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() |
165 | | template <> |
166 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { |
167 | 0 | return ASTNodeAttr::Comp_ResourceType; |
168 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() |
169 | | template <> |
170 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { |
171 | 0 | return ASTNodeAttr::Comp_Canonical; |
172 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() |
173 | | template <> |
174 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { |
175 | 0 | return ASTNodeAttr::Comp_Start; |
176 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() |
177 | | template <> |
178 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { |
179 | 0 | return ASTNodeAttr::Comp_Export; |
180 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() |
181 | | template <> |
182 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { |
183 | 0 | return ASTNodeAttr::Comp_Type_Record; |
184 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() |
185 | | template <> |
186 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { |
187 | 0 | return ASTNodeAttr::Comp_Type_Variant; |
188 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() |
189 | | template <> |
190 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { |
191 | 0 | return ASTNodeAttr::Comp_Type_Tuple; |
192 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() |
193 | | template <> |
194 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { |
195 | 0 | return ASTNodeAttr::Comp_Type_Flags; |
196 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() |
197 | | template <> |
198 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { |
199 | 0 | return ASTNodeAttr::Comp_Type_Enum; |
200 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() |
201 | | template <> |
202 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { |
203 | 0 | return ASTNodeAttr::Comp_Type_Result; |
204 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() |
205 | | template <> |
206 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StreamTy>() noexcept { |
207 | 0 | return ASTNodeAttr::Comp_Type_Stream; |
208 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() |
209 | | template <> |
210 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { |
211 | 0 | return ASTNodeAttr::Comp_Type_Future; |
212 | 0 | } Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() |
213 | | |
214 | | } // namespace |
215 | | |
216 | | /// Loader flow control class. |
217 | | class Loader { |
218 | | public: |
219 | | Loader(const Configure &Conf, |
220 | | const Executable::IntrinsicsTable *IT = nullptr) noexcept |
221 | 9.29k | : Conf(Conf), Ser(Conf), IntrinsicsTable(IT) {} |
222 | 9.29k | ~Loader() noexcept = default; |
223 | | |
224 | | /// Load data from file path. |
225 | | static Expect<std::vector<Byte>> |
226 | | loadFile(const std::filesystem::path &FilePath); |
227 | | |
228 | | /// Parse module or component from file path. |
229 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
230 | | std::unique_ptr<AST::Module>>> |
231 | | parseWasmUnit(const std::filesystem::path &FilePath); |
232 | | |
233 | | /// Parse module or component from byte code. |
234 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
235 | | std::unique_ptr<AST::Module>>> |
236 | | parseWasmUnit(Span<const uint8_t> Code); |
237 | | |
238 | | /// Parse module from file path. |
239 | | Expect<std::unique_ptr<AST::Module>> |
240 | | parseModule(const std::filesystem::path &FilePath); |
241 | | |
242 | | /// Parse module from byte code. |
243 | | Expect<std::unique_ptr<AST::Module>> parseModule(Span<const uint8_t> Code); |
244 | | |
245 | | /// Serialize module into byte code. |
246 | | Expect<std::vector<Byte>> serializeModule(const AST::Module &Mod); |
247 | | |
248 | | /// Reset status. |
249 | 0 | void reset() noexcept { FMgr.reset(); } |
250 | | |
251 | | /// Setup Symbol from an Exetuable. |
252 | | Expect<void> loadExecutable(AST::Module &Mod, |
253 | | std::shared_ptr<Executable> Library); |
254 | | |
255 | | private: |
256 | | /// \name Helper functions to print error log when loading AST nodes |
257 | | /// @{ |
258 | | inline Unexpected<ErrCode> logLoadError(ErrCode Code, uint64_t Off, |
259 | 5.00k | ASTNodeAttr Node) const noexcept { |
260 | 5.00k | spdlog::error(Code); |
261 | 5.00k | spdlog::error(ErrInfo::InfoLoading(Off)); |
262 | 5.00k | spdlog::error(ErrInfo::InfoAST(Node)); |
263 | 5.00k | return Unexpect(Code); |
264 | 5.00k | } |
265 | | inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop, |
266 | | uint64_t Off, |
267 | 80 | ASTNodeAttr Node) const noexcept { |
268 | 80 | spdlog::error(Code); |
269 | 80 | spdlog::error(ErrInfo::InfoProposal(Prop)); |
270 | 80 | spdlog::error(ErrInfo::InfoLoading(Off)); |
271 | 80 | spdlog::error(ErrInfo::InfoAST(Node)); |
272 | 80 | return Unexpect(Code); |
273 | 80 | } |
274 | | /// @} |
275 | | |
276 | | /// \name Load AST Module functions |
277 | | /// @{ |
278 | | // Load component or module unit. |
279 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
280 | | std::unique_ptr<AST::Module>>> |
281 | | loadUnit(); |
282 | | |
283 | | // Load magic header or preamble. |
284 | | Expect<std::pair<std::vector<Byte>, std::vector<Byte>>> loadPreamble(); |
285 | | |
286 | | // Load WASM module. |
287 | | Expect<void> loadModule(AST::Module &Mod, |
288 | | std::optional<uint64_t> Bound = std::nullopt); |
289 | | |
290 | | // Load WASM for AOT. |
291 | | Expect<void> loadUniversalWASM(AST::Module &Mod); |
292 | | Expect<void> loadModuleAOT(AST::AOTSection &AOTSection); |
293 | | |
294 | | // Load component. |
295 | | Expect<void> loadComponent(AST::Component::Component &Comp, |
296 | | std::optional<uint64_t> Bound = std::nullopt); |
297 | | /// @} |
298 | | |
299 | | /// \name Load AST section node helper functions |
300 | | /// @{ |
301 | 80.7k | Expect<uint32_t> loadVecCnt() { |
302 | | // Read the vector size. |
303 | 80.7k | EXPECTED_TRY(auto Cnt, FMgr.readU32()); |
304 | 80.6k | if (Cnt / 2 > FMgr.getRemainSize()) { |
305 | 267 | return Unexpect(ErrCode::Value::IntegerTooLong); |
306 | 267 | } |
307 | 80.4k | return Cnt; |
308 | 80.6k | } |
309 | | |
310 | | template <typename ASTType, typename T, typename ElemLoader> |
311 | 37.8k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { |
312 | | // Read the vector size. |
313 | 37.8k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { |
314 | 37.6k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
315 | 37.6k | })); |
316 | 37.6k | Vec.resize(VecCnt); |
317 | | |
318 | | // Sequently create the AST node T and read data. |
319 | 149k | for (uint32_t I = 0; I < VecCnt; ++I) { |
320 | 116k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { |
321 | 116k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
322 | 116k | return E; |
323 | 116k | })); |
324 | 116k | } |
325 | 33.3k | return {}; |
326 | 37.6k | } section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ImportSection, WasmEdge::AST::ImportDesc, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}>(std::__1::vector<WasmEdge::AST::ImportDesc, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}&&)Line | Count | Source | 311 | 272 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 272 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 261 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 261 | })); | 316 | 261 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 12.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 12.5k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 12.5k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 12.5k | return E; | 323 | 12.5k | })); | 324 | 12.5k | } | 325 | 153 | return {}; | 326 | 261 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::FunctionSection, unsigned int, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}>(std::__1::vector<unsigned int, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}&&)Line | Count | Source | 311 | 4.54k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 4.54k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 4.52k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 4.52k | })); | 316 | 4.52k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 33.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 29.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 29.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 29.4k | return E; | 323 | 29.4k | })); | 324 | 29.4k | } | 325 | 4.50k | return {}; | 326 | 4.52k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::TableSection, WasmEdge::AST::TableSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}>(std::__1::vector<WasmEdge::AST::TableSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}&&)Line | Count | Source | 311 | 504 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 504 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 488 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 488 | })); | 316 | 488 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 1.32k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 884 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 884 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 884 | return E; | 323 | 884 | })); | 324 | 884 | } | 325 | 436 | return {}; | 326 | 488 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::MemorySection, WasmEdge::AST::MemoryType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}>(std::__1::vector<WasmEdge::AST::MemoryType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}&&)Line | Count | Source | 311 | 1.43k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 1.43k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 1.42k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 1.42k | })); | 316 | 1.42k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 3.52k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 2.13k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 2.13k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 2.13k | return E; | 323 | 2.13k | })); | 324 | 2.13k | } | 325 | 1.39k | return {}; | 326 | 1.42k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::GlobalSection, WasmEdge::AST::GlobalSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}>(std::__1::vector<WasmEdge::AST::GlobalSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}&&)Line | Count | Source | 311 | 596 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 596 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 584 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 584 | })); | 316 | 584 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 1.29k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 1.01k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 1.01k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 1.01k | return E; | 323 | 1.01k | })); | 324 | 1.01k | } | 325 | 276 | return {}; | 326 | 584 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ExportSection, WasmEdge::AST::ExportDesc, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}>(std::__1::vector<WasmEdge::AST::ExportDesc, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}&&)Line | Count | Source | 311 | 1.00k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 1.00k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 991 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 991 | })); | 316 | 991 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 16.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 15.8k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 15.8k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 15.8k | return E; | 323 | 15.8k | })); | 324 | 15.8k | } | 325 | 938 | return {}; | 326 | 991 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ElementSection, WasmEdge::AST::ElementSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}>(std::__1::vector<WasmEdge::AST::ElementSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}&&)Line | Count | Source | 311 | 1.34k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 1.34k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 1.32k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 1.32k | })); | 316 | 1.32k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 5.91k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 5.67k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 5.67k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 5.67k | return E; | 323 | 5.67k | })); | 324 | 5.67k | } | 325 | 237 | return {}; | 326 | 1.32k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::CodeSection, WasmEdge::AST::CodeSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}>(std::__1::vector<WasmEdge::AST::CodeSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}&&)Line | Count | Source | 311 | 4.74k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 4.74k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 4.73k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 4.73k | })); | 316 | 4.73k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 22.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 19.0k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 19.0k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 19.0k | return E; | 323 | 19.0k | })); | 324 | 19.0k | } | 325 | 3.69k | return {}; | 326 | 4.73k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::DataSection, WasmEdge::AST::DataSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}>(std::__1::vector<WasmEdge::AST::DataSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}&&)Line | Count | Source | 311 | 1.51k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 1.51k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 1.50k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 1.50k | })); | 316 | 1.50k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 4.49k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 4.34k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 4.34k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 4.34k | return E; | 323 | 4.34k | })); | 324 | 4.34k | } | 325 | 152 | return {}; | 326 | 1.50k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::TagSection, WasmEdge::AST::TagType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}>(std::__1::vector<WasmEdge::AST::TagType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}&&)Line | Count | Source | 311 | 54 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 54 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 44 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 44 | })); | 316 | 44 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 493 | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 461 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 461 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 461 | return E; | 323 | 461 | })); | 324 | 461 | } | 325 | 32 | return {}; | 326 | 44 | } |
segment.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ElementSegment, WasmEdge::AST::Expression, WasmEdge::Loader::Loader::loadSegment(WasmEdge::AST::ElementSegment&)::$_6>(std::__1::vector<WasmEdge::AST::Expression, std::__1::allocator<WasmEdge::AST::Expression> >&, WasmEdge::Loader::Loader::loadSegment(WasmEdge::AST::ElementSegment&)::$_6&&) Line | Count | Source | 311 | 1.15k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 1.15k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 1.13k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 1.13k | })); | 316 | 1.13k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 4.07k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 3.04k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 3.04k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 3.04k | return E; | 323 | 3.04k | })); | 324 | 3.04k | } | 325 | 1.03k | return {}; | 326 | 1.13k | } |
type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::SubType, WasmEdge::AST::FieldType, WasmEdge::Loader::Loader::loadCompositeType(WasmEdge::AST::CompositeType&)::$_1>(std::__1::vector<WasmEdge::AST::FieldType, std::__1::allocator<WasmEdge::AST::FieldType> >&, WasmEdge::Loader::Loader::loadCompositeType(WasmEdge::AST::CompositeType&)::$_1&&) Line | Count | Source | 311 | 656 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 656 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 648 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 648 | })); | 316 | 648 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 1.32k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 698 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 698 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 698 | return E; | 323 | 698 | })); | 324 | 698 | } | 325 | 624 | return {}; | 326 | 648 | } |
type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::SubType, unsigned int, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::SubType&)::$_1&>(std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::SubType&)::$_1&) Line | Count | Source | 311 | 227 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 227 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 218 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 218 | })); | 316 | 218 | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 881 | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 673 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 673 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 673 | return E; | 323 | 673 | })); | 324 | 673 | } | 325 | 208 | return {}; | 326 | 218 | } |
type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::FunctionType, WasmEdge::ValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::FunctionType&)::$_0&>(std::__1::vector<WasmEdge::ValType, std::__1::allocator<WasmEdge::ValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::FunctionType&)::$_0&) Line | Count | Source | 311 | 19.8k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 312 | | // Read the vector size. | 313 | 19.8k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 314 | 19.8k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 315 | 19.8k | })); | 316 | 19.8k | Vec.resize(VecCnt); | 317 | | | 318 | | // Sequently create the AST node T and read data. | 319 | 40.3k | for (uint32_t I = 0; I < VecCnt; ++I) { | 320 | 20.6k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 321 | 20.6k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 322 | 20.6k | return E; | 323 | 20.6k | })); | 324 | 20.6k | } | 325 | 19.6k | return {}; | 326 | 19.8k | } |
Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::AST::Component::CoreInstance, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}>(std::__1::vector<WasmEdge::AST::Component::CoreInstance, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreTypeSection, WasmEdge::AST::Component::CoreDefType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}>(std::__1::vector<WasmEdge::AST::Component::CoreDefType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::InstanceSection, WasmEdge::AST::Component::Instance, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}>(std::__1::vector<WasmEdge::AST::Component::Instance, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::AliasSection, WasmEdge::AST::Component::Alias, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}>(std::__1::vector<WasmEdge::AST::Component::Alias, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::TypeSection, WasmEdge::AST::Component::DefType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}>(std::__1::vector<WasmEdge::AST::Component::DefType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CanonSection, WasmEdge::AST::Component::Canonical, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}>(std::__1::vector<WasmEdge::AST::Component::Canonical, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ImportSection, WasmEdge::AST::Component::Import, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}>(std::__1::vector<WasmEdge::AST::Component::Import, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ExportSection, WasmEdge::AST::Component::Export, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}>(std::__1::vector<WasmEdge::AST::Component::Export, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}&&)Unexecuted instantiation: component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstance, WasmEdge::AST::Component::InstantiateArg<unsigned int>, WasmEdge::Loader::Loader::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_0&>(std::__1::vector<WasmEdge::AST::Component::InstantiateArg<unsigned int>, std::__1::allocator<WasmEdge::AST::Component::InstantiateArg<unsigned int> > >&, WasmEdge::Loader::Loader::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_0&) Unexecuted instantiation: component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstance, WasmEdge::AST::Component::InlineExport, WasmEdge::Loader::Loader::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_1&>(std::__1::vector<WasmEdge::AST::Component::InlineExport, std::__1::allocator<WasmEdge::AST::Component::InlineExport> >&, WasmEdge::Loader::Loader::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_1&) Unexecuted instantiation: component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Instance, WasmEdge::AST::Component::InstantiateArg<WasmEdge::AST::Component::SortIndex>, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_0&>(std::__1::vector<WasmEdge::AST::Component::InstantiateArg<WasmEdge::AST::Component::SortIndex>, std::__1::allocator<WasmEdge::AST::Component::InstantiateArg<WasmEdge::AST::Component::SortIndex> > >&, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_0&) Unexecuted instantiation: component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Instance, WasmEdge::AST::Component::InlineExport, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_1&>(std::__1::vector<WasmEdge::AST::Component::InlineExport, std::__1::allocator<WasmEdge::AST::Component::InlineExport> >&, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_1&) Unexecuted instantiation: component_canonical.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Canonical, WasmEdge::AST::Component::CanonOpt, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_1>(std::__1::vector<WasmEdge::AST::Component::CanonOpt, std::__1::allocator<WasmEdge::AST::Component::CanonOpt> >&, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_1&&) Unexecuted instantiation: component_canonical.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Canonical, WasmEdge::AST::Component::CanonOpt, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_2>(std::__1::vector<WasmEdge::AST::Component::CanonOpt, std::__1::allocator<WasmEdge::AST::Component::CanonOpt> >&, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_2&&) Unexecuted instantiation: component_start.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Start, unsigned int, WasmEdge::Loader::Loader::loadStart(WasmEdge::AST::Component::Start&)::$_1&>(std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, WasmEdge::Loader::Loader::loadStart(WasmEdge::AST::Component::Start&)::$_1&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreDefType, WasmEdge::AST::Component::CoreModuleDecl, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::CoreDefType&)::$_3>(std::__1::vector<WasmEdge::AST::Component::CoreModuleDecl, std::__1::allocator<WasmEdge::AST::Component::CoreModuleDecl> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::CoreDefType&)::$_3&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::FuncType, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FuncType&)::$_2>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FuncType&)::$_2&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::FuncType, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FuncType&)::$_3>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FuncType&)::$_3&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ComponentType, WasmEdge::AST::Component::ComponentDecl, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::ComponentType&)::$_0>(std::__1::vector<WasmEdge::AST::Component::ComponentDecl, std::__1::allocator<WasmEdge::AST::Component::ComponentDecl> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::ComponentType&)::$_0&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::InstanceType, WasmEdge::AST::Component::InstanceDecl, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::InstanceType&)::$_0>(std::__1::vector<WasmEdge::AST::Component::InstanceDecl, std::__1::allocator<WasmEdge::AST::Component::InstanceDecl> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::InstanceType&)::$_0&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::RecordTy, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::RecordTy&)::$_0>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::RecordTy&)::$_0&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::VariantTy, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::AST::Component::ValueType> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::VariantTy&)::$_1>(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::AST::Component::ValueType> >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::AST::Component::ValueType> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::VariantTy&)::$_1&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::TupleTy, WasmEdge::AST::Component::ValueType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::TupleTy&)::$_0>(std::__1::vector<WasmEdge::AST::Component::ValueType, std::__1::allocator<WasmEdge::AST::Component::ValueType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::TupleTy&)::$_0&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::FlagsTy, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FlagsTy&)::$_1>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FlagsTy&)::$_1&&) Unexecuted instantiation: component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::EnumTy, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::EnumTy&)::$_1>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::EnumTy&)::$_1&&) |
327 | | |
328 | | template <typename T, typename ElemLoader> |
329 | 63.7k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { |
330 | 63.7k | Sec.setStartOffset(FMgr.getOffset()); |
331 | | // Load the section size first. |
332 | 63.7k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { |
333 | 63.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
334 | 63.7k | })); |
335 | | |
336 | | // Check the remain file/buffer size. |
337 | 63.7k | if (unlikely(FMgr.getRemainSize() < SecSize)) { |
338 | 184 | return logLoadError(ErrCode::Value::LengthOutOfBounds, |
339 | 184 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
340 | 184 | } |
341 | | |
342 | | // Set the section size. |
343 | 63.5k | Sec.setContentSize(SecSize); |
344 | 63.5k | auto StartOffset = FMgr.getOffset(); |
345 | | |
346 | | // Invoke the callback function. |
347 | 63.5k | EXPECTED_TRY(Func()); |
348 | | |
349 | | // Check the read size matches the section size. |
350 | 58.9k | auto EndOffset = FMgr.getOffset(); |
351 | 58.9k | if (EndOffset - StartOffset != Sec.getContentSize()) { |
352 | 128 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, |
353 | 128 | NodeAttrFromAST<T>()); |
354 | 128 | } |
355 | 58.8k | return {}; |
356 | 58.9k | } section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::CustomSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CustomSection&)::$_0>(WasmEdge::AST::CustomSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CustomSection&)::$_0&&) Line | Count | Source | 329 | 42.5k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 42.5k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 42.5k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 42.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 42.5k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 42.5k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 47 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 47 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 47 | } | 341 | | | 342 | | // Set the section size. | 343 | 42.4k | Sec.setContentSize(SecSize); | 344 | 42.4k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 42.4k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 42.3k | auto EndOffset = FMgr.getOffset(); | 351 | 42.3k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 0 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 0 | NodeAttrFromAST<T>()); | 354 | 0 | } | 355 | 42.3k | return {}; | 356 | 42.3k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::TypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TypeSection&)::$_0>(WasmEdge::AST::TypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TypeSection&)::$_0&&) Line | Count | Source | 329 | 4.97k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 4.97k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 4.97k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 4.97k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 4.97k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 4.97k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 19 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 19 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 19 | } | 341 | | | 342 | | // Set the section size. | 343 | 4.95k | Sec.setContentSize(SecSize); | 344 | 4.95k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 4.95k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 4.66k | auto EndOffset = FMgr.getOffset(); | 351 | 4.66k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 26 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 26 | NodeAttrFromAST<T>()); | 354 | 26 | } | 355 | 4.64k | return {}; | 356 | 4.66k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0>(WasmEdge::AST::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0&&) Line | Count | Source | 329 | 289 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 289 | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 289 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 287 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 287 | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 287 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 15 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 15 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 15 | } | 341 | | | 342 | | // Set the section size. | 343 | 272 | Sec.setContentSize(SecSize); | 344 | 272 | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 272 | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 153 | auto EndOffset = FMgr.getOffset(); | 351 | 153 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 7 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 7 | NodeAttrFromAST<T>()); | 354 | 7 | } | 355 | 146 | return {}; | 356 | 153 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::FunctionSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0>(WasmEdge::AST::FunctionSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0&&) Line | Count | Source | 329 | 4.55k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 4.55k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 4.55k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 4.54k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 4.54k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 4.54k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 7 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 7 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 7 | } | 341 | | | 342 | | // Set the section size. | 343 | 4.54k | Sec.setContentSize(SecSize); | 344 | 4.54k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 4.54k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 4.50k | auto EndOffset = FMgr.getOffset(); | 351 | 4.50k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 7 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 7 | NodeAttrFromAST<T>()); | 354 | 7 | } | 355 | 4.50k | return {}; | 356 | 4.50k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::TableSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0>(WasmEdge::AST::TableSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0&&) Line | Count | Source | 329 | 519 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 519 | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 519 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 517 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 517 | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 517 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 13 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 13 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 13 | } | 341 | | | 342 | | // Set the section size. | 343 | 504 | Sec.setContentSize(SecSize); | 344 | 504 | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 504 | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 436 | auto EndOffset = FMgr.getOffset(); | 351 | 436 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 6 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 6 | NodeAttrFromAST<T>()); | 354 | 6 | } | 355 | 430 | return {}; | 356 | 436 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::MemorySection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0>(WasmEdge::AST::MemorySection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0&&) Line | Count | Source | 329 | 1.44k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 1.44k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 1.44k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 1.44k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 1.44k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 1.44k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 5 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 5 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 5 | } | 341 | | | 342 | | // Set the section size. | 343 | 1.43k | Sec.setContentSize(SecSize); | 344 | 1.43k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 1.43k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 1.39k | auto EndOffset = FMgr.getOffset(); | 351 | 1.39k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 2 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 2 | NodeAttrFromAST<T>()); | 354 | 2 | } | 355 | 1.38k | return {}; | 356 | 1.39k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::GlobalSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0>(WasmEdge::AST::GlobalSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0&&) Line | Count | Source | 329 | 610 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 610 | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 610 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 607 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 607 | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 607 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 11 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 11 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 11 | } | 341 | | | 342 | | // Set the section size. | 343 | 596 | Sec.setContentSize(SecSize); | 344 | 596 | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 596 | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 276 | auto EndOffset = FMgr.getOffset(); | 351 | 276 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 26 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 26 | NodeAttrFromAST<T>()); | 354 | 26 | } | 355 | 250 | return {}; | 356 | 276 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0>(WasmEdge::AST::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0&&) Line | Count | Source | 329 | 1.02k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 1.02k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 1.02k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 1.02k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 1.02k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 1.02k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 14 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 14 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 14 | } | 341 | | | 342 | | // Set the section size. | 343 | 1.00k | Sec.setContentSize(SecSize); | 344 | 1.00k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 1.00k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 938 | auto EndOffset = FMgr.getOffset(); | 351 | 938 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 18 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 18 | NodeAttrFromAST<T>()); | 354 | 18 | } | 355 | 920 | return {}; | 356 | 938 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::StartSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::StartSection&)::$_0>(WasmEdge::AST::StartSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::StartSection&)::$_0&&) Line | Count | Source | 329 | 31 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 31 | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 31 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 28 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 28 | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 28 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 11 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 11 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 11 | } | 341 | | | 342 | | // Set the section size. | 343 | 17 | Sec.setContentSize(SecSize); | 344 | 17 | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 17 | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 15 | auto EndOffset = FMgr.getOffset(); | 351 | 15 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 1 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 1 | NodeAttrFromAST<T>()); | 354 | 1 | } | 355 | 14 | return {}; | 356 | 15 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::ElementSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0>(WasmEdge::AST::ElementSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0&&) Line | Count | Source | 329 | 1.35k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 1.35k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 1.35k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 1.35k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 1.35k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 1.35k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 10 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 10 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 10 | } | 341 | | | 342 | | // Set the section size. | 343 | 1.34k | Sec.setContentSize(SecSize); | 344 | 1.34k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 1.34k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 237 | auto EndOffset = FMgr.getOffset(); | 351 | 237 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 6 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 6 | NodeAttrFromAST<T>()); | 354 | 6 | } | 355 | 231 | return {}; | 356 | 237 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::CodeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0>(WasmEdge::AST::CodeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0&&) Line | Count | Source | 329 | 4.75k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 4.75k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 4.75k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 4.75k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 4.75k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 4.75k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 4 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 4 | } | 341 | | | 342 | | // Set the section size. | 343 | 4.74k | Sec.setContentSize(SecSize); | 344 | 4.74k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 4.74k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 3.69k | auto EndOffset = FMgr.getOffset(); | 351 | 3.69k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 2 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 2 | NodeAttrFromAST<T>()); | 354 | 2 | } | 355 | 3.69k | return {}; | 356 | 3.69k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::DataSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0>(WasmEdge::AST::DataSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0&&) Line | Count | Source | 329 | 1.53k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 1.53k | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 1.53k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 1.53k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 1.53k | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 1.53k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 16 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 16 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 16 | } | 341 | | | 342 | | // Set the section size. | 343 | 1.51k | Sec.setContentSize(SecSize); | 344 | 1.51k | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 1.51k | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 152 | auto EndOffset = FMgr.getOffset(); | 351 | 152 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 19 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 19 | NodeAttrFromAST<T>()); | 354 | 19 | } | 355 | 133 | return {}; | 356 | 152 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::DataCountSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataCountSection&)::$_0>(WasmEdge::AST::DataCountSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataCountSection&)::$_0&&) Line | Count | Source | 329 | 92 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 92 | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 92 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 90 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 90 | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 90 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 10 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 10 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 10 | } | 341 | | | 342 | | // Set the section size. | 343 | 80 | Sec.setContentSize(SecSize); | 344 | 80 | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 80 | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 78 | auto EndOffset = FMgr.getOffset(); | 351 | 78 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 4 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 4 | NodeAttrFromAST<T>()); | 354 | 4 | } | 355 | 74 | return {}; | 356 | 78 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::TagSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0>(WasmEdge::AST::TagSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0&&) Line | Count | Source | 329 | 58 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 330 | 58 | Sec.setStartOffset(FMgr.getOffset()); | 331 | | // Load the section size first. | 332 | 58 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 333 | 56 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 334 | 56 | })); | 335 | | | 336 | | // Check the remain file/buffer size. | 337 | 56 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 338 | 2 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 339 | 2 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 340 | 2 | } | 341 | | | 342 | | // Set the section size. | 343 | 54 | Sec.setContentSize(SecSize); | 344 | 54 | auto StartOffset = FMgr.getOffset(); | 345 | | | 346 | | // Invoke the callback function. | 347 | 54 | EXPECTED_TRY(Func()); | 348 | | | 349 | | // Check the read size matches the section size. | 350 | 32 | auto EndOffset = FMgr.getOffset(); | 351 | 32 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 352 | 4 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 353 | 4 | NodeAttrFromAST<T>()); | 354 | 4 | } | 355 | 28 | return {}; | 356 | 32 | } |
Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreModuleSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreModuleSection&)::$_0>(WasmEdge::AST::Component::CoreModuleSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreModuleSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0>(WasmEdge::AST::Component::CoreInstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreTypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0>(WasmEdge::AST::Component::CoreTypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ComponentSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ComponentSection&)::$_0>(WasmEdge::AST::Component::ComponentSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ComponentSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::InstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0>(WasmEdge::AST::Component::InstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::AliasSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0>(WasmEdge::AST::Component::AliasSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::TypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0>(WasmEdge::AST::Component::TypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CanonSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0>(WasmEdge::AST::Component::CanonSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::StartSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::StartSection&)::$_0>(WasmEdge::AST::Component::StartSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::StartSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0>(WasmEdge::AST::Component::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0&&) Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0>(WasmEdge::AST::Component::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0&&) |
357 | | |
358 | | template <typename T, typename ElemLoader> |
359 | 16.0k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { |
360 | 16.0k | return loadVec<T>(Sec.getContent(), std::move(Func)); |
361 | 16.0k | } section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}>(WasmEdge::AST::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}&&)Line | Count | Source | 359 | 272 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 272 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 272 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::FunctionSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}>(WasmEdge::AST::FunctionSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}&&)Line | Count | Source | 359 | 4.54k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 4.54k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 4.54k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::TableSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}>(WasmEdge::AST::TableSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}&&)Line | Count | Source | 359 | 504 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 504 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 504 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::MemorySection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}>(WasmEdge::AST::MemorySection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}&&)Line | Count | Source | 359 | 1.43k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 1.43k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 1.43k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::GlobalSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}>(WasmEdge::AST::GlobalSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}&&)Line | Count | Source | 359 | 596 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 596 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 596 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}>(WasmEdge::AST::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}&&)Line | Count | Source | 359 | 1.00k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 1.00k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 1.00k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::ElementSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}>(WasmEdge::AST::ElementSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}&&)Line | Count | Source | 359 | 1.34k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 1.34k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 1.34k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::CodeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}>(WasmEdge::AST::CodeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}&&)Line | Count | Source | 359 | 4.74k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 4.74k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 4.74k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::DataSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}>(WasmEdge::AST::DataSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}&&)Line | Count | Source | 359 | 1.51k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 1.51k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 1.51k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::TagSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}>(WasmEdge::AST::TagSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}&&)Line | Count | Source | 359 | 54 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 360 | 54 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 361 | 54 | } |
Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}>(WasmEdge::AST::Component::CoreInstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::CoreTypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}>(WasmEdge::AST::Component::CoreTypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::InstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}>(WasmEdge::AST::Component::InstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::AliasSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}>(WasmEdge::AST::Component::AliasSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::TypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}>(WasmEdge::AST::Component::TypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::CanonSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}>(WasmEdge::AST::Component::CanonSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}>(WasmEdge::AST::Component::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}&&)Unexecuted instantiation: component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}>(WasmEdge::AST::Component::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}&&) |
362 | | /// @} |
363 | | |
364 | | /// \name Helper function to set the function type for tag |
365 | | /// @{ |
366 | | void setTagFunctionType(AST::TagSection &TagSec, |
367 | | AST::ImportSection &ImportSec, |
368 | | AST::TypeSection &TypeSec); |
369 | | /// @} |
370 | | |
371 | | /// \name Load AST nodes functions |
372 | | /// @{ |
373 | | Expect<void> loadSection(AST::CustomSection &Sec); |
374 | | Expect<void> loadSection(AST::TypeSection &Sec); |
375 | | Expect<void> loadSection(AST::ImportSection &Sec); |
376 | | Expect<void> loadSection(AST::FunctionSection &Sec); |
377 | | Expect<void> loadSection(AST::TableSection &Sec); |
378 | | Expect<void> loadSection(AST::MemorySection &Sec); |
379 | | Expect<void> loadSection(AST::GlobalSection &Sec); |
380 | | Expect<void> loadSection(AST::ExportSection &Sec); |
381 | | Expect<void> loadSection(AST::StartSection &Sec); |
382 | | Expect<void> loadSection(AST::ElementSection &Sec); |
383 | | Expect<void> loadSection(AST::CodeSection &Sec); |
384 | | Expect<void> loadSection(AST::DataSection &Sec); |
385 | | Expect<void> loadSection(AST::DataCountSection &Sec); |
386 | | Expect<void> loadSection(AST::TagSection &Sec); |
387 | | static Expect<void> loadSection(FileMgr &VecMgr, AST::AOTSection &Sec); |
388 | | Expect<void> loadSegment(AST::TableSegment &TabSeg); |
389 | | Expect<void> loadSegment(AST::GlobalSegment &GlobSeg); |
390 | | Expect<void> loadSegment(AST::ElementSegment &ElemSeg); |
391 | | Expect<void> loadSegment(AST::CodeSegment &CodeSeg); |
392 | | Expect<void> loadSegment(AST::DataSegment &DataSeg); |
393 | | Expect<void> loadDesc(AST::ImportDesc &ImpDesc); |
394 | | Expect<void> loadDesc(AST::ExportDesc &ExpDesc); |
395 | | Expect<ValType> loadHeapType(TypeCode TC, ASTNodeAttr From); |
396 | | Expect<ValType> loadRefType(ASTNodeAttr From); |
397 | | Expect<ValType> loadValType(ASTNodeAttr From, bool IsStorageType = false); |
398 | | Expect<ValMut> loadMutability(ASTNodeAttr From); |
399 | | Expect<void> loadFieldType(AST::FieldType &FType); |
400 | | Expect<void> loadCompositeType(AST::CompositeType &CType); |
401 | | Expect<void> loadLimit(AST::Limit &Lim); |
402 | | Expect<void> loadType(AST::SubType &SType); |
403 | | Expect<void> loadType(AST::FunctionType &FuncType); |
404 | | Expect<void> loadType(AST::MemoryType &MemType); |
405 | | Expect<void> loadType(AST::TableType &TabType); |
406 | | Expect<void> loadType(AST::GlobalType &GlobType); |
407 | | Expect<void> loadType(AST::TagType &TgType); |
408 | | Expect<void> loadExpression(AST::Expression &Expr, |
409 | | std::optional<uint64_t> SizeBound = std::nullopt); |
410 | | Expect<OpCode> loadOpCode(); |
411 | | Expect<AST::InstrVec> loadInstrSeq(std::optional<uint64_t> SizeBound); |
412 | | Expect<void> loadInstruction(AST::Instruction &Instr); |
413 | | /// @} |
414 | | |
415 | | /// \name Load AST nodes functions for component model |
416 | | /// @{ |
417 | | // Sections |
418 | | Expect<void> loadSection(AST::Component::CoreModuleSection &Sec); |
419 | | Expect<void> loadSection(AST::Component::CoreInstanceSection &Sec); |
420 | | Expect<void> loadSection(AST::Component::CoreTypeSection &Sec); |
421 | | Expect<void> loadSection(AST::Component::ComponentSection &Sec); |
422 | | Expect<void> loadSection(AST::Component::InstanceSection &Sec); |
423 | | Expect<void> loadSection(AST::Component::AliasSection &Sec); |
424 | | Expect<void> loadSection(AST::Component::TypeSection &Sec); |
425 | | Expect<void> loadSection(AST::Component::CanonSection &Sec); |
426 | | Expect<void> loadSection(AST::Component::StartSection &Sec); |
427 | | Expect<void> loadSection(AST::Component::ImportSection &Sec); |
428 | | Expect<void> loadSection(AST::Component::ExportSection &Sec); |
429 | | // core:instance and instance |
430 | | Expect<void> loadCoreInstance(AST::Component::CoreInstance &Instance); |
431 | | Expect<void> loadInstance(AST::Component::Instance &Instance); |
432 | | // core:sort and sort |
433 | | Expect<void> loadCoreSort(AST::Component::Sort &Sort); |
434 | | Expect<void> loadSort(AST::Component::Sort &Sort); |
435 | | Expect<void> loadSortIndex(AST::Component::SortIndex &SortIdx, |
436 | | const bool IsCore = false); |
437 | | // core:alias and alias |
438 | | Expect<void> loadCoreAlias(AST::Component::CoreAlias &Alias); |
439 | | Expect<void> loadAlias(AST::Component::Alias &Alias); |
440 | | // core:deftype and deftype |
441 | | Expect<void> loadType(AST::Component::CoreDefType &Ty); |
442 | | Expect<void> loadType(AST::Component::DefType &Ty); |
443 | | Expect<void> loadType(AST::Component::DefValType &Ty, uint8_t Code); |
444 | | Expect<void> loadType(AST::Component::FuncType &Ty); |
445 | | Expect<void> loadType(AST::Component::ComponentType &Ty); |
446 | | Expect<void> loadType(AST::Component::InstanceType &Ty); |
447 | | Expect<void> loadType(AST::Component::ResourceType &Ty); |
448 | | // start |
449 | | Expect<void> loadStart(AST::Component::Start &S); |
450 | | // canonical |
451 | | Expect<void> loadCanonical(AST::Component::Canonical &C); |
452 | | Expect<void> loadCanonicalOption(AST::Component::CanonOpt &Opt); |
453 | | // import |
454 | | Expect<void> loadImport(AST::Component::Import &Im); |
455 | | // export |
456 | | Expect<void> loadExport(AST::Component::Export &Ex); |
457 | | // descs |
458 | | Expect<void> loadDesc(AST::Component::CoreImportDesc &Desc); |
459 | | Expect<void> loadDesc(AST::Component::ExternDesc &Desc); |
460 | | // decls |
461 | | Expect<void> loadDecl(AST::Component::CoreImportDecl &Decl); |
462 | | Expect<void> loadDecl(AST::Component::CoreExportDecl &Decl); |
463 | | Expect<void> loadDecl(AST::Component::CoreModuleDecl &Decl); |
464 | | Expect<void> loadDecl(AST::Component::ImportDecl &Decl); |
465 | | Expect<void> loadDecl(AST::Component::ExportDecl &Decl); |
466 | | Expect<void> loadDecl(AST::Component::InstanceDecl &Decl); |
467 | | Expect<void> loadDecl(AST::Component::ComponentDecl &Decl); |
468 | | // types |
469 | | Expect<void> loadType(AST::Component::RecordTy &RecTy); |
470 | | Expect<void> loadType(AST::Component::VariantTy &Ty); |
471 | | Expect<void> loadType(AST::Component::ListTy &Ty, bool IsFixedLen = false); |
472 | | Expect<void> loadType(AST::Component::TupleTy &Ty); |
473 | | Expect<void> loadType(AST::Component::FlagsTy &Ty); |
474 | | Expect<void> loadType(AST::Component::EnumTy &Ty); |
475 | | Expect<void> loadType(AST::Component::OptionTy &Ty); |
476 | | Expect<void> loadType(AST::Component::ResultTy &Ty); |
477 | | Expect<void> loadType(AST::Component::OwnTy &Ty); |
478 | | Expect<void> loadType(AST::Component::BorrowTy &Ty); |
479 | | Expect<void> loadType(AST::Component::StreamTy &Ty); |
480 | | Expect<void> loadType(AST::Component::FutureTy &Ty); |
481 | | // helpers |
482 | | Expect<void> loadExternName(std::string &Name); |
483 | | Expect<void> loadType(AST::Component::ValueType &Ty); |
484 | | Expect<void> loadType(AST::Component::LabelValType &Ty); |
485 | | template <typename ASTType, typename T> |
486 | 0 | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { |
487 | 0 | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { |
488 | 0 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
489 | 0 | })); |
490 | 0 | switch (Flag) { |
491 | 0 | case 0x01: { |
492 | 0 | T V; |
493 | 0 | EXPECTED_TRY(F(V).map_error([](auto E) { |
494 | 0 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
495 | 0 | return E; |
496 | 0 | })); |
497 | 0 | return std::optional<T>(V); |
498 | 0 | } |
499 | 0 | case 0x00: |
500 | 0 | return std::nullopt; |
501 | 0 | default: |
502 | 0 | return logLoadError(ErrCode::Value::MalformedDefType, |
503 | 0 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
504 | 0 | } |
505 | 0 | } Unexecuted instantiation: cxx20::expected<std::__1::optional<unsigned int>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::ResourceType, unsigned int>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (unsigned int&)>) Unexecuted instantiation: cxx20::expected<std::__1::optional<WasmEdge::AST::Component::ValueType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::VariantTy, WasmEdge::AST::Component::ValueType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::AST::Component::ValueType&)>) Unexecuted instantiation: cxx20::expected<std::__1::optional<WasmEdge::AST::Component::ValueType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::ResultTy, WasmEdge::AST::Component::ValueType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::AST::Component::ValueType&)>) Unexecuted instantiation: cxx20::expected<std::__1::optional<WasmEdge::AST::Component::ValueType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::StreamTy, WasmEdge::AST::Component::ValueType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::AST::Component::ValueType&)>) Unexecuted instantiation: cxx20::expected<std::__1::optional<WasmEdge::AST::Component::ValueType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::FutureTy, WasmEdge::AST::Component::ValueType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::AST::Component::ValueType&)>) Unexecuted instantiation: cxx20::expected<std::__1::optional<WasmEdge::AST::Component::ExternDesc>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::Export, WasmEdge::AST::Component::ExternDesc>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::AST::Component::ExternDesc&)>) |
506 | | /// @} |
507 | | |
508 | | /// \name Loader members |
509 | | /// @{ |
510 | | const Configure Conf; |
511 | | const Serializer Ser; |
512 | | FileMgr FMgr; |
513 | | const Executable::IntrinsicsTable *IntrinsicsTable; |
514 | | std::recursive_mutex Mutex; |
515 | | bool HasDataSection; |
516 | | |
517 | | /// Input data type enumeration. |
518 | | enum class InputType : uint8_t { WASM, UniversalWASM, SharedLibrary }; |
519 | | InputType WASMType = InputType::WASM; |
520 | | /// @} |
521 | | |
522 | | // Metadata |
523 | | std::vector<Byte> ModuleVersion = {0x01, 0x00, 0x00, 0x00}; |
524 | | // spec says 0x0a, but it's actually 0x0d, where cargo component compiled out |
525 | | std::vector<Byte> ComponentVersion = {0x0d, 0x00, 0x01, 0x00}; |
526 | | }; |
527 | | |
528 | | } // namespace Loader |
529 | | } // namespace WasmEdge |