161 Commits

Author SHA1 Message Date
vanhauser-thc
72ca9b4684 fix a few cur_time uses 2021-05-11 22:06:37 +02:00
vanhauser-thc
50af4654e3 code-format 2021-05-10 13:46:31 +02:00
vanhauser-thc
ceb138cefe afl-plot: relative time 2021-05-10 10:31:11 +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
vanhauser-thc
56882f3a49 fix statsd writing 2021-04-30 13:44:59 +02:00
hexcoder-
495cbd42b7 reworked formatting in order to avoid gcc 8.3.0 warnings 2021-04-16 21:57:44 +02:00
vanhauser-thc
e41d1183cc fix nits 2021-04-16 00:41:32 +02:00
vanhauser-thc
b815c32f0e fix ui 2021-04-15 12:22:05 +02:00
vanhauser-thc
cd40fa1745 fix warnings 2021-04-15 11:04:39 +02:00
vanhauser-thc
ab0f13ed06 fix writing stat file on exit 2021-04-15 00:11:32 +02:00
vanhauser-thc
5e72568a45 ui update 2021-04-14 17:52:43 +02:00
vanhauser-thc
50bb931ea6 ui custom mutator only display 2021-04-13 11:26:27 +02:00
vanhauser-thc
0c06371cda display dictionary usage in havoc only mode 2021-04-13 11:16:12 +02:00
vanhauser-thc
c19d1f0c75 update grammar-mutator, show better fuzzing strategy yields 2021-04-09 12:22:16 +02:00
vanhauser-thc
84534ae2e8 format 2021-03-21 16:23:08 +01:00
richinseattle@gmail.com
7e67a735e6 update plot_data timestamps to be relative 2021-03-19 14:25:55 -07:00
Dominik Maier
d32b1d6b0c unique crashes yellow on resume (#801) 2021-03-12 03:46:50 +01:00
Dominik Maier
16e3e2a7f7 implemented #801 2021-03-11 01:39:21 +01:00
vanhauser-thc
ee0ca07f3c changing the -t ...+ meaning to "auto-calculate buth this is the max" 2021-02-25 12:19:46 +01:00
Andrea Fioraldi
6c9777de13 edges in afl-plot 2021-02-25 10:42:39 +01:00
Andrea Fioraldi
047f3436e9 edges in plot file 2021-02-24 21:29:00 +01:00
vj-27
96cdc97c98 prev_run_time loaded used only for ui and when writing the stats file 2021-02-07 03:33:47 +05:30
vj-27
f54c4dbfdb set prev_run_time inside afl state 2021-02-06 09:41:15 +00:00
vj-27
1a8c242d28 load run time and donot load pending_* or *_favoured 2021-02-05 19:46:24 +00:00
vj-27
6f163bb0c5 load existing stats file when in AFL_AUTORESUME or -i - 2021-02-05 00:26:23 +00:00
aflpp
e5116c6d55 fix -Z, remove q->next 2021-01-31 17:29:37 +01:00
van Hauser
b850951c72 code format and not setting sanitizers if debug and settings present 2021-01-21 17:15:14 +01:00
Joey Jiao
0306261fec Fix build error for Android
- LTO not work yet
2021-01-20 15:46:39 +08:00
van Hauser
6c095b3937 code format 2021-01-04 23:13:56 +01:00
hexcoder-
c6e038fe25 code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.) 2021-01-04 20:40:53 +01:00
van Hauser
7e6645d5a2 float2double 2020-12-31 11:51:10 +01:00
van Hauser
0b9ca807f2 fix exec/s display 2020-12-26 13:15:05 +01:00
van Hauser
fd6bff727a fix crash for very fast targets 2020-12-17 22:57:28 +01:00
van Hauser
b5686eb63e fixes two huge bugs 2020-10-29 00:05:28 +01:00
Ruben ten Hove
587f66f1b3
whoops.. 2020-10-28 15:42:07 +01:00
Ruben ten Hove
0b9b4adbd3
show supplied -t option so we know it's used 2020-10-28 14:03:01 +01:00
van Hauser
0e748ccda7 set max testcache entries automated if not specified by the user 2020-10-23 14:05:34 +02:00
van Hauser
fcea01a8ea add eviction stat 2020-10-17 11:38:55 +02:00
van Hauser
56ac3fcdc5
configurable testcache with malloc (#581)
* cache item number to cache memory size

* reload testcase if trimming changed the size

* fix splicing selection

* slim splicing

* import sync fix

* write testcache stats to fuzzer_stats

* fix new seed selection algo

* malloc+read instead of mmap

* fix

* testcache is configurable now and no reference counts

* fixes compilation, test script

* fixes

* switch TEST_CC to afl-cc in makefile

* code format

* fix

* fix crash

* fix crash

* fix env help output

* remove unnecessary pointer resets

* fix endless loop bug

* actually use the cache if set

* one more fix

* increase default cache entries, add default cache size value to config.h

Co-authored-by: hexcoder- <heiko@hexco.de>
2020-10-14 15:30:30 +02:00
van Hauser
5dc3bc175b fix typo 2020-10-10 10:41:30 +02:00
van Hauser
c075003bd2
Merge pull request #571 from Edznux/statsd_implem
Statsd support implementation
2020-10-10 10:36:48 +02:00
Edznux
4cb4772e2a
Remove ==1 in the condition 2020-10-09 18:58:27 +02:00
Edznux
0220a8ff66
Add env var toggle for StatsD 2020-10-08 20:48:46 +02:00
Dominik Maier
fd4efd04a1 fixed gcc 10 warning 2020-10-05 23:07:22 +02:00
Edznux
1a12db1b59
Code format 2020-10-04 16:11:05 +02:00
Edznux
1e0bc2e5c3
Merge remote-tracking branch 'origin/dev' into statsd_implem 2020-10-04 16:03:15 +02:00
Edznux
ca6106a1dc
Refactor 2020-10-04 14:24:25 +02:00
Edznux
6006cce0cf
Define config, change parent func to show_stats 2020-10-04 03:24:09 +02:00
van Hauser
6404abd7d6 bugfix for fixed seeds 2020-09-07 17:30:28 +02:00