mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
LibWasm: Turn memory read failures into traps
This commit is contained in:
parent
c31a4e9013
commit
7966168fea
2 changed files with 12 additions and 6 deletions
|
@ -27,6 +27,9 @@ private:
|
|||
template<typename V, typename T>
|
||||
MakeSigned<T> checked_signed_truncate(V);
|
||||
|
||||
template<typename T>
|
||||
T read_value(ReadonlyBytes data);
|
||||
|
||||
Vector<NonnullOwnPtr<Value>> pop_values(Configuration& configuration, size_t count);
|
||||
bool trap_if_not(bool value)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue