v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
code-pointer.h
Go to the documentation of this file.
1// Copyright 2023 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_SANDBOX_CODE_POINTER_H_
6#define V8_SANDBOX_CODE_POINTER_H_
7
10
11namespace v8 {
12namespace internal {
13
14// Read the pointer to a Code's entrypoint via a code pointer.
15// Only available when the sandbox is enabled as it requires the code pointer
16// table.
19
20// Writes the pointer to a Code's entrypoint via a code pointer.
21// Only available when the sandbox is enabled as it requires the code pointer
22// table.
24 Address value,
26
27} // namespace internal
28} // namespace v8
29
30#endif // V8_SANDBOX_CODE_POINTER_H_
V8_INLINE Address ReadCodeEntrypointViaCodePointerField(Address field_address, CodeEntrypointTag tag)
V8_INLINE void WriteCodeEntrypointViaCodePointerField(Address field_address, Address value, CodeEntrypointTag tag)
#define V8_INLINE
Definition v8config.h:500