Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1850)

Unified Diff: testing/libfuzzer/tests/fuzzer_config_and_dict_test.options

Issue 1703523002: [libfuzzer] support of custom libfuzzer options via .options file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits in check_fuzzer_config.py script and fuzzer_launcher_test.cc Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/libfuzzer/tests/fuzzer_config_and_dict_test.options
diff --git a/testing/libfuzzer/tests/fuzzer_config_and_dict_test.options b/testing/libfuzzer/tests/fuzzer_config_and_dict_test.options
new file mode 100644
index 0000000000000000000000000000000000000000..51b022fcfb3e5ecb37ab37be7722fb1b093f4597
--- /dev/null
+++ b/testing/libfuzzer/tests/fuzzer_config_and_dict_test.options
@@ -0,0 +1,20 @@
+# Config for test of .options file for test fuzzer.
+
+
+
+
+#Random empty lines and comments to ensure that parser is stable.
+
+#######
+
+[libfuzzer]
+
+max_len=random(1337, 31337)
+timeout = 666
+
+
+# Assume here is a comment before one of the options.
+use_traces=1
+
+
+# Below should be 'dict' option appended automatically during the build.
« no previous file with comments | « testing/libfuzzer/tests/dicts_subdir/test_subdir.dict ('k') | testing/libfuzzer/tests/fuzzer_config_only_test.options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698