204 Commits

Author SHA1 Message Date
vanhauser-thc
affe7cf5b4 set errno=0 when no afl-fuzz present 2025-05-25 11:38:05 +02:00
vanhauser-thc
2573ccb66e flush stdout for AFL_DUMP_MAP_SIZE 2025-05-18 14:02:58 +02:00
vanhauser-thc
3ee3b5c384 code format 2025-05-17 00:05:31 +02:00
Dominik Maier
6dcd0aa089
Add env variable SHM_FUZZ_MAP_SIZE (#2430)
* Add env variable SHM_FUZZ_PAGE_SIZE to tell the forkserver about the max shm input size

* fix

* PAGE_SIZE->MAP_SIZE

* fix more nits

* More cleanup
2025-05-16 12:14:58 +02:00
vanhauser-thc
9e4449bad2 code format 2025-05-13 10:51:56 +02:00
mio
fca39a6ec3
implement AFL_GCC_ONLY_FSRV 2025-05-13 16:15:11 +08:00
mio
9476204da0
rename to AFL_LLVM_ONLY_FSRV 2025-05-13 15:45:33 +08:00
mio
f3995d5225
rename AFL_SAN_NO_INST to AFL_FSRV_ONLY 2025-05-12 14:43:08 +08:00
Alexandre DOYEN
320d4b7ef8 Requested changes 2025-05-05 11:03:26 +02:00
Alexandre DOYEN
4d984d6e2b getenv() call at the beginning of __afl_start_forkserver() 2025-05-05 10:44:34 +02:00
Alexandre DOYEN
a76ff5e798 Specific environment variable to choose if we want to be able to discriminate or not forkserver in preloaded libraries 2025-05-05 09:54:53 +02:00
Alexandre DOYEN
e9f49527e9 We check before if the AFL_PRELOAD env variable is set 2025-05-05 09:49:56 +02:00
Alexandre DOYEN
6f4767ea81 AFL_I_AM_THE_FORKSERVER becomes AFL_FORKSERVER_PARENT 2025-05-05 09:42:33 +02:00
Alexandre DOYEN
cd0cb1e731 Setting the AFL_I_AM_THE_FORKSERVER environment variable in the begining of the forkserver child process, and unsetting it when the target is launched 2025-05-04 11:36:01 +02:00
vanhauser-thc
e3ee26262f fix AFL_OLD_FORKSERVER 2025-04-25 13:42:19 +02:00
vanhauser-thc
1d3e885441 fix map size difference bug 2024-12-13 18:59:26 +01:00
vanhauser-thc
9160805f4a add __sanitizer_weak_hook_ support 2024-12-12 15:26:39 +01:00
vanhauser-thc
d1fd072b79 fix 2024-10-30 10:55:44 +01:00
vanhauser-thc
577b286508 fix explanation how to obtain the map size 2024-10-28 09:53:01 +01:00
dergoegge
1efb7c8a8b Make __AFL_COVERAGE_START_OFF work for targets with "small" maps 2024-10-25 11:37:55 +01:00
vanhauser-thc
6edc3b51ba fix AFL_OLD_FORKSERVER 2024-08-18 16:06:57 +02:00
vanhauser-thc
bbcb3dd53e mini performance opt 2024-07-17 13:01:39 +02:00
van Hauser
43f462c91b
Merge pull request #2138 from meowmeowxw/ijon-set
IJON SET
2024-07-10 13:51:08 +02:00
Giovanni Di Santi
77bad3ad23 ijon set: use __afl_coverage_interesting 2024-07-10 10:16:14 +02:00
Giovanni Di Santi
8fbeeb1439 ijon set: discard source code instrumentation 2024-06-30 15:50:37 +02:00
Giovanni Di Santi
a161aac7c1 ijon set: init 2024-06-29 22:05:22 +02:00
vanhauser-thc
50ae95cee4 add AFL_OLD_FORKSERVER feature 2024-06-29 16:31:08 +02:00
vanhauser-thc
0c81982e67 nit 2024-06-09 18:32:36 +02:00
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