OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 declare_args() { | 5 declare_args() { |
6 # Use libc++ (buildtools/third_party/libc++ and | 6 # Use libc++ (buildtools/third_party/libc++ and |
7 # buildtools/third_party/libc++abi) instead of stdlibc++ as standard library. | 7 # buildtools/third_party/libc++abi) instead of stdlibc++ as standard library. |
8 # This is intended to be used for instrumented builds. | 8 # This is intended to be used for instrumented builds. |
9 use_custom_libcxx = (is_asan && is_linux) || is_tsan || is_msan | 9 use_custom_libcxx = (is_asan && is_linux) || is_tsan || is_msan |
10 | 10 |
11 # Track where uninitialized memory originates from. From fastest to slowest: | 11 # Track where uninitialized memory originates from. From fastest to slowest: |
12 # 0 - no tracking, 1 - track only the initial allocation site, 2 - track the | 12 # 0 - no tracking, 1 - track only the initial allocation site, 2 - track the |
13 # chain of stores leading from allocation site to use site. | 13 # chain of stores leading from allocation site to use site. |
14 msan_track_origins = 2 | 14 msan_track_origins = 2 |
15 | 15 |
16 # Use dynamic libraries instrumented by one of the sanitizers instead of the | 16 # Use dynamic libraries instrumented by one of the sanitizers instead of the |
17 # standard system libraries. Set this flag to download prebuilt binaries from | 17 # standard system libraries. Set this flag to download prebuilt binaries from |
18 # GCS. | 18 # GCS. |
19 use_prebuilt_instrumented_libraries = false | 19 use_prebuilt_instrumented_libraries = false |
| 20 |
| 21 # Enable building with SyzyAsan which can find certain types of memory |
| 22 # errors. Only works on Windows. See |
| 23 # https://code.google.com/p/sawbuck/wiki/SyzyASanHowTo |
| 24 is_syzyasan = false |
20 } | 25 } |
OLD | NEW |