176 Commits

Author SHA1 Message Date
Christian Holler (:decoder)
bf17953353 Code formating 2024-03-06 10:50:29 +01:00
Christian Holler (:decoder)
e46fac6063 Fix delayed pcmap writing for code coverage with pc-table 2024-03-06 10:19:52 +01:00
van Hauser
48070e0148
Merge branch '420' into dev 2024-02-08 14:51:13 +01:00
van Hauser
42c663e7c7
Merge pull request #1965 from CodeLinaro/stateful
replay mode support
2024-02-08 10:29:33 +01:00
Davide Quarta
e405e721fa reuse first_pass aux var in persistent loop for record replay mode, keep area ptr and loc logic intact in record replay mode, move replay record example to own dir in utils, update docs, move record compat layer to separate header file 2024-02-06 18:19:52 +01:00
Davide Quarta
023fc19ce0 better replay mode error handling, added replay mode documentation, code formatting 2024-02-05 18:26:46 +01:00
vanhauser-thc
34a3060b0f config __afl_cmplog_max_len 2024-02-04 16:08:57 +01:00
vanhauser-thc
c77709cdd9 add U256/32byte support 2024-02-04 16:03:12 +01:00
vanhauser-thc
27338fcef1 new forkserver - client side 2024-02-03 18:27:01 +01:00
vanhauser-thc
ed1a6f8a57 2024 v4.10c release 2024-02-03 11:01:31 +01:00
Christian Holler (:decoder)
58b80b68bc
Dynamic instrumentation filtering for LLVM native (#1971)
* Add two dynamic instrumentation filter methods to runtime

* Always use pc-table with native pcguard

* Add make_symbol_list.py and README
2024-01-26 14:46:56 +00:00
Davide Quarta
8fedf49984 replay mode support 2024-01-23 19:36:49 +01:00
vanhauser-thc
1eb54c4c3e finish injection implementation 2023-12-30 10:49:00 +01:00
vanhauser-thc
1fc1b32db2 initial simple injection detection support 2023-12-27 13:53:11 +01:00
vanhauser-thc
d02036adfd fix 2023-12-01 07:20:00 +01:00
vanhauser-thc
74f8ca6b46 improve cmplog 2023-11-28 10:26:37 +01:00
van Hauser
8c1f25b757
Merge pull request #1904 from jasperla/nosyscall
Use direct call to write to OpenBSD
2023-11-11 19:12:52 +01:00
Jasper Lievisse Adriaanse
cfbf1209b5 Use direct call to write to OpenBSD
The linker on OpenBSD emits a warning when linking this file:
warning: syscall() may go away, please rewrite code to use direct calls
2023-11-09 10:15:14 +00:00
vanhauser-thc
2230f88887 add --help/--version/... 2023-11-03 11:19:14 +01:00
vanhauser-thc
d97c7e4258 nits 2023-10-03 11:14:59 +02:00
toka
d9462657a8 urandom 2023-10-02 15:02:24 +02:00
toka
efae28f27c typo 2023-10-01 18:20:50 +02:00
vanhauser-thc
127c345161 nts 2023-07-13 14:26:32 +02:00
vanhauser-thc
029e039cbc code format 2023-05-21 17:49:14 +02:00
vanhauser-thc
5813a4319c doc, code format 2023-04-28 11:42:21 +02:00
Christian Holler (:decoder)
e956f23a77
Source Code Coverage support for Nyx (Part 1) (#1720)
* Additional source code reformatting in afl-compiler-rt

* Add source code coverage support to afl-compiler-rt (for use with Nyx)
2023-04-28 11:35:22 +02:00
vanhauser-thc
21865c6224 rename env to AFL_IGNORE_PROBLEMS_COVERAGE 2023-04-25 16:47:37 +02:00
Christian Holler (:decoder)
f94a7e8890 Add env var to ignore coverage from dynamically loaded code after forkserver.
When using TRACEPC instrumentation, loading code dynamically (e.g.
through dlopen()) it can be useful to completely ignore the loaded code,
esp. when it cannot be preloaded and is not the target to be tested.
This patch allows setting AFL_LLVM_IGNORE_PROBLEMS_COVERAGE=1 to do so.
2023-04-25 16:27:25 +02:00
vanhauser-thc
120d009e7d wasm support 2023-04-15 11:36:58 +02:00
vanhauser-thc
be96253f52 nits 2023-03-31 11:02:27 +02:00
vanhauser-thc
5221938945 various fixes 2023-03-09 17:36:13 +01:00
vanhauser-thc
e6a05382b8 fix IGNORE_PROBLEMS and update qemuafl 2023-03-06 09:59:52 +01:00
vanhauser-thc
dbfa23b40a fixes 2023-02-06 16:38:52 +01:00
vanhauser-thc
25b4b32627 small fix to compiler rt 2023-02-02 12:13:48 +01:00
vanhauser-thc
4946e9cc3a small fix to compiler rt 2023-02-02 12:08:45 +01:00
vanhauser-thc
c5a84a124c fixes 2023-01-25 13:33:17 +01:00
vanhauser-thc
0251b9bfd8 llvm15 pcguard_init earlier constructor 2023-01-24 14:56:14 +01:00
vanhauser-thc
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
vanhauser-thc
dfc6d0fbf7 nits 2022-11-10 14:49:14 +01:00
van Hauser
c24939e812
Merge pull request #1576 from AFLplusplus/persistent_mode_always
Persistent mode always
2022-11-10 14:46:01 +01:00
Dominik Maier
d65cf10bad Always enable persistent mode, no env/bincheck needed 2022-11-09 03:28:06 +01:00
vanhauser-thc
05e0825d66 changelog update 2022-10-24 20:06:57 +02:00
Nils Bars
f84ea69660 Fix child reaping on fuzzer termination
This commit contains the following changes:
    - Call `waitpid()` on the child and the fork server when terminating the
      fuzzer; thus, we do not end up with zombies.
    - Rename `fsrv.kill_signal` to `fsrv.child_kill_signal`, since the
      documentation states that the signal is used to terminate the *child*.
    - Use SIGTERM instead of fsrv.(child)_kill_signal, thus the fork server
      can always reap the child.
2022-10-20 18:08:07 +02:00
van Hauser
2107ece114
auto shmem fuzzing (#1541)
* auto shmem fuzzing

* print warning when forcing shmem fuzzing

* typos

* Shmem always

* typo fix

* fixes

Co-authored-by: Dominik Maier <dmnk@google.com>
2022-10-07 15:40:04 +02:00
vanhauser-thc
3c21e9f0d1 another attempt at stand-alone map fix 2022-09-27 15:51:16 +02:00
vanhauser-thc
1ce0dcac3f fix standalone running with shared libs 2022-09-26 11:55:03 +02:00
vanhauser-thc
ba14c353c0 get map size from binaries within afl-cmin* 2022-08-15 18:31:45 +02:00
vanhauser-thc
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
vanhauser-thc
35d49c7c5c fix 2022-06-08 12:46:08 +02:00
vanhauser-thc
83f32c5248 honor AFL_MAP_SIZE well outside of afl++ 2022-06-08 10:56:11 +02:00