about summary refs log tree commit diff
path: root/docs/vuln_samples
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2020-09-07 12:35:31 -0300
committerPaul Butcher <butcher@adacore.com>2020-09-08 14:55:19 +0200
commit9544b3dbf22f1007f7d3f77593ec746a0345a587 (patch)
treed8fe0fe7e79dd5458d393de4df1fd0bfa62b9888 /docs/vuln_samples
parent43cb626ad3d36024529ddc459032e664282f3cab (diff)
downloadafl++-9544b3dbf22f1007f7d3f77593ec746a0345a587.tar.gz
rewrite gcc plugin
When we started using AFL, it did not have an integrated GCC plugin.
There was one proposed by Austin Seipp, but for various reasons we
ended up using some of its infrastructure (runtime and wrapper), but
writing the GCC plugin proper from scratch.

With AFL++'s renewed interest in a GCC plugin, we rebased ours, with
some features that are or were missing in the one that was integrated:

* efficient, fully-functional inline and out-of-line instrumentation

Inline instrumentation was work in progress in the original plugin.
Controlled by AFL_GCC_OUT_OF_LINE.

* reproducible instrumentation

Obey -frandom-seed for pseudorandom number generation.

* licensing clarity and strict compliance

GPLv3+ for the plugin, that uses GCC internals; add a copy of the
license, as required.

* allow/deny list support

Copied and adjusted from the LLVM plugin implementation.

* neverZero support

Not as compact as the asm-wrapper version, but likely more efficient.
Both are quite thread-unsafe, with different caveats.
Controlled with AFL_GCC_SKIP_NEVERZERO.
Diffstat (limited to 'docs/vuln_samples')
0 files changed, 0 insertions, 0 deletions