aboutsummaryrefslogtreecommitdiff
path: root/examples/apache
diff options
context:
space:
mode:
authorRobert Swiecki <swiecki@google.com>2017-01-30 17:22:59 +0100
committerRobert Swiecki <swiecki@google.com>2017-01-30 17:22:59 +0100
commitbbccdca0183bd49eccb071f64ffb110eaf94133b (patch)
treec05f0a73d00150c17426ac31762552ab870cb182 /examples/apache
parent2f9a4f108d9c32628c97b2594bdf173a3f5d5504 (diff)
readme
Diffstat (limited to 'examples/apache')
-rw-r--r--examples/apache/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/apache/README.md b/examples/apache/README.md
index dbae8730..d5b3a56d 100644
--- a/examples/apache/README.md
+++ b/examples/apache/README.md
@@ -25,7 +25,8 @@ version strings of the libraries (e.g. apr-1.5.2). You need to modify them, so t
```
* NgHttp2
```
- CXX=clang++-4.0 CC=clang-4.0 LDFLAGS="$LIBS" CFLAGS="-ggdb -fno-builtin -fno-inline -funroll-loops -fsanitize-coverage=trace-cmp,trace-pc-guard,indirect-calls" CXXFLAGS="$CFLAGS" ./configure
+ $ CXX=clang++-4.0 CC=clang-4.0 LDFLAGS="$LIBS" CFLAGS="-ggdb -fno-builtin -fno-inline -funroll-loops -fsanitize-coverage=trace-cmp,trace-pc-guard,indirect-calls" CXXFLAGS="$CFLAGS" ./configure
+ $ make
```
3. Unpack apache-2.4.x.tar.bz2
4. Patch Apache
@@ -36,15 +37,16 @@ version strings of the libraries (e.g. apr-1.5.2). You need to modify them, so t
```
5. Configure, compile and install Apache
+ * edit the _compile.sh_ file first, providing correct paths to libraries and
+ the destination directory
```
$ make distclean
- $ sh compile.sh
$ make -j4
```
6. Copy custom configuration files to /home/swiecki/fuzz/apache/apache2/conf/
```
- cp httpd.conf.h1 httpd.conf.h2 /home/swiecki/fuzz/apache/apache2/conf/
+ $ cp httpd.conf.h1 httpd.conf.h2 /home/swiecki/fuzz/apache/apache2/conf/
```
**Fuzzing**