#include "src/sandbox/sandbox.h"
#include "include/v8-internal.h"
#include "src/base/bits.h"
#include "src/base/bounded-page-allocator.h"
#include "src/base/cpu.h"
#include "src/base/emulated-virtual-address-subspace.h"
#include "src/base/lazy-instance.h"
#include "src/base/sys-info.h"
#include "src/base/utils/random-number-generator.h"
#include "src/base/virtual-address-space-page-allocator.h"
#include "src/base/virtual-address-space.h"
#include "src/flags/flags.h"
#include "src/sandbox/hardware-support.h"
#include "src/sandbox/sandboxed-pointer.h"
#include "src/trap-handler/trap-handler.h"
#include "src/utils/allocation.h"
namespace v8 {
namespace internal {
#ifdef V8_ENABLE_SANDBOX
static Address DetermineAddressSpaceLimit() { … }
void Sandbox::Initialize(v8::VirtualAddressSpace* vas) { … }
bool Sandbox::Initialize(v8::VirtualAddressSpace* vas, size_t size,
bool use_guard_regions) { … }
bool Sandbox::InitializeAsPartiallyReservedSandbox(v8::VirtualAddressSpace* vas,
size_t size,
size_t size_to_reserve) { … }
void Sandbox::FinishInitialization() { … }
void Sandbox::InitializeConstants() { … }
void Sandbox::TearDown() { … }
DEFINE_LAZY_LEAKY_OBJECT_GETTER(…)
#endif
}
}