159 Commits

Author SHA1 Message Date
vanhauser-thc
70c1de5d64 better forkserver error help and code format 2021-03-24 11:12:44 +01:00
vanhauser-thc
dfe6f7f8c9 make setting different file permissions easy via config.h 2021-03-23 20:21:08 +01:00
vanhauser-thc
fb2a6b6941 minimum sync time 2021-02-22 16:56:35 +01:00
Adrian Panasiuk
d046b28f2f Fix "src" attribute in sync stage filenames (#703) 2021-01-27 03:04:06 +00:00
van Hauser
e91f3b0de6 codeql fix 2021-01-19 10:41:42 +01:00
van Hauser
b9ba2805e5 minor changes 2021-01-12 17:31:29 +01:00
van Hauser
efd8042431 fix lto cmplog instability 2021-01-12 13:42:00 +01:00
Dominik Maier
3d1a25ce4e added check to silence scan-build 2021-01-08 11:54:35 +01:00
van Hauser
6c095b3937 code format 2021-01-04 23:13:56 +01:00
hexcoder-
c6e038fe25 code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.) 2021-01-04 20:40:53 +01:00
van Hauser
688f4ffb89 added corpus introspection 2020-12-28 14:01:48 +01:00
van Hauser
03849d147a warn on _AFL and __AFL env vars 2020-12-23 17:56:39 +01:00
hexcoder-
9a5ea5b5c2 workaround for Solaris: NAME_MAX is not defined 2020-12-22 20:33:06 +01:00
van Hauser
d07b0169cb skim import 2020-12-17 10:55:33 +01:00
hexcoder-
befb1a2f39 remove stray debugging fprintf 2020-12-12 16:40:13 +01:00
hexcoder-
fd30a4184a typo 2020-12-12 16:37:23 +01:00
Dominik Maier
609f3d0265 fixed gcc analyzer warnings 2020-12-11 13:29:45 +01:00
Dominik Maier
1dbefc14ea fixed bugs in custom_describe, reported by wizche 2020-12-04 14:26:48 +01:00
hexcoder-
ed2f82eaf4 fix compiler warning turned error on NetBSD 2020-11-24 16:13:58 +01:00
Dominik Maier
f80f62f14b renamed env var to AFL_DEBUG_CHILD 2020-11-18 03:02:13 +01:00
van Hauser
c06b5a1564 fix sync issue 2020-11-17 17:02:33 +01:00
van Hauser
3cfc0174f7 fix -N for forkserver 2020-11-03 16:00:29 +01:00
van Hauser
b5686eb63e fixes two huge bugs 2020-10-29 00:05:28 +01:00
van Hauser
f41aafa4f7 retake from mem if possible 2020-10-15 15:48:39 +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
c39a552cc0 ignore unstable 2020-09-02 20:30:26 +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
root
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511ad767d2240cf2dc6d3e261daa676f9, reversing
changes made to 15e799f7ae666418e75c6a79db833c5316b21f97.
2020-08-14 14:35:05 +02:00
van Hauser
a7537b5511
Merge branch 'debug' into dev 2020-08-14 13:23:14 +02:00
van Hauser
7a6867e2f8 split up __afl_manual_init, added internal AFL_DISABLE_LLVM_INSTRUMENTATION, skipping ctor+ifunc functions for all llvm, code-format 2020-08-12 16:06:30 +02:00
van Hauser
b38837f4ff setting attribute hot intelligently gives 0.5% speed 2020-08-12 14:14:44 +02:00
van Hauser
220dc4a43d review done, pray 2020-08-11 16:25:35 +02:00
van Hauser
457f627101 move taint_mode var 2020-08-11 15:10:18 +02:00
van Hauser
3ec1b23743 cleanup minor issues 2020-08-11 10:36:34 +02:00
van Hauser
67dac15226
Merge branch 'debug' into taint 2020-08-11 03:40:12 +02:00
Dominik Maier
a422fcaa40 fixed minor inconsistencies, reenabled warnings 2020-08-10 19:04:51 +02:00
van Hauser
3ecafde29d increase stack size 2020-08-10 13:59:30 +02:00
van Hauser
8428b18d2a fix another segfault 2020-08-10 13:30:25 +02:00
van Hauser
9ec223c844 final touches for first testing 2020-08-09 23:47:51 +02:00
van Hauser
e99d7e9730 integration in fuzz_one 2020-08-09 20:24:56 +02:00
van Hauser
b60663c031 taint integration done 2020-08-09 18:48:12 +02:00
van Hauser
32db31b555 fixes 2020-08-09 12:35:52 +02:00
van Hauser
a1129b67c2 changes 2020-08-09 12:15:36 +02:00
van Hauser
0bb59ba116 code format 2020-08-09 01:09:26 +02:00
van Hauser
e4a0237cbc step 1 2020-08-09 00:35:12 +02:00
Dominik Maier
22d3a5e90a enabled Wextra, fixed bugs 2020-08-07 16:55:58 +02:00
van Hauser
f30ca1476c fix short write 2020-08-05 11:17:15 +02:00
van Hauser
fc401f1acc fix post process check 2020-07-30 11:51:13 +02:00
van Hauser
35a448ee92 enhance for custom trim buffer 2020-07-30 09:20:22 +02:00
van Hauser
3f9f00a798
Merge pull request #460 from rish9101/dev
Add post-process functionality in write_with_gap
2020-07-30 09:15:42 +02:00