v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
handler-outside.cc File Reference
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <atomic>
#include <limits>
#include "src/trap-handler/trap-handler-internal.h"
#include "src/trap-handler/trap-handler.h"
Include dependency graph for handler-outside.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::trap_handler
 

Functions

constexpr size_t v8::internal::trap_handler::HandlerDataSize (size_t num_protected_instructions)
 
CodeProtectionInfov8::internal::trap_handler::CreateHandlerData (uintptr_t base, size_t size, size_t num_protected_instructions, const ProtectedInstructionData *protected_instructions)
 
int v8::internal::trap_handler::RegisterHandlerData (uintptr_t base, size_t size, size_t num_protected_instructions, const ProtectedInstructionData *protected_instructions)
 
void v8::internal::trap_handler::ReleaseHandlerData (int index)
 
bool v8::internal::trap_handler::RegisterV8Sandbox (uintptr_t base, size_t size)
 
void v8::internal::trap_handler::UnregisterV8Sandbox (uintptr_t base, size_t size)
 
int * v8::internal::trap_handler::GetThreadInWasmThreadLocalAddress ()
 
size_t v8::internal::trap_handler::GetRecoveredTrapCount ()
 
bool v8::internal::trap_handler::RegisterDefaultTrapHandler ()
 
void v8::internal::trap_handler::RemoveTrapHandler ()
 
bool v8::internal::trap_handler::EnableTrapHandler (bool use_v8_handler)
 
void v8::internal::trap_handler::SetLandingPad (uintptr_t landing_pad)
 

Variables

constexpr size_t v8::internal::trap_handler::kInitialCodeObjectSize = 1024
 
constexpr size_t v8::internal::trap_handler::kCodeObjectGrowthFactor = 2
 
bool v8::internal::trap_handler::g_is_trap_handler_enabled {false}
 
std::atomic< boolv8::internal::trap_handler::g_can_enable_trap_handler {true}