v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
ubsan.h
Go to the documentation of this file.
1
// Copyright 2024 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_BASE_SANITIZER_UBSAN_H_
6
#define V8_BASE_SANITIZER_UBSAN_H_
7
8
// UndefinedBehaviorSanitizer support.
9
10
#if defined(UNDEFINED_SANITIZER)
11
12
#define DISABLE_UBSAN __attribute__((no_sanitize("undefined")))
13
14
#else
// !defined(UNDEFINED_SANITIZER)
15
16
#define DISABLE_UBSAN
17
18
#endif
// !defined(UNDEFINED_SANITIZER)
19
20
#endif
// V8_BASE_SANITIZER_UBSAN_H_
src
base
sanitizer
ubsan.h
Generated on Sun Apr 6 2025 21:08:50 for v8 by
1.12.0