/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/trap-handler/handler-inside-win.h
27 строк
902 B
Michaël Zasso
deps: update V8 to 9.2.230.21
20 июл 2021, 16:24
Не верифицирован
20 июл 2021, 16:24
6cdd310
Код
Авторство
О чём код?
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_ #define V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_ #include <windows.h> #include "src/trap-handler/trap-handler.h" // For TH_DISABLE_ASAN. namespace v8 { namespace internal { namespace trap_handler { LONG WINAPI HandleWasmTrap(EXCEPTION_POINTERS* exception); // On Windows, asan installs its own exception handler which maps shadow // memory. Since our exception handler may be executed before the asan exception // handler, we have to make sure that asan shadow memory is not accessed here. TH_DISABLE_ASAN bool TryHandleWasmTrap(EXCEPTION_POINTERS* exception); } // namespace trap_handler } // namespace internal } // namespace v8 #endif // V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_