v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
handler-inside-win.h
Go to the documentation of this file.
1
// Copyright 2018 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_
6
#define V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_
7
8
#include <windows.h>
9
10
#include "
src/trap-handler/trap-handler.h
"
// For TH_DISABLE_ASAN.
11
12
namespace
v8
{
13
namespace
internal
{
14
namespace
trap_handler {
15
16
LONG
WINAPI
HandleWasmTrap
(EXCEPTION_POINTERS* exception);
17
18
// On Windows, asan installs its own exception handler which maps shadow
19
// memory. Since our exception handler may be executed before the asan exception
20
// handler, we have to make sure that asan shadow memory is not accessed here.
21
TH_DISABLE_ASAN
bool
TryHandleWasmTrap
(EXCEPTION_POINTERS* exception);
22
23
}
// namespace trap_handler
24
}
// namespace internal
25
}
// namespace v8
26
27
#endif
// V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_
v8::internal::trap_handler::TryHandleWasmTrap
TH_DISABLE_ASAN bool TryHandleWasmTrap(EXCEPTION_POINTERS *exception)
v8::internal::trap_handler::HandleWasmTrap
LONG WINAPI HandleWasmTrap(EXCEPTION_POINTERS *exception)
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
trap-handler.h
TH_DISABLE_ASAN
#define TH_DISABLE_ASAN
Definition
trap-handler.h:102
LONG
long LONG
Definition
win32-headers.h:53
WINAPI
#define WINAPI
Definition
win32-headers.h:58
src
trap-handler
handler-inside-win.h
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0