Chromium Code Reviews| 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") { | |
|
inferno
2016/06/21 14:53:18
s/afl_runtime/afl
| |
| 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" ] | |
|
inferno
2016/06/21 14:53:18
I think you meant += instead of =
| |
| 10 | |
| 11 # These functions should not be compiled with sanitizers since they | |
|
inferno
2016/06/21 14:53:18
move line 11-12 to before line 14 just like line 1
| |
| 12 # are used by the sanitizers. | |
| 13 configs -= [ | |
| 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 |