aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/fuzz.gyp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-01-14 04:59:42 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-14 04:59:42 -0800
commit24a22c7de8890642e43d6ae1115ecd59e2f8f0db (patch)
tree347144a6771c3132ac176ef02b09ad81e351ed93 /gyp/fuzz.gyp
parent702501ddca7cf9b7b941ad286a0c9aa37fda86ef (diff)
some fuzz hacking
Try to start faster: - remove flags dependency - print nothing - strip unused symbols from the binary on Mac (smaller binary) - only create one fuzz object - only run one DEF_FUZZ I am not sure if any of these things mattered, but I thought you may like to look. Good stuff: - make nextU() / nextF() work - drop nextURange() / nextFRange() for now - add nextB() for a single byte As you may have guessed, I have figured out how to use afl-fuzz on my laptop. Syntax to run becomes: $ afl-fuzz ... out/Release/fuzz <DEF_FUZZ name> @@ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1581203003 Review URL: https://codereview.chromium.org/1581203003
Diffstat (limited to 'gyp/fuzz.gyp')
-rw-r--r--gyp/fuzz.gyp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gyp/fuzz.gyp b/gyp/fuzz.gyp
index 40845a1653..4290ff5fb5 100644
--- a/gyp/fuzz.gyp
+++ b/gyp/fuzz.gyp
@@ -9,9 +9,9 @@
'target_name': 'fuzz',
'type': 'executable',
'sources': [ '<!@(python find.py ../fuzz "*.cpp")' ],
- 'dependencies': [
- 'flags.gyp:flags',
- 'skia_lib.gyp:skia_lib',
- ],
+ 'dependencies': [ 'skia_lib.gyp:skia_lib' ],
+ 'xcode_settings': {
+ 'DEAD_CODE_STRIPPING': 'YES',
+ },
}],
}