1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

LibWasm: Use AK::StackInfo to track stack size

This way, we can make sure that it doesn't overflow when ASAN is
enabled.
This commit is contained in:
Ali Mohammad Pur 2021-07-11 13:02:42 +04:30 committed by Ali Mohammad Pur
parent 8ae425cec8
commit 65355c388b
3 changed files with 5 additions and 2 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <AK/StackInfo.h>
#include <LibWasm/AbstractMachine/Configuration.h>
#include <LibWasm/AbstractMachine/Interpreter.h>
@ -57,6 +58,7 @@ protected:
}
Optional<Trap> m_trap;
StackInfo m_stack_info;
};
struct DebuggerBytecodeInterpreter : public BytecodeInterpreter {