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

Side by Side Diff: third_party/afl/src/docs/INSTALL

Issue 2238013002: Roll src/third_party/afl/src/ 2.14b..2.30b (16 versions). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Note in "Local Modifications" that we have removed dictionaries/. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « third_party/afl/src/docs/ChangeLog ('k') | third_party/afl/src/docs/QuickStartGuide.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ========================= 1 =========================
2 Installation instructions 2 Installation instructions
3 ========================= 3 =========================
4 4
5 This document provides basic installation instructions and discusses known 5 This document provides basic installation instructions and discusses known
6 issues for a variety of platforms. See README for the general instruction 6 issues for a variety of platforms. See README for the general instruction
7 manual. 7 manual.
8 8
9 1) Linux on x86 9 1) Linux on x86
10 --------------- 10 ---------------
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 To fix this, you may want to build stock GCC from the source, like so: 133 To fix this, you may want to build stock GCC from the source, like so:
134 134
135 $ ./configure --prefix=$HOME/gcc --with-gnu-as --with-gnu-ld \ 135 $ ./configure --prefix=$HOME/gcc --with-gnu-as --with-gnu-ld \
136 --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr 136 --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr
137 $ make 137 $ make
138 $ sudo make install 138 $ sudo make install
139 139
140 Do *not* specify --with-as=/usr/gnu/bin/as - this will produce a GCC binary that 140 Do *not* specify --with-as=/usr/gnu/bin/as - this will produce a GCC binary that
141 ignores the -B flag and you will be back to square one. 141 ignores the -B flag and you will be back to square one.
142 142
143 If you have system-wide crash reporting enabled, you may run into problems 143 Note that Solaris reportedly comes withe crash reporting enabled, which causes
144 similar to the gotchas for Linux and MacOS X, but I have not verified this. 144 problems with crashes being misinterpreted as hangs, similarly to the gotchas
145 More information about AppCrash can be found here: 145 for Linux and MacOS X. AFL does not auto-detect crash reporting on this
146 particular platform, but you may need to run the following command:
146 147
147 http://www.oracle.com/technetwork/server-storage/solaris10/app-crash-142906.ht ml 148 $ coreadm -d global -d global-setid -d process -d proc-setid \
149 -d kzone -d log
148 150
149 User emulation mode of QEMU is not available on Solaris, so black-box 151 User emulation mode of QEMU is not available on Solaris, so black-box
150 instrumentation mode (-Q) will not work. 152 instrumentation mode (-Q) will not work.
151 153
152 6) Everything else 154 6) Everything else
153 ------------------ 155 ------------------
154 156
155 You're on your own. On POSIX-compliant systems, you may be able to compile and 157 You're on your own. On POSIX-compliant systems, you may be able to compile and
156 run the fuzzer; and the LLVM mode may offer a way to instrument non-x86 code. 158 run the fuzzer; and the LLVM mode may offer a way to instrument non-x86 code.
157 159
158 The fuzzer will not run on Windows. It will also not work under Cygwin. It 160 The fuzzer will not run on Windows. It will also not work under Cygwin. It
159 could be ported to the latter platform fairly easily, but it's a pretty bad 161 could be ported to the latter platform fairly easily, but it's a pretty bad
160 idea, because Cygwin is extremely slow. It makes much more sense to use 162 idea, because Cygwin is extremely slow. It makes much more sense to use
161 VirtualBox or so to run a hardware-accelerated Linux VM; it will run around 163 VirtualBox or so to run a hardware-accelerated Linux VM; it will run around
162 20x faster or so. If you have a *really* compelling use case for Cygwin, let 164 20x faster or so. If you have a *really* compelling use case for Cygwin, let
163 me know. 165 me know.
164 166
165 Although Android on x86 should theoretically work, the stock kernel has SHM 167 Although Android on x86 should theoretically work, the stock kernel has SHM
166 support compiled out, so you will need to address this issue first. It's 168 support compiled out, so you will need to address this issue first. It's
167 possible that all you need is this: 169 possible that all you need is this:
168 170
169 https://github.com/pelya/android-shmem 171 https://github.com/pelya/android-shmem
OLDNEW
« no previous file with comments | « third_party/afl/src/docs/ChangeLog ('k') | third_party/afl/src/docs/QuickStartGuide.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698