229 Commits

Author SHA1 Message Date
vanhauser-thc
819ad95f03 afl-showmap fix 2023-06-30 12:17:57 +02:00
vanhauser-thc
64b15a00f2 fix afl-cmin* for old afl vanilla issue 2023-06-21 12:20:10 +02:00
Nick Potenski
41b0fe7280
afl-showmap: Start a only a single fork server (#1718)
A forkserver is started by afl_fsrv_get_mapsize() when dynamically
finding the map size.  When an input directory option is specified a
second fork server was also started.  This commit re-arranges the inits
for several forkserver struct members so that we can re-use the server
started by the get_mapsize() call when not in coresight/qemu/unicorn
modes and just start the server otherwise.
2023-04-27 18:57:55 +02:00
vanhauser-thc
6cad585bdc nits 2023-04-27 18:57:28 +02:00
vanhauser-thc
d822181467 afl-cmin -T support 2023-04-25 13:13:43 +02:00
vanhauser-thc
8c228b0d23 afl-showmap -I option 2023-04-24 18:08:27 +02:00
vanhauser-thc
7a8d0a10ce add dummy functions to afl-showmap for old gcc compilers 2023-04-21 15:21:11 +02:00
vanhauser-thc
0a297ed9ef dummy function for afl-showmap 2023-04-21 15:09:35 +02:00
vanhauser-thc
4e5f42cab6 afl-showmap custom mutator support 2023-04-20 10:39:23 +02:00
vanhauser-thc
56f7e3aa08 hidden -Y option for nyx, code format 2023-04-16 12:42:32 +02:00
Sergej Schumilo
059d470e8d improved Nyx tmp dir handling (additional sanity checks) 2023-04-16 04:42:09 +02:00
Sergej Schumilo
eefd98f374 add Nyx support in various tools (like afl-cmin) 2023-04-14 02:25:33 +02:00
vanhauser-thc
30483919eb code format 2023-03-09 17:37:29 +01:00
vanhauser-thc
5221938945 various fixes 2023-03-09 17:36:13 +01:00
vanhauser-thc
f4a13585a1 better asan defaults everwhere 2023-01-26 12:21:47 +01:00
vanhauser-thc
1c91d8ca79 code format 2023-01-04 17:08:29 +01:00
vanhauser-thc
8d9620eca2 try afl-showmap fix for qemu 2023-01-04 10:21:35 +01:00
vanhauser-thc
35f09e11a4 welcome 2023 2023-01-03 09:38:07 +01:00
vanhauser-thc
96f05c7f69 fix fork server timeout in afl-showmap 2022-12-20 10:21:36 +01:00
vanhauser-thc
21372473a1 warn for -t none 2022-11-02 15:21:46 +01:00
van Hauser
a8c1ba0d59
Merge pull request #1570 from edmcman/showmap-timeout
Fix -t none in afl-showmap
2022-11-02 15:19:56 +01:00
Edward J. Schwartz
1bc7cf759d Use a long timeout instead of 0 for afl-showmap -t none 2022-11-02 08:30:24 -04:00
vanhauser-thc
c0eaf6f47a nits 2022-10-29 11:15:23 +02:00
vanhauser-thc
0b6007a49c fix fork server kill signals for qemu, unicorn and nyx mode 2022-10-29 10:00:36 +02:00
Edward J. Schwartz
2da6b6bf42 Add braces 2022-10-28 08:04:06 -04:00
Edward J. Schwartz
15a26d3303 Fix -t none in afl-showmap 2022-10-27 12:12:55 -04:00
vanhauser-thc
05e0825d66 changelog update 2022-10-24 20:06:57 +02:00
Nils Bars
2cbe49c6eb Update usage messages 2022-10-24 18:08:29 +02:00
Nils Bars
102b749c07 AFL_FORK_SERVER_KILL_SIGNAL backwards compatiblity
If `AFL_KILL_SIGNAL` is set, `AFL_FORK_SERVER_KILL_SIGNAL` is set
to the same value.
2022-10-24 17:54:03 +02:00
Nils Bars
7512316b46 Add AFL_FORK_SERVER_KILL_SIGNAL environment variable.
The AFL_FORK_SERVER_KILL_SIGNAL variable allows to configure the signal
used to kill the fork server on termination.
2022-10-21 12:47:00 +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
vanhauser-thc
ca9854a924 nits 2022-10-19 10:17:12 +02:00
vanhauser-thc
9a77a6fa92 nits 2022-10-19 08:50:17 +02:00
Edward J. Schwartz
23580e2cb6
Fix afl-showmap usage output (#1560) 2022-10-18 18:55:59 +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
08f44f4e5d code format 2022-09-10 19:09:32 +02:00
Eli Kobrin
47d5dbbead Fix. 2022-08-19 14:33:15 +03:00
Eli Kobrin
4ebde72f28 Change map size dummy value. 2022-08-19 14:33:15 +03:00
vanhauser-thc
b847e0f414 clang format 14 2022-07-12 09:04:54 +02:00
vanhauser-thc
1f4b45b5bf nit 2022-07-11 12:32:17 +02:00
vanhauser-thc
30736ab7d6 nit 2022-07-11 12:16:33 +02:00
vanhauser-thc
e1082f2548 welcome 2022 2022-01-01 00:49:17 +01:00
vanhauser-thc
8b8aaa93bd nyx code format 2021-12-28 17:26:54 +01:00
vanhauser-thc
9f911bf0bd cleanup of TIMES macro 2021-12-15 20:43:18 +01:00
vanhauser-thc
ca7144161f fixes 2021-12-02 10:41:24 +01:00
vanhauser-thc
1a8d3f82f2 fix afl-showmap 2021-11-16 13:01:02 +01:00
vanhauser-thc
268339a683 showmap -A -> -H, accurate help output 2021-11-16 11:03:53 +01:00
Akira Moroo
feff8191ec Fix platform check for -A CoreSight mode
Signed-off-by: Akira Moroo <retrage01@gmail.com>
2021-11-15 01:57:36 +00:00
Akira Moroo
c2feee4ed1 Add platform check for -A CoreSight mode
REF:
https://github.com/AFLplusplus/AFLplusplus/pull/1156#discussion_r747454306

Signed-off-by: Akira Moroo <retrage01@gmail.com>
2021-11-12 06:13:25 +00:00
Akira Moroo
cf0fd0ff33 Remove unnecessary mem_limit in afl-showmap
Signed-off-by: Akira Moroo <retrage01@gmail.com>
2021-11-12 06:13:25 +00:00