OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium 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 source_set("afl_runtime") { |
| 6 # AFL needs this flag to be built with -Werror. This is because it uses u8* |
| 7 # and char* types interchangeably in its source code. The AFL Makefiles use |
| 8 # this flag. |
| 9 cflags = [ "-Wno-pointer-sign" ] |
| 10 |
| 11 configs -= [ |
| 12 # These functions should not be compiled with sanitizers since they |
| 13 # are used by the sanitizers. |
| 14 "//build/config/sanitizers:default_sanitizer_flags", |
| 15 |
| 16 # Every function in this library should have "default" visibility. |
| 17 # Thus we turn off flags which make visibility "hidden" for functions |
| 18 # that do not specify visibility. |
| 19 # The functions in this library will not conflict with others elsewhere |
| 20 # because they begin with a double underscore and/or are static. |
| 21 "//build/config/gcc:symbol_visibility_hidden", |
| 22 ] |
| 23 |
| 24 sources = [ |
| 25 "src/llvm_mode/afl-llvm-rt.o.c", |
| 26 ] |
| 27 } |
OLD | NEW |