#include <algorithm>
#include <vector>
#include <iostream>
#include <iterator>
#include <cmath>
#include <cstdlib>
#include <catch2/catch.hpp>
#include <utils.hpp>
#include <wasm_config.hpp>
#include <sysio/vm/backend.hpp>
Go to the source code of this file.
◆ BACKEND_TEST_CASE() [1/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_1_wasm>" | , |
|
|
"" | [func_ptrs_1_wasm_tests] ) |
Definition at line 18 of file func_ptrs_tests.cpp.
18 {
20 auto code =
read_wasm( std::string(wasm_directory) +
"func_ptrs.1.wasm");
22}
sysio::vm::backend< rhf_t > backend_t
#define CHECK_THROWS_AS(expr, exceptionType)
std::vector< uint8_t > read_wasm(const std::string &fname)
◆ BACKEND_TEST_CASE() [2/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_2_wasm>" | , |
|
|
"" | [func_ptrs_2_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [3/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_3_wasm>" | , |
|
|
"" | [func_ptrs_3_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [4/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_4_wasm>" | , |
|
|
"" | [func_ptrs_4_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [5/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_5_wasm>" | , |
|
|
"" | [func_ptrs_5_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [6/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_6_wasm>" | , |
|
|
"" | [func_ptrs_6_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [7/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_7_wasm>" | , |
|
|
"" | [func_ptrs_7_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [8/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_8_wasm>" | , |
|
|
"" | [func_ptrs_8_wasm_tests] ) |
Definition at line 60 of file func_ptrs_tests.cpp.
60 {
62 auto code =
read_wasm( std::string(wasm_directory) +
"func_ptrs.8.wasm");
64
85}
auto call_with_return(host_t &host, const std::string_view &mod, const std::string_view &func, Args... args)
backend_t bkend(hello_wasm, ehm, &wa)
◆ BACKEND_TEST_CASE() [9/9]
BACKEND_TEST_CASE |
( |
"Testing wasm <func_ptrs_9_wasm>" | , |
|
|
"" | [func_ptrs_9_wasm_tests] ) |
◆ wa