You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
</code></pre></div><p>AFL++ has many build options.
157
157
The easiest is to build and install everything:</p>
158
-
<divclass="highlight"><prestyle="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><codeclass="language-shell" data-lang="shell">$ make distrib
158
+
<divclass="highlight"><pretabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><codeclass="language-shell" data-lang="shell">$ make distrib
159
159
$ sudo make install
160
160
</code></pre></div><p>Note that “make distrib” also builds llvm_mode, qemu_mode, unicorn_mode and
161
161
more. If you just want plain afl then do “make all”, however compiling and
162
162
using at least llvm_mode is highly recommended for much better results -
163
163
hence in this case</p>
164
-
<divclass="highlight"><prestyle="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><codeclass="language-shell" data-lang="shell">$ make source-only
164
+
<divclass="highlight"><pretabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><codeclass="language-shell" data-lang="shell">$ make source-only
165
165
</code></pre></div><p>is what you should choose.</p>
166
166
<p>These build options exist:</p>
167
167
<ul>
@@ -177,11 +177,11 @@ <h2 class="book-brand">
177
177
</ul>
178
178
<p><ahref="https://developer.apple.com/library/archive/qa/qa1118/_index.html">Unless you are on Mac OS X</a> you can also build statically linked versions of the
179
179
AFL++ binaries by passing the STATIC=1 argument to make:</p>
180
-
<divclass="highlight"><prestyle="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><codeclass="language-shell" data-lang="shell">$ make all STATIC<spanstyle="color:#f92672">=</span><spanstyle="color:#ae81ff">1</span>
180
+
<divclass="highlight"><pretabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><codeclass="language-shell" data-lang="shell">$ make all STATIC<spanstyle="color:#f92672">=</span><spanstyle="color:#ae81ff">1</span>
181
181
</code></pre></div><p>Note that AFL++ is faster and better the newer the compilers used are.
182
182
Hence gcc-9 and especially llvm-9 should be the compilers of choice.
183
183
If your distribution does not have them, you can use the Dockerfile:</p>
0 commit comments