Coverage Report

Created: 2026-11-13 08:07

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.h
Line
Count
Source
1
/*
2
 * Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#pragma once
8
9
#include <LibWasm/AbstractMachine/Configuration.h>
10
11
namespace Wasm {
12
13
struct Interpreter {
14
0
    virtual ~Interpreter() = default;
15
    virtual void interpret(Configuration&) = 0;
16
    virtual bool did_trap() const = 0;
17
    virtual ByteString trap_reason() const = 0;
18
    virtual void clear_trap() = 0;
19
};
20
21
}