mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +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:
parent
8ae425cec8
commit
65355c388b
Notes:
sideshowbarker
2024-07-18 09:11:04 +09:00
Author: https://github.com/alimpfard
Commit: 65355c388b
Pull-request: https://github.com/SerenityOS/serenity/pull/8633
Issue: https://github.com/SerenityOS/serenity/issues/7158
Issue: https://github.com/SerenityOS/serenity/issues/8629
3 changed files with 5 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue