594 Commits

Author SHA1 Message Date
Akira Moroo
9100f3c416 Add initial CoreSight mode support
The original code is:
https://github.com/RICSecLab/AFLplusplus-cs/tree/retrage/coresight-mode-pr

Signed-off-by: Akira Moroo <retrage01@gmail.com>
2021-11-11 09:52:21 +00:00
Your Name
93b8f17242 Add support for option to disable backpatch 2021-11-08 18:17:09 +00:00
vanhauser-thc
3483715789 env 2021-11-07 14:10:02 +01:00
van Hauser
fb443eaf23
Merge pull request #1141 from AFLplusplus/afl4
cmplog enhancement variant
2021-11-07 14:09:09 +01:00
vanhauser-thc
2ddbaa439c 30% faster hashing speed 2021-11-06 16:22:38 +01:00
vanhauser-thc
61039b410c better error report for old qemu/frida cmplog 2021-11-06 14:29:16 +01:00
vanhauser-thc
9325a4fcbb http->https 2021-11-06 10:28:22 +01:00
vanhauser-thc
6ce3d7fede add AFL_USE_TSAN 2021-11-04 15:53:17 +01:00
van Hauser
f5535e348d
Merge pull request #1142 from AFLplusplus/dev
Dev
2021-11-03 21:55:21 +01:00
vanhauser-thc
01d266f2b4 wipe overflow data 2021-10-31 12:40:32 +01:00
vanhauser-thc
639d108512 add cmplog compatability check 2021-10-31 12:29:45 +01:00
Your Name
f14b3bd9de Fix issues with Yama restrictions in FRIDA mode 2021-10-26 18:48:13 +01:00
vanhauser-thc
b4e328803c variants 2021-10-26 18:10:57 +02:00
vanhauser-thc
45d668a671 better ui banner 2021-10-18 13:17:07 +02:00
vanhauser-thc
ed10f3783b new rtn cmplog: instrumentation side + supporting functions 2021-10-17 13:05:33 +02:00
hexcoder-
e80131bef5 fix some compiler warnings in 32-bit linux 2021-10-02 22:47:22 +02:00
vanhauser-thc
f760e80729 add check_binary_signatures for afl-* utils 2021-09-07 17:16:23 +02:00
Your Name
e5f5d5886a Add unstable coverage support 2021-08-26 18:06:41 +01:00
Your Name
028f8ced8f Fixed coverage on OSX (dependency on pipe2)
Removed use of 'realpath' in makefiles to fix OSX incompatibility
Fixed handling of when prefetching should be enabled
Snap the main binary during initialization to avoid stability issues with lazy loading
Add support for configurable inline cache entries for FRIDA on x86/x64
Support for prefetching FRIDA backpatches on x86/x64
Improved stats support on x86/x64/aarch64
2021-08-20 17:28:40 +01:00
Your Name
5f20137e9d Add support for generating coverage information 2021-08-17 18:30:30 +01:00
vanhauser-thc
c775f40ebf AFL_IGNORE_PROBLEMS + library checks and documentation 2021-08-12 14:32:44 +02:00
vanhauser-thc
da23c4254b makefile fixes 2021-07-30 15:52:00 +02:00
van Hauser
fff8c49f7c
Merge pull request #1034 from AFLplusplus/grammatron
Grammatron
2021-07-20 08:57:37 +02:00
vanhauser-thc
0daffb6283 3.15a init 2021-07-19 11:15:51 +02:00
vanhauser-thc
1e23a8d678 update config.h 2021-07-19 10:49:28 +02:00
WorksButNotTested
9e8afcc615
Support for setting a fixed seed for the hash function (#1026)
Co-authored-by: Your Name <you@example.com>
2021-07-15 20:32:44 +02:00
vanhauser-thc
d354ec2586 more fixes 2021-07-09 11:39:25 +02:00
vanhauser-thc
e1d5009229 fixes 2021-07-09 10:32:14 +02:00
WorksButNotTested
bf9a155418
Support for excluding JIT code (#1006)
Co-authored-by: Your Name <you@example.com>
2021-07-06 09:09:31 +02:00
van Hauser
7038e56da3
Select (#995)
* favor unfuzzed

* fix

* reinit table after a new fuzz
2021-06-27 10:22:18 +02:00
WorksButNotTested
f348a35ec6
Added JS support (#992)
* Added JS support

* Added some documentation

Co-authored-by: Your Name <you@example.com>
2021-06-24 19:46:08 +02:00
vanhauser-thc
35153e9b49 correct map size for small targets 2021-06-16 15:33:03 +02:00
WorksButNotTested
b9f260452e
Improve tracing support to include real addresses and edge ids and also support logging edges only once (#972)
Co-authored-by: Your Name <you@example.com>
2021-06-11 10:51:47 +02:00
vanhauser-thc
a7340a1ac6 fix AFL_CAL_FAST 2021-06-10 10:25:37 +02:00
WorksButNotTested
b8092c6227
FRIDA - Remove need for AFL_FRIDA_PERSISTENT_RETADDR_OFFSET (#970)
Co-authored-by: Your Name <you@example.com>
2021-06-10 10:07:21 +02:00
vanhauser-thc
bdc7aa1a94 v3.14a init 2021-06-01 12:39:13 +02:00
vanhauser-thc
f9ca2cf989 v3.13c release 2021-06-01 12:15:14 +02:00
vanhauser-thc
8017f88614 debug ck_write 2021-06-01 11:00:56 +02:00
hexcoder
97a1f89881
Merge branch 'dev' into going_atomic 2021-05-31 19:18:24 +02:00
hexcoder-
c9539aa6b7 support new env var AFL_LLVM_THREADSAFE_INST to enable atomic counters.
add new test case for that.
2021-05-30 11:45:11 +02:00
WorksButNotTested
6883605d13
Support writing Stalker stats (#945)
* Support writing Stalker stats

* Fixed string handling in print functions

Co-authored-by: Your Name <you@example.com>
2021-05-29 00:43:14 +02:00
WorksButNotTested
f677be5e86
Support for AFL_FRIDA_PERSISTENT_RET (#941)
Co-authored-by: Your Name <you@example.com>
2021-05-27 22:33:44 +02:00
vanhauser-thc
87b16c4460 add AFL_TRY_AFFINITY 2021-05-25 10:45:24 +02:00
vanhauser-thc
8e75adfee5 AFL_SKIP_CRASHES is obsolete since 3.0 2021-05-25 09:22:50 +02:00
vanhauser-thc
109383f438 less executions on variable paths 2021-05-25 09:08:31 +02:00
Dominik Maier
cdae3d3d03 cleaned up AFL_PRINT_FILENAMES env 2021-05-19 22:21:46 +02:00
WorksButNotTested
e40c0c2da1
FASAN Support (#918)
* FASAN Support

* Fix handling of Address Sanitizer DSO

* Changes to identification of Address Sanitizer DSO

Co-authored-by: Your Name <you@example.com>
2021-05-17 20:02:45 +02:00
vanhauser-thc
6c274546c4 ensure crashes/README.txt exists 2021-05-08 11:03:56 +02:00
Roman M. Iudichev
069e61dfc6
Exit on time (#904)
* Variable AFL_EXIT_ON_TIME description has been added.
Variables AFL_EXIT_ON_TIME and afl_exit_on_time has been added.
afl->exit_on_time variable initialization has been added.
The asignment of a value to the afl->afl_env.afl_exit_on_time variable from
environment variables has been added.
Code to exit on timeout if new path not found has been added.

* Type of afl_exit_on_time variable has been changed.
Variable exit_on_time has been added to the afl_state_t structure.

* Command `export AFL_EXIT_WHEN_DONE=1` has been added.

* Millisecond to second conversion has been added.
Call get_cur_time() has been added.

* Revert to using the saved current time value.

* Useless check has been removed.
2021-05-07 17:32:17 +02:00
realmadsci
1d9a3d955c
Fix memory errors when trim causes testcase growth (#881) (#903)
* Revert "fixed potential double free in custom trim (#881)"

This reverts commit e9d2f72382cab75832721d859c3e731da071435d.

* Revert "fix custom trim for increasing data"

This reverts commit 86a8ef168dda766d2f25f15c15c4d3ecf21d0667.

* Fix memory errors when trim causes testcase growth

Modify trim_case_custom to avoid writing into in_buf because
some custom mutators can cause the testcase to grow rather than
shrink.

Instead of modifying in_buf directly, we write the update out
to the disk when trimming is complete, and then the caller is
responsible for refreshing the in-memory buffer from the file.

This is still a bit sketchy because it does need to modify q->len in
order to notify the upper layers that something changed, and it could
end up telling upper layer code that the q->len is *bigger* than
the buffer (q->testcase_buf) that contains it, which is asking
for trouble down the line somewhere...

* Fix an unlikely situation

Put back some `unlikely()` calls that were in
the e9d2f72382cab75832721d859c3e731da071435d commit that was
reverted.
2021-05-07 00:14:16 +02:00