Fossil SCM

Improved comments on the fuzz.c module. No code changes.

drh 2019-09-23 19:50 trunk
Commit 898d5b6de7436f62075478dbf4ea3c90534d853070371c6344140bc58c8ca27f
1 file changed +8 -4
+8 -4
--- src/fuzz.c
+++ src/fuzz.c
@@ -13,24 +13,28 @@
1313
** [email protected]
1414
** http://www.hwaci.com/drh/
1515
**
1616
*******************************************************************************
1717
**
18
-** This file contains code to connect Fossil to libFuzzer.
18
+** This file contains code to connect Fossil to libFuzzer. Do a web search
19
+** for "libfuzzer" for details about that fuzzing platform.
1920
**
20
-** To build on linux (the only platform for which this works) first do
21
+** To build on linux (the only platform for which this works at
22
+** present) first do
2123
**
2224
** ./configure
2325
**
24
-** The edit the Makefile as follows:
26
+** Then edit the Makefile as follows:
2527
**
2628
** (1) Change CC to be "clang-6.0" or some other compiler that
2729
** supports libFuzzer
2830
**
2931
** (2) Chagne APPNAME to "fossil-fuzz"
3032
**
31
-** (3) Add "-fsanitize=fuzzer" and "-DFOSSIL_FUZZ" to TCCFLAGS
33
+** (3) Add "-fsanitize=fuzzer" and "-DFOSSIL_FUZZ" to TCCFLAGS. Perhaps
34
+** make the first change "-fsanitize=fuzzer,undefined,address" for
35
+** extra, but slower, testing.
3236
**
3337
** Then build the fuzzer using:
3438
**
3539
** make clean fossil-fuzz
3640
**
3741
--- src/fuzz.c
+++ src/fuzz.c
@@ -13,24 +13,28 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code to connect Fossil to libFuzzer.
 
19 **
20 ** To build on linux (the only platform for which this works) first do
 
21 **
22 ** ./configure
23 **
24 ** The edit the Makefile as follows:
25 **
26 ** (1) Change CC to be "clang-6.0" or some other compiler that
27 ** supports libFuzzer
28 **
29 ** (2) Chagne APPNAME to "fossil-fuzz"
30 **
31 ** (3) Add "-fsanitize=fuzzer" and "-DFOSSIL_FUZZ" to TCCFLAGS
 
 
32 **
33 ** Then build the fuzzer using:
34 **
35 ** make clean fossil-fuzz
36 **
37
--- src/fuzz.c
+++ src/fuzz.c
@@ -13,24 +13,28 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code to connect Fossil to libFuzzer. Do a web search
19 ** for "libfuzzer" for details about that fuzzing platform.
20 **
21 ** To build on linux (the only platform for which this works at
22 ** present) first do
23 **
24 ** ./configure
25 **
26 ** Then edit the Makefile as follows:
27 **
28 ** (1) Change CC to be "clang-6.0" or some other compiler that
29 ** supports libFuzzer
30 **
31 ** (2) Chagne APPNAME to "fossil-fuzz"
32 **
33 ** (3) Add "-fsanitize=fuzzer" and "-DFOSSIL_FUZZ" to TCCFLAGS. Perhaps
34 ** make the first change "-fsanitize=fuzzer,undefined,address" for
35 ** extra, but slower, testing.
36 **
37 ** Then build the fuzzer using:
38 **
39 ** make clean fossil-fuzz
40 **
41

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button