404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.224.64.19: ~ $
// 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_WASM_TRAP_HANDLER_POSIX_H_
#define V8_WASM_TRAP_HANDLER_POSIX_H_

#include <signal.h>

#include "v8config.h"  // NOLINT(build/include)

namespace v8 {
/**
 * This function determines whether a memory access violation has been an
 * out-of-bounds memory access in WebAssembly. If so, it will modify the context
 * parameter and add a return address where the execution can continue after the
 * signal handling, and return true. Otherwise, false will be returned.
 *
 * The parameters to this function correspond to those passed to a Posix signal
 * handler. Use this function only on Linux and Mac.
 *
 * \param sig_code The signal code, e.g. SIGSEGV.
 * \param info A pointer to the siginfo_t struct provided to the signal handler.
 * \param context A pointer to a ucontext_t struct provided to the signal
 * handler.
 */
V8_EXPORT bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
                                             void* context);

}  // namespace v8
#endif  // V8_WASM_TRAP_HANDLER_POSIX_H_

Filemanager

Name Type Size Permission Actions
libplatform Folder 0755
openssl Folder 0755
uv Folder 0755
common.gypi File 18.71 KB 0644
config.gypi File 3.24 KB 0644
js_native_api.h File 27.9 KB 0644
js_native_api_types.h File 3.81 KB 0644
node.h File 43.1 KB 0644
node_api.h File 11.27 KB 0644
node_api_types.h File 1.62 KB 0644
node_buffer.h File 3.6 KB 0644
node_object_wrap.h File 3.78 KB 0644
node_version.h File 3.69 KB 0644
uv.h File 63.83 KB 0644
v8-internal.h File 13.93 KB 0644
v8-platform.h File 15.09 KB 0644
v8-profiler.h File 32.53 KB 0644
v8-testing.h File 1.05 KB 0644
v8-util.h File 20.17 KB 0644
v8-value-serializer-version.h File 648 B 0644
v8-version-string.h File 1.12 KB 0644
v8-version.h File 772 B 0644
v8-wasm-trap-handler-posix.h File 1.17 KB 0644
v8-wasm-trap-handler-win.h File 1 KB 0644
v8.h File 368.97 KB 0644
v8config.h File 14.25 KB 0644
zconf.h File 16.4 KB 0644
zlib.h File 94.48 KB 0644