vanhauser-thc
2102264acf
fix for new llvm 13 change
2021-03-19 16:06:06 +01:00
vanhauser-thc
848ea17154
add header to PCGUARD
2021-03-19 10:42:23 +01:00
Andrea Fioraldi
1cdf0a898c
update test-dlopen tuples number
2021-03-19 09:58:27 +01:00
Andrea Fioraldi
5be7d9c1cc
fix dynamic list usage error in afl-cc
2021-03-19 09:44:04 +01:00
Andrea Fioraldi
44347beff0
check test-dlopen return code
2021-03-18 21:44:20 +01:00
Andrea Fioraldi
166c8f93b5
test-dlopen llvm test
2021-03-18 21:34:12 +01:00
vanhauser-thc
aa6a50c2b4
fix test
2021-03-15 23:01:07 +01:00
vanhauser-thc
c725cb71de
more time for fp split
2021-03-11 19:12:21 +01:00
vanhauser-thc
adeb0d18b1
fix the auto map fix
2021-03-11 08:59:34 +01:00
vanhauser-thc
0484d9b024
more time for float split test
2021-03-11 00:49:23 +01:00
vanhauser-thc
d60bbff0d9
more time for tests
2021-03-11 00:17:52 +01:00
hexcoder-
1a713ff420
fix qemu AFL_ENTRYPOINT for arm 32 and 64 bit
2021-02-18 19:39:46 +01:00
hexcoder-
7d97ffb1e8
check for setuptools instead of easy_install
2021-02-16 16:27:56 +01:00
hexcoder-
385312c658
fix issue #732 afl-cmin and afl-showmap should support '-f'
2021-02-13 13:31:17 +01:00
hexcoder-
e81f30828f
fix test-qemu-mode.sh to run standalone
2021-02-06 11:24:04 +01:00
van Hauser
981ffb27a8
making AFL_MAP_SIZE obsolete
2021-02-01 12:01:23 +01:00
van Hauser
30148bc1a9
fix afl-showmap and gcc plugin test
2021-01-21 19:58:25 +01:00
van Hauser
3903dac1f5
fix gcc plugin test
2021-01-21 14:17:08 +01:00
van Hauser
ed9f94c5b9
fix CI
2021-01-19 14:20:43 +01:00
hexcoder-
3c88de565a
afl-cmin tests: allow leading whitespace in wc -l
output
2021-01-02 23:17:30 +01:00
hexcoder-
e83a1bc0d1
test-basic.sh: fix color GRAY to GREY
2021-01-02 20:18:26 +01:00
hexcoder-
5d560c1ece
tests: let afl-fuzz run with -D, so more test cases are produced
2020-12-29 23:54:10 +01:00
van Hauser
6f0f167b73
test: skip afl-fuzz test if too few locations were instrumented
2020-12-21 14:05:58 +01:00
van Hauser
a39228def6
make ubuntu 18.04 ci work
2020-12-21 13:36:09 +01:00
van Hauser
2a22dc433c
ci fix
2020-12-21 13:01:56 +01:00
hexcoder-
79c98731c9
small improvements: dump output on error in test-llvm, fix compiler warnings
2020-12-18 09:22:58 +01:00
van Hauser
14c67f15c9
small fixes
2020-12-16 14:22:09 +01:00
van Hauser
76117b0471
fix afl-clang tests
2020-12-13 11:23:56 +01:00
hexcoder-
ce9e127529
remove debugging sh
2020-12-12 22:56:09 +01:00
hexcoder-
c5c852dada
add tests for the missing afl-compiler (afl-gcc or afl-clang)
2020-12-12 22:54:34 +01:00
hexcoder-
aca5b55b6d
test-pre.sh revert removal of afl-clang
2020-12-04 08:46:46 +01:00
van Hauser
1890d7b9cf
very complete runtime lookup rewrite
2020-12-02 15:03:21 +01:00
vanhauser-thc
c05e4efbe9
renamed examples/ to utils/
2020-12-01 14:40:30 +01:00
van Hauser
e865f274f1
fix wrong rename in test
2020-11-30 13:36:27 +01:00
van Hauser
63c317218b
persistent_demo -> persistent_mode
2020-11-30 13:03:33 +01:00
hexcoder-
27c3423fb6
test-pre.sh: remove old uses of afl-clang, afl-cc.c: add missing env.var. AFL_LLVM_LAF_ALL
2020-11-24 19:38:55 +01:00
Dominik Maier
f80f62f14b
renamed env var to AFL_DEBUG_CHILD
2020-11-18 03:02:13 +01:00
hexcoder-
665802673d
typo fixed
2020-11-05 22:58:55 +01:00
van Hauser
ca938e7c4e
asan_build for tmin and analyze
2020-10-24 19:11:41 +02:00
van Hauser
18ad8a097c
travis test
2020-10-24 18:08:54 +02:00
van Hauser
aac0ab8c67
travis test
2020-10-24 17:57:05 +02:00
vanhauser-thc
e5c2779d56
symbolize=1 for travis
2020-10-24 12:16:30 +02:00
van Hauser
56ac3fcdc5
configurable testcache with malloc ( #581 )
...
* cache item number to cache memory size
* reload testcase if trimming changed the size
* fix splicing selection
* slim splicing
* import sync fix
* write testcache stats to fuzzer_stats
* fix new seed selection algo
* malloc+read instead of mmap
* fix
* testcache is configurable now and no reference counts
* fixes compilation, test script
* fixes
* switch TEST_CC to afl-cc in makefile
* code format
* fix
* fix crash
* fix crash
* fix env help output
* remove unnecessary pointer resets
* fix endless loop bug
* actually use the cache if set
* one more fix
* increase default cache entries, add default cache size value to config.h
Co-authored-by: hexcoder- <heiko@hexco.de>
2020-10-14 15:30:30 +02:00
van Hauser
5427f7ca98
fix tests for sync mode
2020-10-12 05:02:11 +02:00
van Hauser
231420775f
fix test-performance.sh
2020-10-06 19:49:48 +02:00
van Hauser
543765bc0d
fix unittests
2020-09-10 16:41:40 +02:00
Alexandre Oliva
9544b3dbf2
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.
2020-09-08 14:55:19 +02:00
vanhauser-thc
e30b2c6af6
final changes for pre-3.0
2020-09-05 13:18:28 +02:00
Dominik Maier
7470b475a9
Reworked maybe_grow to take a single ptr, renamed to afl_realloc ( #505 )
...
* maybe_grow takes a single ptr
* fixed use_deflate
* reworked maybe_grow_bufsize
* helper to access underlying buf
* remove redundant realloc_block
* code format
* fixes
* added unit tests
* renamed maybe_grow to afl_realloc
* BUF_PARAMS -> AFL_BUF_PARAM
2020-08-18 00:50:52 +02:00
Dominik Maier
c3a6e7e870
testcases indicate count
2020-08-14 00:20:04 +02:00