39 Commits

Author SHA1 Message Date
van Hauser
9dff3495d5 better cmp map fsrv fix 2021-01-20 10:01:34 +01:00
Dominik Maier
a422fcaa40 fixed minor inconsistencies, reenabled warnings 2020-08-10 19:04:51 +02:00
van Hauser
60a5df5262 code-format and slight -S/-M modifications 2020-05-13 16:49:00 +02:00
rish9101
9627458ecc Add post library API as custom mutator and rename pre_save 2020-05-13 18:59:12 +05:30
Dominik Maier
8197e9b2e4
clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
Dominik Maier
b10007a7b5 renamed duplicated func names 2020-04-16 15:32:04 +02:00
Dominik Maier
6dc36f1e6e unified forkservered run_target, fixes #308 2020-04-14 19:27:25 +02:00
Andrea Fioraldi
033c743a41 fix all cmplog errors 2020-04-13 11:37:48 +02:00
van Hauser
32ba60185e more refactoring and update changelog 2020-04-11 08:02:54 +02:00
van Hauser
68f269437d
Autodictionary (#309)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo

* better map transfer, display snapshot in UI

* update readme
2020-04-11 07:32:42 +02:00
Dominik Maier
29ee3a1ffc refactored cmplog 2020-04-11 01:09:07 +02:00
van Hauser
3a509c6168
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo
2020-04-10 22:33:11 +02:00
Dominik Maier
f0f83bab52 resize fix + code format 2020-04-10 17:47:22 +02:00
hexcoder-
6aa6af04ac files opened with fdopen should be closed with fclose 2020-04-10 16:45:45 +02:00
Dominik Maier
5a4d4ad736 fixed bug in cmplog 2020-04-01 13:10:07 +02:00
Dominik Maier
452067ffca added read_timed 2020-04-01 13:10:06 +02:00
Dominik Maier
9785b15ed2 more custom mutator remodelling 2020-04-01 13:10:05 +02:00
Dominik Maier
54d01fec43 moved string formatting to header 2020-03-21 21:48:52 +01:00
Dominik Maier
5b9d306cdf no more (?) statics 2020-03-19 22:54:09 +01:00
Dominik Maier
b6fa63abdf code format 2020-03-19 19:23:58 +01:00
Dominik Maier
51a346bcbe 50% less globals 2020-03-19 19:22:57 +01:00
rish9101
d1d2fceed8 Port the fauxserver changes to afl-cmplog and code format 2020-03-17 15:19:24 +05:30
Rishi Ranjan
126d1f1cd1
Move afl-fuzz related env variables into afl_state_t (#252)
* Move afl-fuzz related env variables into afl_state_t

* Move the env variables assignment from fuzz_init and code Format

* Fix typo

* Remove redundant env variables from afl_env struct

* Rename function to read_afl_environment
2020-03-15 18:29:23 +01:00
hexcoder-
c616fcafe8 fix some compiler warnings from Open/FreeBSD 2020-03-14 11:44:21 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
Rishi Ranjan
cd377f3d99
Replace alarms with select and threads (#243)
* Use select to monitor forkserver for timeouts instead of alarm

* Remove redundent conditons in select monitoring of fdsin forkserver and cmplog

* Replace SIGALARM with POSIX timers in afl-fuzz-run

* Make changes to Makefile to use POSIX timers

* Resolve Merge Conflicts and rename variables accordingly

* Change forkserver and cmplog to handle exec_tmout = 0

* Handle timeout function bug rectify

* Add error handling to afl-fuzz run timers

* Add timer_delete to afl-fuzz-run

* Remove memory leaks
2020-03-10 13:07:29 +01:00
van Hauser
38d9aedb26 code-format - and afl-cmin/afl-showmap was fixed in the bugfix for afl-tmin 2020-03-10 06:54:31 +01:00
Dominik Maier
1136e887bd now wiht 90% less leaks 2020-03-09 21:34:11 +01:00
van Hauser
988a32ced5 code-format 2020-03-09 12:21:54 +01:00
Dominik Maier
dba3595c0a
AFL without globals (#220)
* moved globals to afl, shm and fsrv 

* moved argv to afl state, less bugs

* fixed unicorn docu

* lists everywhere

* merged custom mutators

* fixed leaks in afl-fuzz
2020-03-09 11:24:10 +01:00
van Hauser
95322c11d9 print OKF if an environment variable is successfully loaded - feebdack to this please ... 2020-02-29 20:49:16 +01:00
Andrea Fioraldi
aa2cb66ea2 code format 2020-02-07 20:44:36 +01:00
Andrea Fioraldi
f2f6be5e99 afl qemu persistent hook 2020-02-07 20:43:17 +01:00
Andrea Fioraldi
e5972efa41 cmplog for qemu mode 2020-02-06 21:43:50 +01:00
van Hauser
542bea37fb fix MDs 2020-02-03 16:10:16 +01:00
Andrea Fioraldi
4384008f81 AFL_ALIGNED_ALLOC in libdislocator 2020-02-01 19:12:26 +01:00
Andrea Fioraldi
95a98fb3e8 cmplog runtime for LLVM 2020-01-30 22:40:09 +01:00
Andrea Fioraldi
b6c5974b37 format 2020-01-17 16:41:30 +01:00
Andrea Fioraldi
55e9297202 first experiment cmplog 2020-01-17 16:39:05 +01:00